equal
deleted
inserted
replaced
21 #define PlUGINWIN_H |
21 #define PlUGINWIN_H |
22 |
22 |
23 // INCLUDES |
23 // INCLUDES |
24 #include <e32def.h> |
24 #include <e32def.h> |
25 #include <coecntrl.h> |
25 #include <coecntrl.h> |
26 #include <pluginadapterinterface.h> |
26 #include <PluginAdapterInterface.h> |
27 #include <npapi.h> |
27 #include <npapi.h> |
28 #include <rt_gesturehelper.h> |
28 #include <rt_gesturehelper.h> |
29 #include <stmgestureinterface.h> |
|
30 |
29 |
31 // FORWARD DECLARATIONS |
30 // FORWARD DECLARATIONS |
32 class PluginSkin; |
31 class PluginSkin; |
33 class PluginHandler; |
32 class PluginHandler; |
34 class PluginStream; |
33 class PluginStream; |
477 |
476 |
478 |
477 |
479 void ToggleScreenMode(bool aFullScreen); |
478 void ToggleScreenMode(bool aFullScreen); |
480 void PlayPausePluginL (); |
479 void PlayPausePluginL (); |
481 void HandlePointerEventFromPluginL(const TPointerEvent& aEvent); |
480 void HandlePointerEventFromPluginL(const TPointerEvent& aEvent); |
482 TBool HandleGesture(const TStmGestureEvent& aEvent); |
481 TBool HandleGesture(const RT_GestureHelper::TGestureEvent& aEvent); |
483 TBool Windowed() { return m_windowedPlugin;} |
482 TBool Windowed() { return m_windowedPlugin;} |
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(); |
|
493 void notifyAPChange(void* ap); |
|
494 protected: // New functions |
483 protected: // New functions |
495 |
484 |
496 /** |
485 /** |
497 * C++ default constructor. |
486 * C++ default constructor. |
498 * |
487 * |
514 bool m_transparentPlugin; |
503 bool m_transparentPlugin; |
515 CFbsBitmap* m_bitmap; //The bitmap for windowless plugin |
504 CFbsBitmap* m_bitmap; //The bitmap for windowless plugin |
516 bool m_fullscreen; |
505 bool m_fullscreen; |
517 bool m_windowCreated; |
506 bool m_windowCreated; |
518 bool m_forceScroll; |
507 bool m_forceScroll; |
519 bool m_visibilty; |
|
520 CFbsBitmap* m_pausedBitmap; //Plugin paused Bitmap |
|
521 bool m_pluginHasBitmap; |
|
522 bool m_BitmapSupported; |
|
523 bool m_PluginInvisibleOnPinchZoom; |
|
524 }; |
508 }; |
525 |
509 |
526 |
510 |
527 #endif // PluginWin_H |
511 #endif // PluginWin_H |
528 |
512 |