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

Unified Diff: third_party/WebKit/Source/core/input/EventHandler.h

Issue 1799253002: Stricter user gestures for touch - measure and warn (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/input/EventHandler.h
diff --git a/third_party/WebKit/Source/core/input/EventHandler.h b/third_party/WebKit/Source/core/input/EventHandler.h
index a95cedbfdd2a0eb2ad8ffaf2d8bb7675dba19800..416167289724e4320c6ae6d198174be5301147e8 100644
--- a/third_party/WebKit/Source/core/input/EventHandler.h
+++ b/third_party/WebKit/Source/core/input/EventHandler.h
@@ -86,7 +86,8 @@ class Widget;
enum class DragInitiator;
-class CORE_EXPORT EventHandler final : public NoBaseWillBeGarbageCollectedFinalized<EventHandler> {
+class CORE_EXPORT EventHandler final : public NoBaseWillBeGarbageCollectedFinalized<EventHandler>
+ , public UserGestureUsedCallback {
WTF_MAKE_NONCOPYABLE(EventHandler);
USING_FAST_MALLOC_WILL_BE_REMOVED(EventHandler);
public:
@@ -205,6 +206,7 @@ public:
void capsLockStateMayHaveChanged(); // Only called by FrameSelection
WebInputEventResult handleTouchEvent(const PlatformTouchEvent&);
+ void userGestureUsed();
bool useHandCursor(Node*, bool isOverLink);

Powered by Google App Engine
This is Rietveld 408576698