webengine/osswebengine/WebKit/s60/plugins/PluginSkin.h
branchRCL_3
changeset 47 e1bea15f9a39
parent 46 30342f40acbf
child 48 79859ed3eea9
--- a/webengine/osswebengine/WebKit/s60/plugins/PluginSkin.h	Thu Jul 15 19:53:20 2010 +0300
+++ b/webengine/osswebengine/WebKit/s60/plugins/PluginSkin.h	Thu Aug 19 10:58:56 2010 +0300
@@ -201,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".
@@ -417,8 +429,6 @@
         void setElement(WebCore::Element* aElement) {m_element = aElement;}
         void reCreatePlugin();
         TInt activeStreams() { return m_streams.size(); }
-        TPluginLoadMode getLoadMode(){return m_loadmode;}
-        void setLoadMode(TPluginLoadMode mode){m_loadmode = mode;}
         void NotifyPluginsForScrollOrPinch(bool status);
   public:  // from MMemoryCollector
         TUint Collect(unsigned int aRequired);
@@ -437,6 +447,9 @@
             return iGenericElementArray;
         }
         void setPluginWinClipedRect();
+        TBool isFlashPlugin(){
+          return m_flashContent;
+        }
         TBool IsCollectBitmapSupported();
         WebFrame* getWebFrame() const {return m_frame;}
         void activateVisiblePlugins();
@@ -484,7 +497,6 @@
         RArray<NPN_GenericElement>*  iGenericElementArray;
         TRect   m_oldRect;
         TRect    m_oldViewport;
-        TPluginLoadMode m_loadmode;
         NPObject* m_NPObject;
         
 public: