webengine/osswebengine/WebKit/s60/plugins/PluginWin.h
branchRCL_3
changeset 44 800203832575
parent 42 a1a5d4e727e8
child 47 e1bea15f9a39
equal deleted inserted replaced
42:a1a5d4e727e8 44:800203832575
   475     */
   475     */
   476     HBufC8* PluginDataUrl();
   476     HBufC8* PluginDataUrl();
   477     
   477     
   478     
   478     
   479     void ToggleScreenMode(bool aFullScreen);
   479     void ToggleScreenMode(bool aFullScreen);
   480     void PlayPausePluginL (bool pause);
   480     void PlayPausePluginL ();
   481     void HandlePointerEventFromPluginL(const TPointerEvent& aEvent);
   481     void HandlePointerEventFromPluginL(const TPointerEvent& aEvent);
   482     TBool HandleGesture(const TStmGestureEvent& aEvent);    
   482     TBool HandleGesture(const TStmGestureEvent& aEvent);    
   483 	TBool Windowed() { return m_windowedPlugin;}
   483 	TBool Windowed() { return m_windowedPlugin;}
   484 	bool containsPoint(WebView& view, const TPoint& pt);
   484 	bool containsPoint(WebView& view, const TPoint& pt);
       
   485 	void SetBitmapFromPlugin(TInt aHandle);
       
   486 	TBool IsPluginFocused() {return m_pluginfocus; }
       
   487 	TBool IsPluginBitMapSet() {return m_pluginHasBitmap; }
       
   488 	CFbsBitmap* PluginBitmap() {return m_pausedBitmap; }
       
   489 	void GetBitmapFromPlugin (bool status);
       
   490 	void ClearPluginBitmap();
       
   491 	TBool IsCollectBitmapSupported();
       
   492 	void drawBitmapToWebCoreContext();
   485     protected: // New functions
   493     protected: // New functions
   486 
   494 
   487         /**
   495         /**
   488         * C++ default constructor.
   496         * C++ default constructor.
   489         *
   497         *
   506         CFbsBitmap*                         m_bitmap;       //The bitmap for windowless plugin
   514         CFbsBitmap*                         m_bitmap;       //The bitmap for windowless plugin
   507         bool                                m_fullscreen;
   515         bool                                m_fullscreen;
   508         bool                                m_windowCreated;
   516         bool                                m_windowCreated;
   509         bool                                m_forceScroll;
   517         bool                                m_forceScroll;
   510         bool                                m_visibilty;
   518         bool                                m_visibilty;
       
   519         CFbsBitmap*                         m_pausedBitmap;       //Plugin paused Bitmap
       
   520         bool                                m_pluginHasBitmap;
       
   521         bool                                m_BitmapSupported;
   511     };
   522     };
   512 
   523 
   513 
   524 
   514 #endif      // PluginWin_H
   525 #endif      // PluginWin_H
   515 
   526