webengine/osswebengine/webkit/s60/webview/WebPagePinchZoomHandler.cpp
branchRCL_3
changeset 35 1f3c3f2f5b0a
parent 28 d39add9822e2
child 37 ac77f89b1d9e
--- a/webengine/osswebengine/webkit/s60/webview/WebPagePinchZoomHandler.cpp	Fri Mar 12 15:48:51 2010 +0200
+++ b/webengine/osswebengine/webkit/s60/webview/WebPagePinchZoomHandler.cpp	Mon Mar 15 12:44:50 2010 +0200
@@ -20,7 +20,7 @@
 #include <../bidi.h>
 #include "WebPagePinchZoomHandler.h"
 #include "WebView.h"
-
+#include "PluginSkin.h"
 
 const int KBitmapUpdateTimeout  = 100*1000;
 const int KPinchExitWaitTimeout = 300*1000;
@@ -209,6 +209,13 @@
 {
     m_bitmapUpdateTimer->Cancel();
     m_webView->restoreZoomLevel(m_webView->scalingFactor());
+    //update the plugin rect after pinch zoom exit
+    PluginSkin* pluginskin = m_webView->mainFrame()->focusedPlugin();
+    if(pluginskin)
+     {
+        pluginskin->setPluginWinClipedRect(); 
+     }
+
 }
 
 // -----------------------------------------------------------------------------