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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 | 232 |
233 HitTestRequest::HitTestRequestType getHitTypeForGestureType(PlatformEvent::T
ype); | 233 HitTestRequest::HitTestRequestType getHitTypeForGestureType(PlatformEvent::T
ype); |
234 void applyTouchAdjustment(PlatformGestureEvent*, HitTestResult*); | 234 void applyTouchAdjustment(PlatformGestureEvent*, HitTestResult*); |
235 bool handleGestureTap(const GestureEventWithHitTestResults&); | 235 bool handleGestureTap(const GestureEventWithHitTestResults&); |
236 bool handleGestureLongPress(const GestureEventWithHitTestResults&); | 236 bool handleGestureLongPress(const GestureEventWithHitTestResults&); |
237 bool handleGestureLongTap(const GestureEventWithHitTestResults&); | 237 bool handleGestureLongTap(const GestureEventWithHitTestResults&); |
238 bool handleGestureScrollUpdate(const PlatformGestureEvent&); | 238 bool handleGestureScrollUpdate(const PlatformGestureEvent&); |
239 bool handleGestureScrollBegin(const PlatformGestureEvent&); | 239 bool handleGestureScrollBegin(const PlatformGestureEvent&); |
240 void clearGestureScrollState(); | 240 void clearGestureScrollState(); |
241 | 241 |
| 242 void updateGestureTargetNodeForMouseEvent(const GestureEventWithHitTestResul
ts&); |
| 243 |
242 bool shouldApplyTouchAdjustment(const PlatformGestureEvent&) const; | 244 bool shouldApplyTouchAdjustment(const PlatformGestureEvent&) const; |
243 | 245 |
244 OptionalCursor selectCursor(const HitTestResult&); | 246 OptionalCursor selectCursor(const HitTestResult&); |
245 OptionalCursor selectAutoCursor(const HitTestResult&, Node*, const Cursor& i
Beam); | 247 OptionalCursor selectAutoCursor(const HitTestResult&, Node*, const Cursor& i
Beam); |
246 | 248 |
247 void hoverTimerFired(Timer<EventHandler>*); | 249 void hoverTimerFired(Timer<EventHandler>*); |
248 void cursorUpdateTimerFired(Timer<EventHandler>*); | 250 void cursorUpdateTimerFired(Timer<EventHandler>*); |
249 void activeIntervalTimerFired(Timer<EventHandler>*); | 251 void activeIntervalTimerFired(Timer<EventHandler>*); |
250 | 252 |
251 void fakeMouseMoveEventTimerFired(Timer<EventHandler>*); | 253 void fakeMouseMoveEventTimerFired(Timer<EventHandler>*); |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
438 // scroll which shouldn't propagate can't cause any element to | 440 // scroll which shouldn't propagate can't cause any element to |
439 // scroll other than the |m_previousGestureScrolledNode|. | 441 // scroll other than the |m_previousGestureScrolledNode|. |
440 bool m_deltaConsumedForScrollSequence; | 442 bool m_deltaConsumedForScrollSequence; |
441 }; | 443 }; |
442 | 444 |
443 } // namespace blink | 445 } // namespace blink |
444 | 446 |
445 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::EventHandler::TouchInfo); | 447 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::EventHandler::TouchInfo); |
446 | 448 |
447 #endif // EventHandler_h | 449 #endif // EventHandler_h |
OLD | NEW |