webengine/osswebengine/WebKit/s60/webview/WebPointerEventHandler.h
changeset 1 7c90e6132015
parent 0 dd21522fd290
child 25 0ed94ceaa377
equal deleted inserted replaced
0:dd21522fd290 1:7c90e6132015
    41 
    41 
    42 public:
    42 public:
    43     void HandlePointerEventL(const TPointerEvent& aPointerEvent);
    43     void HandlePointerEventL(const TPointerEvent& aPointerEvent);
    44     void HandleHighlightChange(const TPoint &aPoint);
    44     void HandleHighlightChange(const TPoint &aPoint);
    45 
    45 
    46     virtual void HandleGestureL( const RT_GestureHelper::MGestureEvent& aEvent );
    46     virtual void HandleGestureL( const RT_GestureHelper::TGestureEvent& aEvent );
    47     
    47     
    48     
    48     
    49 private:    
    49 private:    
    50     bool checkForEventListener(WebCore::Node* node);
    50     bool checkForEventListener(WebCore::Node* node);
    51     bool canDehighlight(const TPoint &aPoint);
    51     bool canDehighlight(const TPoint &aPoint);
    52     void dehighlight();
    52     void dehighlight();
    53 
    53 
    54     bool isHighlitableElement(TBrCtlDefs::TBrCtlElementType& elType);
    54     bool isHighlitableElement(TBrCtlDefs::TBrCtlElementType& elType);
    55     TBrCtlDefs::TBrCtlElementType highlitableElement();
    55     TBrCtlDefs::TBrCtlElementType highlitableElement();
    56     void buttonDownTimerCB(WebCore::Timer<WebPointerEventHandler>* t);
    56     void buttonDownTimerCB(WebCore::Timer<WebPointerEventHandler>* t);
    57     void handleTouchDownL(const RT_GestureHelper::MGestureEvent& aEvent);
    57     void handleTouchDownL(const RT_GestureHelper::TGestureEvent& aEvent);
    58     void handleTouchUp(const RT_GestureHelper::MGestureEvent& aEvent);
    58     void handleTouchUp(const RT_GestureHelper::TGestureEvent& aEvent);
    59     void handleTapL(const RT_GestureHelper::MGestureEvent& aEvent);
    59     void handleTapL(const RT_GestureHelper::TGestureEvent& aEvent);
    60     void handleDoubleTap(const RT_GestureHelper::MGestureEvent& aEvent);
    60     void handleDoubleTap(const RT_GestureHelper::TGestureEvent& aEvent);
    61     void handleMove(const RT_GestureHelper::MGestureEvent& aEvent);
    61     void handleMove(const RT_GestureHelper::TGestureEvent& aEvent);
    62     void doTapL();
    62     void doTapL();
    63     void updateCursor(const TPoint& pos);
    63     void updateCursor(const TPoint& pos);
    64 private:
    64 private:
    65     WebPointerEventHandler(WebView* view);            
    65     WebPointerEventHandler(WebView* view);            
    66     WebView* m_webview;
    66     WebView* m_webview;