webengine/osswebengine/WebKit/s60/webview/WebPointerEventHandler.h
branchRCL_3
changeset 37 ac77f89b1d9e
parent 36 c711bdda59f4
child 42 a1a5d4e727e8
equal deleted inserted replaced
36:c711bdda59f4 37:ac77f89b1d9e
    45     void HandlePointerEventL(const TPointerEvent& aPointerEvent);
    45     void HandlePointerEventL(const TPointerEvent& aPointerEvent);
    46     void HandleHighlightChange(const TPoint &aPoint);
    46     void HandleHighlightChange(const TPoint &aPoint);
    47     void HandleGestureEventL(const TStmGestureEvent& aGesture);
    47     void HandleGestureEventL(const TStmGestureEvent& aGesture);
    48     
    48     
    49 private:    
    49 private:    
    50     bool checkForEventListener(WebCore::Node* node);
       
    51     bool canDehighlight(const TPoint &aPoint);
    50     bool canDehighlight(const TPoint &aPoint);
    52     void dehighlight();
    51     void dehighlight();
    53 
    52 
    54     bool isHighlitableElement(TBrCtlDefs::TBrCtlElementType& elType);
    53     bool isHighlitableElement(TBrCtlDefs::TBrCtlElementType& elType);
    55     TBrCtlDefs::TBrCtlElementType highlitableElement();
    54     TBrCtlDefs::TBrCtlElementType highlitableElement();
    56     void buttonDownTimerCB(WebCore::Timer<WebPointerEventHandler>* t);
    55     void doTouchDownL();
    57     void handleTouchDownL(const TStmGestureEvent& aGesture);
    56     void handleTouchDownL(const TStmGestureEvent& aGesture);
    58     void handleTouchUp(const TStmGestureEvent& aGesture);
    57     void handleTouchUp(const TStmGestureEvent& aGesture);
    59     void handleTapL(const TStmGestureEvent& aGesture);
    58     void handleTapL(const TStmGestureEvent& aGesture);
    60     void handleDoubleTap(const TStmGestureEvent& aGesture);
    59     void handleDoubleTap(const TStmGestureEvent& aGesture);
    61     void handleMove(const TStmGestureEvent& aGesture);
    60     void handleMove(const TStmGestureEvent& aGesture);
    74     TBool m_isHighlighted;
    73     TBool m_isHighlighted;
    75     TInt m_offset;
    74     TInt m_offset;
    76     TPoint m_highlightPos;
    75     TPoint m_highlightPos;
    77     WebCore::Node* m_highlightedNode;
    76     WebCore::Node* m_highlightedNode;
    78     TPointerEvent m_currentEvent;
    77     TPointerEvent m_currentEvent;
    79     WebCore::Timer<WebPointerEventHandler> m_buttonDownTimer; 
       
    80     
       
    81     TPointerEvent m_lastPointerEvent;
       
    82     bool   m_ignoreTap; 
    78     bool   m_ignoreTap; 
    83     CActiveSchedulerWait*    m_waiter; 
       
    84     WebGestureInterface*  m_gestureInterface; 
    79     WebGestureInterface*  m_gestureInterface; 
    85     
    80     
    86 };
    81 };
    87 
    82 
    88 
    83