--- a/webengine/osswebengine/WebKit/s60/plugins/PluginWin.h Tue Aug 31 16:17:46 2010 +0300
+++ b/webengine/osswebengine/WebKit/s60/plugins/PluginWin.h Wed Sep 01 12:28:30 2010 +0100
@@ -23,9 +23,10 @@
// INCLUDES
#include <e32def.h>
#include <coecntrl.h>
-#include <PluginAdapterInterface.h>
+#include <pluginadapterinterface.h>
#include <npapi.h>
#include <rt_gesturehelper.h>
+#include <stmgestureinterface.h>
// FORWARD DECLARATIONS
class PluginSkin;
@@ -478,8 +479,18 @@
void ToggleScreenMode(bool aFullScreen);
void PlayPausePluginL ();
void HandlePointerEventFromPluginL(const TPointerEvent& aEvent);
- TBool HandleGesture(const RT_GestureHelper::TGestureEvent& aEvent);
+ TBool HandleGesture(const TStmGestureEvent& aEvent);
TBool Windowed() { return m_windowedPlugin;}
+ bool containsPoint(WebView& view, const TPoint& pt);
+ void SetBitmapFromPlugin(TInt aHandle);
+ TBool IsPluginFocused() {return m_pluginfocus; }
+ TBool IsPluginBitMapSet() {return m_pluginHasBitmap; }
+ CFbsBitmap* PluginBitmap() {return m_pausedBitmap; }
+ void GetBitmapFromPlugin (bool status);
+ void ClearPluginBitmap();
+ TBool IsCollectBitmapSupported();
+ void drawBitmapToWebCoreContext();
+ void notifyAPChange(void* ap);
protected: // New functions
/**
@@ -505,6 +516,11 @@
bool m_fullscreen;
bool m_windowCreated;
bool m_forceScroll;
+ bool m_visibilty;
+ CFbsBitmap* m_pausedBitmap; //Plugin paused Bitmap
+ bool m_pluginHasBitmap;
+ bool m_BitmapSupported;
+ bool m_PluginInvisibleOnPinchZoom;
};