353 WebPagePinchZoomHandler* pinchZoomHandler() { return m_pinchZoomHandler; } |
353 WebPagePinchZoomHandler* pinchZoomHandler() { return m_pinchZoomHandler; } |
354 |
354 |
355 /** |
355 /** |
356 * To set the Bitmap zooming for Pinch |
356 * To set the Bitmap zooming for Pinch |
357 */ |
357 */ |
358 void setPinchBitmapZoomLevel(int zoomLevel); |
358 void setPinchBitmapZoomLevelL(int zoomLevel); |
359 |
359 |
360 /** |
360 /** |
361 * To set the Bitmap zooming In for Pinch |
361 * To set the Bitmap zooming In for Pinch |
362 */ |
362 */ |
363 void setPinchBitmapZoomIn(int zoomLevel); |
363 void setPinchBitmapZoomIn(int zoomLevel); |
364 |
364 |
365 /** |
365 /** |
366 * To set the Bitmap zooming Out for Pinch |
366 * To set the Bitmap zooming Out for Pinch |
367 */ |
367 */ |
368 void setPinchBitmapZoomOut(int zoomLevel); |
368 void setPinchBitmapZoomOutL(int zoomLevel); |
369 |
|
370 /** |
|
371 * Recreate Plugins in case of Retry Connection |
|
372 */ |
|
373 void reCreatePlugins(); |
|
374 |
369 |
375 TBool isPinchZoom() {return m_isPinchZoom; } |
370 TBool isPinchZoom() {return m_isPinchZoom; } |
|
371 |
|
372 /** |
|
373 * Creates the checkerboard |
|
374 */ |
|
375 void createCheckerBoardL(); |
|
376 |
|
377 /** |
|
378 * Destroys the checkerboard |
|
379 */ |
|
380 void destroyCheckerBoard(); |
|
381 |
|
382 /** |
|
383 * Starts the checkerboard timer. End of this timer, checkerboard will be destroyed. |
|
384 */ |
|
385 void startCheckerBoardDestroyTimer(); |
376 |
386 |
377 void setScrolling(bool scroll); |
387 void setScrolling(bool scroll); |
378 |
388 |
379 bool isScrolling() { return m_scroll; } |
389 bool isScrolling() { return m_scroll; } |
380 |
390 |
499 bool handleNaviKeyEvent(const TKeyEvent& keyevent, TEventCode eventcode, WebCore::Frame* frame); |
509 bool handleNaviKeyEvent(const TKeyEvent& keyevent, TEventCode eventcode, WebCore::Frame* frame); |
500 bool handleMSK(const TKeyEvent& keyevent, TEventCode eventcode, WebCore::Frame* frame); |
510 bool handleMSK(const TKeyEvent& keyevent, TEventCode eventcode, WebCore::Frame* frame); |
501 void sendMouseEventToEngineIfNeeded(TPointerEvent::TType eventType, TPoint pos, WebCore::Frame* frame); |
511 void sendMouseEventToEngineIfNeeded(TPointerEvent::TType eventType, TPoint pos, WebCore::Frame* frame); |
502 void setFocusedNodeUnderCursor(WebCore::Frame* frame); |
512 void setFocusedNodeUnderCursor(WebCore::Frame* frame); |
503 void waitTimerCB(WebCore::Timer<WebView>* t); |
513 void waitTimerCB(WebCore::Timer<WebView>* t); |
504 |
514 void calculateZoomRect(TRect &aOldRect, TRect &aNewRect, TInt aOldZoom, TInt aNewZoom); |
505 public: |
515 public: |
506 void sendMouseEventToEngine(TPointerEvent::TType eventType, TPoint pos, WebCore::Frame* frame); |
516 void sendMouseEventToEngine(TPointerEvent::TType eventType, TPoint pos, WebCore::Frame* frame); |
507 void fepTimerFired(WebCore::Timer<WebView>*); |
517 void fepTimerFired(WebCore::Timer<WebView>*); |
508 void fepVKBTimerFired(WebCore::Timer<WebView>*); |
518 void fepVKBTimerFired(WebCore::Timer<WebView>*); |
509 bool isClosing() const { return m_isClosing; } |
519 bool isClosing() const { return m_isClosing; } |
595 bool m_redirectWithLockedHistory; |
605 bool m_redirectWithLockedHistory; |
596 // full screen mode |
606 // full screen mode |
597 WebPageFullScreenHandler* m_pageFullScreenHandler; // owned |
607 WebPageFullScreenHandler* m_pageFullScreenHandler; // owned |
598 bool m_viewIsScrolling; |
608 bool m_viewIsScrolling; |
599 bool m_viewIsFastScrolling; |
609 bool m_viewIsFastScrolling; |
600 bool m_scroll; |
|
601 |
610 |
602 // synchronous requests |
611 // synchronous requests |
603 bool m_synchRequestPending; |
612 bool m_synchRequestPending; |
604 //Indicates any plugin is activated/deactivated |
613 //Indicates any plugin is activated/deactivated |
605 bool m_showCursor; |
614 bool m_showCursor; |
613 //Pinch Zoom Handler |
622 //Pinch Zoom Handler |
614 WebPagePinchZoomHandler* m_pinchZoomHandler; |
623 WebPagePinchZoomHandler* m_pinchZoomHandler; |
615 TBool m_isPinchZoom; |
624 TBool m_isPinchZoom; |
616 TRealPoint m_pinchDocDelta; |
625 TRealPoint m_pinchDocDelta; |
617 int m_drawsMissed; |
626 int m_drawsMissed; |
|
627 bool m_scroll; |
618 CThumbnailGenerator* m_thumbnailGenerator; |
628 CThumbnailGenerator* m_thumbnailGenerator; |
|
629 |
|
630 CFbsBitmap *m_checkerBoardBitmap; |
|
631 CFbsBitmapDevice *m_checkerBoardDevice; |
|
632 CFbsBitGc *m_checkerBoardGc; |
|
633 |
|
634 CPeriodic *m_checkerBoardDestroyTimer; |
|
635 |
|
636 TBool m_isPinchZoomOut; |
619 }; |
637 }; |
620 |
638 |
621 #endif |
639 #endif |
622 |
640 |
623 |
641 |