| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2009, 2010, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2009, 2010, 2011 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 | 225 |
| 226 HitTestRequest::HitTestRequestType getHitTypeForGestureType(PlatformEvent::T
ype); | 226 HitTestRequest::HitTestRequestType getHitTypeForGestureType(PlatformEvent::T
ype); |
| 227 void applyTouchAdjustment(PlatformGestureEvent*, HitTestResult*); | 227 void applyTouchAdjustment(PlatformGestureEvent*, HitTestResult*); |
| 228 bool handleGestureTap(const GestureEventWithHitTestResults&); | 228 bool handleGestureTap(const GestureEventWithHitTestResults&); |
| 229 bool handleGestureLongPress(const GestureEventWithHitTestResults&); | 229 bool handleGestureLongPress(const GestureEventWithHitTestResults&); |
| 230 bool handleGestureLongTap(const GestureEventWithHitTestResults&); | 230 bool handleGestureLongTap(const GestureEventWithHitTestResults&); |
| 231 bool handleGestureScrollUpdate(const PlatformGestureEvent&); | 231 bool handleGestureScrollUpdate(const PlatformGestureEvent&); |
| 232 bool handleGestureScrollBegin(const PlatformGestureEvent&); | 232 bool handleGestureScrollBegin(const PlatformGestureEvent&); |
| 233 void clearGestureScrollNodes(); | 233 void clearGestureScrollNodes(); |
| 234 | 234 |
| 235 void updateGestureTargetNodeForMouseEvent(const GestureEventWithHitTestResul
ts&); |
| 236 |
| 235 bool shouldApplyTouchAdjustment(const PlatformGestureEvent&) const; | 237 bool shouldApplyTouchAdjustment(const PlatformGestureEvent&) const; |
| 236 | 238 |
| 237 OptionalCursor selectCursor(const HitTestResult&); | 239 OptionalCursor selectCursor(const HitTestResult&); |
| 238 OptionalCursor selectAutoCursor(const HitTestResult&, Node*, const Cursor& i
Beam); | 240 OptionalCursor selectAutoCursor(const HitTestResult&, Node*, const Cursor& i
Beam); |
| 239 | 241 |
| 240 void hoverTimerFired(Timer<EventHandler>*); | 242 void hoverTimerFired(Timer<EventHandler>*); |
| 241 void cursorUpdateTimerFired(Timer<EventHandler>*); | 243 void cursorUpdateTimerFired(Timer<EventHandler>*); |
| 242 void activeIntervalTimerFired(Timer<EventHandler>*); | 244 void activeIntervalTimerFired(Timer<EventHandler>*); |
| 243 | 245 |
| 244 bool mouseDownMayStartSelect() const { return m_mouseDownMayStartSelect; } | 246 bool mouseDownMayStartSelect() const { return m_mouseDownMayStartSelect; } |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 421 // scroll sequence in this frame, or any child frames. Only used | 423 // scroll sequence in this frame, or any child frames. Only used |
| 422 // with ScrollCustomization. If some delta has been consumed, a | 424 // with ScrollCustomization. If some delta has been consumed, a |
| 423 // scroll which shouldn't propagate can't cause any element to | 425 // scroll which shouldn't propagate can't cause any element to |
| 424 // scroll other than the |m_previousGestureScrolledNode|. | 426 // scroll other than the |m_previousGestureScrolledNode|. |
| 425 bool m_deltaConsumedForScrollSequence; | 427 bool m_deltaConsumedForScrollSequence; |
| 426 }; | 428 }; |
| 427 | 429 |
| 428 } // namespace blink | 430 } // namespace blink |
| 429 | 431 |
| 430 #endif // EventHandler_h | 432 #endif // EventHandler_h |
| OLD | NEW |