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

Unified Diff: third_party/WebKit/Source/core/events/Event.h

Issue 2520423004: Don't log a console warning when touch-action is used. (Closed)
Patch Set: Created 4 years, 1 month 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/events/Event.h
diff --git a/third_party/WebKit/Source/core/events/Event.h b/third_party/WebKit/Source/core/events/Event.h
index e2074dd1a552b65efdc6b9c0d7419c24aae861ac..0024de2ecc13a1c92806913ed1545b41427c10f7 100644
--- a/third_party/WebKit/Source/core/events/Event.h
+++ b/third_party/WebKit/Source/core/events/Event.h
@@ -281,6 +281,8 @@ class CORE_EXPORT Event : public GarbageCollectedFinalized<Event>,
PassiveMode handlingPassive() const { return m_handlingPassive; }
+ virtual bool shouldLogPassiveDevtoolsWarning() const { return true; }
+
private:
enum EventPathMode { EmptyAfterDispatch, NonEmptyAfterDispatch };
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/events/Event.cpp » ('j') | third_party/WebKit/Source/core/events/Event.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698