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

Unified Diff: third_party/WebKit/Source/core/events/AddEventListenerOptionsResolved.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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/events/AddEventListenerOptionsResolved.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/events/AddEventListenerOptionsResolved.h
diff --git a/third_party/WebKit/Source/core/events/AddEventListenerOptionsResolved.h b/third_party/WebKit/Source/core/events/AddEventListenerOptionsResolved.h
index 26cbef22a0aeae716223a655c11779633d89372e..fde5ae7dd8e9ddcd36d6a16ec7ee204a38a217be 100644
--- a/third_party/WebKit/Source/core/events/AddEventListenerOptionsResolved.h
+++ b/third_party/WebKit/Source/core/events/AddEventListenerOptionsResolved.h
@@ -29,10 +29,16 @@ class CORE_EXPORT AddEventListenerOptionsResolved
return m_passiveForcedForDocumentTarget;
}
+ // Set whether passive was specified when the options were
+ // created by callee.
+ void setPassiveSpecified(bool specified) { m_passiveSpecified = specified; }
+ bool passiveSpecified() const { return m_passiveSpecified; }
+
DECLARE_VIRTUAL_TRACE();
private:
bool m_passiveForcedForDocumentTarget;
+ bool m_passiveSpecified;
};
} // namespace blink
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/events/AddEventListenerOptionsResolved.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698