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

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

Issue 2475443004: Add use counter when touch-action isn't used when preventDefault'd. (Closed)
Patch Set: Rebase 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 d1c8fdda5e04360673ffa91a61c2c4d3c0bfd0dc..e2074dd1a552b65efdc6b9c0d7419c24aae861ac 100644
--- a/third_party/WebKit/Source/core/events/Event.h
+++ b/third_party/WebKit/Source/core/events/Event.h
@@ -84,9 +84,17 @@ class CORE_EXPORT Event : public GarbageCollectedFinalized<Event>,
};
enum class PassiveMode {
+ // Not passive, default initialized.
+ NotPassiveDefault,
+ // Not passive, explicitly specified.
NotPassive,
+ // Passive, explicitly specified.
Passive,
+ // Passive, not explicitly specified and forced due to document level
+ // listener.
PassiveForcedDocumentLevel,
+ // Passive, default initialized.
+ PassiveDefault,
};
static Event* create() { return new Event; }

Powered by Google App Engine
This is Rietveld 408576698