webengine/osswebengine/WebKit/s60/webview/WebFrame.cpp
branchRCL_3
changeset 44 800203832575
parent 42 a1a5d4e727e8
child 47 e1bea15f9a39
--- 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<PluginSkin*> pluginObjs = plghandler->pluginObjects();
-    for(WTF::HashSet<PluginSkin*>::iterator it = pluginObjs.begin() ;  it != pluginObjs.end() ; ++it ) {
-        static_cast<PluginSkin*> (*it)->PlayPauseNotify(pause);
-    }
+       WTF::HashSet<PluginSkin*> pluginObjs = plghandler->pluginObjects();
+       for(WTF::HashSet<PluginSkin*>::iterator it = pluginObjs.begin() ;  it != pluginObjs.end() ; ++it )
+           {
+           PluginSkin* plg = static_cast<PluginSkin*> (*it);
+           WebFrame* plgWebFrame = plg->getWebFrame();
+           CBrCtl*   plbrCtl = control(plg->frame());
+           CBrCtl*   pgbrCtl = control(this);
+
+           if(plbrCtl == pgbrCtl)
+               {
+               plg->NotifyPluginsForScrollOrPinch(status);
+               }
+       }
+
+
 }
 
 void WebFrame::reCreatePlugins()