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