--- a/webengine/osswebengine/WebKit/s60/plugins/PluginSkin.h Tue Aug 31 16:17:46 2010 +0300
+++ b/webengine/osswebengine/WebKit/s60/plugins/PluginSkin.h Wed Sep 01 12:28:30 2010 +0100
@@ -31,7 +31,8 @@
#include "WebFrame.h"
#include "WebFrameView.h"
#include "WebView.h"
-#include "MemoryManager.h"
+#include <MemoryManager.h>
+#include <npruntime.h>
//#include <Element.h>
// FORWARD DECLARATIONS
@@ -200,6 +201,18 @@
TBool isBrowserScheme(const TPtrC8& url);
/**
+ * HandleLosingForeground
+ * Handles losing Foreground event
+ */
+ void HandleLosingForeground();
+
+ /**
+ * HandleLosingForeground
+ * Handles Gaining Foreground event
+ */
+ void HandleGainingForeground();
+
+ /**
*
* GetLoadMode
* Returns the load mode associated with the "window-type".
@@ -414,7 +427,9 @@
TInt handleNetworkAccess() const;
WebCore::Element* getElement() {return m_element;}
void setElement(WebCore::Element* aElement) {m_element = aElement;}
-
+ void reCreatePlugin();
+ TInt activeStreams() { return m_streams.size(); }
+ void NotifyPluginsForScrollOrPinch(bool status);
public: // from MMemoryCollector
TUint Collect(unsigned int aRequired);
void Restore() {}
@@ -431,8 +446,16 @@
RArray<NPN_GenericElement>* genericElementArray(){
return iGenericElementArray;
}
+ void setPluginWinClipedRect();
+ TBool isFlashPlugin(){
+ return m_flashContent;
+ }
+ TBool IsCollectBitmapSupported();
+ WebFrame* getWebFrame() const {return m_frame;}
+ void activateVisiblePlugins();
+
private: // private member data
- void setPluginWinClipedRect();
+
TRect frameVisibleRect() const;
void Close();
@@ -474,8 +497,8 @@
RArray<NPN_GenericElement>* iGenericElementArray;
TRect m_oldRect;
TRect m_oldViewport;
+ NPObject* m_NPObject;
-
public:
TInt m_handle;
NPP m_instance;