diff -r a1a5d4e727e8 -r 800203832575 webengine/osswebengine/WebKit/s60/webview/WebFrame.cpp --- a/webengine/osswebengine/WebKit/s60/webview/WebFrame.cpp Wed Jun 09 10:52:50 2010 +0300 +++ b/webengine/osswebengine/WebKit/s60/webview/WebFrame.cpp Mon Jun 21 16:54:17 2010 +0300 @@ -583,13 +583,24 @@ return 0; } -void WebFrame::PlayPausePlugins(bool pause) +void WebFrame::ScrollOrPinchStatus(bool status) { PluginHandler* plghandler = StaticObjectsContainer::instance()->pluginHandler(); - WTF::HashSet pluginObjs = plghandler->pluginObjects(); - for(WTF::HashSet::iterator it = pluginObjs.begin() ; it != pluginObjs.end() ; ++it ) { - static_cast (*it)->PlayPauseNotify(pause); - } + WTF::HashSet pluginObjs = plghandler->pluginObjects(); + for(WTF::HashSet::iterator it = pluginObjs.begin() ; it != pluginObjs.end() ; ++it ) + { + PluginSkin* plg = static_cast (*it); + WebFrame* plgWebFrame = plg->getWebFrame(); + CBrCtl* plbrCtl = control(plg->frame()); + CBrCtl* pgbrCtl = control(this); + + if(plbrCtl == pgbrCtl) + { + plg->NotifyPluginsForScrollOrPinch(status); + } + } + + } void WebFrame::reCreatePlugins()