Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Side by Side Diff: Source/core/input/EventHandler.h

Issue 1170513002: Update the mouse events on tapping of gesture across frames (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
445 // scroll which shouldn't propagate can't cause any element to 447 // scroll which shouldn't propagate can't cause any element to
446 // scroll other than the |m_previousGestureScrolledNode|. 448 // scroll other than the |m_previousGestureScrolledNode|.
447 bool m_deltaConsumedForScrollSequence; 449 bool m_deltaConsumedForScrollSequence;
448 }; 450 };
449 451
450 } // namespace blink 452 } // namespace blink
451 453
452 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::EventHandler::TouchInfo); 454 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::EventHandler::TouchInfo);
453 455
454 #endif // EventHandler_h 456 #endif // EventHandler_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698