webengine/osswebengine/WebKit/s60/plugins/PluginWin.h
changeset 1 7c90e6132015
parent 0 dd21522fd290
child 5 10e98eab6f85
equal deleted inserted replaced
0:dd21522fd290 1:7c90e6132015
    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 
    29 
    29 // FORWARD DECLARATIONS
    30 // FORWARD DECLARATIONS
    30 class PluginSkin;
    31 class PluginSkin;
    31 class PluginHandler;
    32 class PluginHandler;
    32 class PluginStream;
    33 class PluginStream;
   352         * Deactivate plugin on plugin request
   353         * Deactivate plugin on plugin request
   353         * @since 3.1
   354         * @since 3.1
   354         * @return
   355         * @return
   355         */
   356         */
   356         void pluginDeactivate();        
   357         void pluginDeactivate();        
   357         
   358         /**
       
   359         * zoom on double tap on the plugin
       
   360         * Sets the cursor poistion
       
   361         * @return
       
   362         */
       
   363         void adaptiveZoom(const TPoint& aCurPosition);
   358 
   364 
   359 public: // Functions from MPluginAdapter
   365 public: // Functions from MPluginAdapter
   360 
   366 
   361     /**
   367     /**
   362     * Gets the pointer to the minor version number of the plug-in version
   368     * Gets the pointer to the minor version number of the plug-in version
   481     */
   487     */
   482     HBufC8* PluginDataUrl();
   488     HBufC8* PluginDataUrl();
   483     
   489     
   484     
   490     
   485     void TogleScreenMode(bool aFullScreen);
   491     void TogleScreenMode(bool aFullScreen);
       
   492     void PlayPausePluginL ();
       
   493     void HandlePointerEventFromPluginL(const TPointerEvent& aEvent);
       
   494     TBool HandleGesture(const RT_GestureHelper::TGestureEvent& aEvent);    
   486     protected: // New functions
   495     protected: // New functions
   487 
   496 
   488         /**
   497         /**
   489         * C++ default constructor.
   498         * C++ default constructor.
   490         *
   499         *