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

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

Issue 1057603002: Expose scroll customization for touch to JS (behind REF). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase. Created 5 years, 6 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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 223
224 bool handlePasteGlobalSelection(const PlatformMouseEvent&); 224 bool handlePasteGlobalSelection(const PlatformMouseEvent&);
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 clearGestureScrollState();
234 234
235 bool shouldApplyTouchAdjustment(const PlatformGestureEvent&) const; 235 bool shouldApplyTouchAdjustment(const PlatformGestureEvent&) const;
236 236
237 OptionalCursor selectCursor(const HitTestResult&); 237 OptionalCursor selectCursor(const HitTestResult&);
238 OptionalCursor selectAutoCursor(const HitTestResult&, Node*, const Cursor& i Beam); 238 OptionalCursor selectAutoCursor(const HitTestResult&, Node*, const Cursor& i Beam);
239 239
240 void hoverTimerFired(Timer<EventHandler>*); 240 void hoverTimerFired(Timer<EventHandler>*);
241 void cursorUpdateTimerFired(Timer<EventHandler>*); 241 void cursorUpdateTimerFired(Timer<EventHandler>*);
242 void activeIntervalTimerFired(Timer<EventHandler>*); 242 void activeIntervalTimerFired(Timer<EventHandler>*);
243 243
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 // scroll sequence in this frame, or any child frames. Only used 425 // scroll sequence in this frame, or any child frames. Only used
426 // with ScrollCustomization. If some delta has been consumed, a 426 // with ScrollCustomization. If some delta has been consumed, a
427 // scroll which shouldn't propagate can't cause any element to 427 // scroll which shouldn't propagate can't cause any element to
428 // scroll other than the |m_previousGestureScrolledNode|. 428 // scroll other than the |m_previousGestureScrolledNode|.
429 bool m_deltaConsumedForScrollSequence; 429 bool m_deltaConsumedForScrollSequence;
430 }; 430 };
431 431
432 } // namespace blink 432 } // namespace blink
433 433
434 #endif // EventHandler_h 434 #endif // EventHandler_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698