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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 | 212 |
213 HitTestRequest::HitTestRequestType getHitTypeForGestureType(PlatformEvent::T
ype); | 213 HitTestRequest::HitTestRequestType getHitTypeForGestureType(PlatformEvent::T
ype); |
214 void applyTouchAdjustment(PlatformGestureEvent*, HitTestResult*); | 214 void applyTouchAdjustment(PlatformGestureEvent*, HitTestResult*); |
215 bool handleGestureTap(const GestureEventWithHitTestResults&); | 215 bool handleGestureTap(const GestureEventWithHitTestResults&); |
216 bool handleGestureLongPress(const GestureEventWithHitTestResults&); | 216 bool handleGestureLongPress(const GestureEventWithHitTestResults&); |
217 bool handleGestureLongTap(const GestureEventWithHitTestResults&); | 217 bool handleGestureLongTap(const GestureEventWithHitTestResults&); |
218 bool handleGestureScrollUpdate(const PlatformGestureEvent&); | 218 bool handleGestureScrollUpdate(const PlatformGestureEvent&); |
219 bool handleGestureScrollBegin(const PlatformGestureEvent&); | 219 bool handleGestureScrollBegin(const PlatformGestureEvent&); |
220 void clearGestureScrollState(); | 220 void clearGestureScrollState(); |
221 | 221 |
| 222 void updateGestureTargetNodeForMouseEvent(const GestureEventWithHitTestResul
ts&); |
| 223 |
222 bool shouldApplyTouchAdjustment(const PlatformGestureEvent&) const; | 224 bool shouldApplyTouchAdjustment(const PlatformGestureEvent&) const; |
223 | 225 |
224 OptionalCursor selectCursor(const HitTestResult&); | 226 OptionalCursor selectCursor(const HitTestResult&); |
225 OptionalCursor selectAutoCursor(const HitTestResult&, Node*, const Cursor& i
Beam); | 227 OptionalCursor selectAutoCursor(const HitTestResult&, Node*, const Cursor& i
Beam); |
226 | 228 |
227 void hoverTimerFired(Timer<EventHandler>*); | 229 void hoverTimerFired(Timer<EventHandler>*); |
228 void cursorUpdateTimerFired(Timer<EventHandler>*); | 230 void cursorUpdateTimerFired(Timer<EventHandler>*); |
229 void activeIntervalTimerFired(Timer<EventHandler>*); | 231 void activeIntervalTimerFired(Timer<EventHandler>*); |
230 | 232 |
231 void fakeMouseMoveEventTimerFired(Timer<EventHandler>*); | 233 void fakeMouseMoveEventTimerFired(Timer<EventHandler>*); |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
411 // scroll sequence in this frame, or any child frames. Only used | 413 // scroll sequence in this frame, or any child frames. Only used |
412 // with ScrollCustomization. If some delta has been consumed, a | 414 // with ScrollCustomization. If some delta has been consumed, a |
413 // scroll which shouldn't propagate can't cause any element to | 415 // scroll which shouldn't propagate can't cause any element to |
414 // scroll other than the |m_previousGestureScrolledNode|. | 416 // scroll other than the |m_previousGestureScrolledNode|. |
415 bool m_deltaConsumedForScrollSequence; | 417 bool m_deltaConsumedForScrollSequence; |
416 }; | 418 }; |
417 | 419 |
418 } // namespace blink | 420 } // namespace blink |
419 | 421 |
420 #endif // EventHandler_h | 422 #endif // EventHandler_h |
OLD | NEW |