webengine/osswebengine/WebKit/s60/webview/WebView.h
branchRCL_3
changeset 64 ac77f89b1d9e
parent 62 c711bdda59f4
child 67 4917f9bf7995
equal deleted inserted replaced
62:c711bdda59f4 64:ac77f89b1d9e
    66 class WebPointerEventHandler;
    66 class WebPointerEventHandler;
    67 class WebPageFullScreenHandler;
    67 class WebPageFullScreenHandler;
    68 class WebFrameView;
    68 class WebFrameView;
    69 class WebFrameBridge;
    69 class WebFrameBridge;
    70 class WebPagePinchZoomHandler;
    70 class WebPagePinchZoomHandler;
       
    71 class CThumbnailGenerator;
    71 
    72 
    72 
    73 
    73 const TUint KMouseEventFired = 0x00000001;
    74 const TUint KMouseEventFired = 0x00000001;
    74 const TUint KKeyEventFired = 0x00000002;
    75 const TUint KKeyEventFired = 0x00000002;
    75 
    76 
   158         TSize maxBidiSize() const;
   159         TSize maxBidiSize() const;
   159         void clearOffScreenBitmap();
   160         void clearOffScreenBitmap();
   160         void scrollBuffer(TPoint aTo, TPoint aFrom, TBool aMayUseCopyScroll);
   161         void scrollBuffer(TPoint aTo, TPoint aFrom, TBool aMayUseCopyScroll);
   161         TRect offscreenRect() const {return m_offscreenrect;}
   162         TRect offscreenRect() const {return m_offscreenrect;}
   162         CPageScaler* pageScaler() const{ return m_pageScaler; }
   163         CPageScaler* pageScaler() const{ return m_pageScaler; }
       
   164         CThumbnailGenerator* pageThumbnailGenerator()const { return m_thumbnailGenerator;}
   163         //void updateScrollBarsL(CEikScrollBar::TOrientation aOrientation, const TInt aThumbPos, const int aScrollSpan);
   165         //void updateScrollBarsL(CEikScrollBar::TOrientation aOrientation, const TInt aThumbPos, const int aScrollSpan);
   164         int scalingFactor() const;
   166         int scalingFactor() const;
   165         void openUrl(const TDesC& url);
   167         void openUrl(const TDesC& url);
   166         CBrCtl* brCtl() const { return m_brctl; }
   168         CBrCtl* brCtl() const { return m_brctl; }
   167         CWebFepTextEditor* fepTextEditor() { return m_webfeptexteditor; }
   169         CWebFepTextEditor* fepTextEditor() { return m_webfeptexteditor; }
   367         
   369         
   368         /**
   370         /**
   369         * Recreate Plugins in case of Retry Connection
   371         * Recreate Plugins in case of Retry Connection
   370         */
   372         */
   371         void reCreatePlugins();
   373         void reCreatePlugins();
       
   374         
       
   375         TBool isPinchZoom() {return m_isPinchZoom; }
       
   376         
       
   377         void setScrolling(bool scroll);
       
   378          
       
   379         bool isScrolling() { return m_scroll; }
   372 
   380 
   373     public: // from MPageScalerCallback
   381     public: // from MPageScalerCallback
   374         /**
   382         /**
   375         *
   383         *
   376         * @since 3.1
   384         * @since 3.1
   587         bool                m_redirectWithLockedHistory;
   595         bool                m_redirectWithLockedHistory;
   588         // full screen mode
   596         // full screen mode
   589         WebPageFullScreenHandler* m_pageFullScreenHandler;  // owned
   597         WebPageFullScreenHandler* m_pageFullScreenHandler;  // owned
   590         bool m_viewIsScrolling;
   598         bool m_viewIsScrolling;
   591         bool m_viewIsFastScrolling;
   599         bool m_viewIsFastScrolling;
       
   600         bool m_scroll;
   592 
   601 
   593         // synchronous requests
   602         // synchronous requests
   594         bool                m_synchRequestPending;
   603         bool                m_synchRequestPending;
   595         //Indicates any plugin is activated/deactivated
   604         //Indicates any plugin is activated/deactivated
   596         bool                m_showCursor;
   605         bool                m_showCursor;
   604 		//Pinch Zoom Handler
   613 		//Pinch Zoom Handler
   605         WebPagePinchZoomHandler* m_pinchZoomHandler;
   614         WebPagePinchZoomHandler* m_pinchZoomHandler;
   606         TBool                    m_isPinchZoom;
   615         TBool                    m_isPinchZoom;
   607         TRealPoint               m_pinchDocDelta;
   616         TRealPoint               m_pinchDocDelta;
   608         int                      m_drawsMissed;
   617         int                      m_drawsMissed;
       
   618         CThumbnailGenerator* m_thumbnailGenerator;
   609     };
   619     };
   610 
   620 
   611 #endif
   621 #endif
   612 
   622 
   613 
   623