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

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

Issue 2233543002: Make first TouchStart and first TouchMove events on a flinging layer non-blocking (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename Created 4 years, 4 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
« no previous file with comments | « content/renderer/render_widget_unittest.cc ('k') | third_party/WebKit/Source/core/events/Event.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/Event.h
diff --git a/third_party/WebKit/Source/core/events/Event.h b/third_party/WebKit/Source/core/events/Event.h
index 7becfcd5374edd35a3eef066830037b2a10e79e7..686d0a94768d1c9bbaee3e62dc4ddb3a02783177 100644
--- a/third_party/WebKit/Source/core/events/Event.h
+++ b/third_party/WebKit/Source/core/events/Event.h
@@ -215,6 +215,8 @@ public:
bool preventDefaultCalledDuringPassive() const { return m_preventDefaultCalledDuringPassive; }
+ bool preventDefaultCalledOnUncancelableEvent() const { return m_preventDefaultCalledOnUncancelableEvent; }
+
DECLARE_VIRTUAL_TRACE();
protected:
@@ -255,6 +257,8 @@ private:
// Whether preventDefault was called when |m_handlingPassive| is
// true. This field is reset on each call to setHandlingPassive.
unsigned m_preventDefaultCalledDuringPassive : 1;
+ // Whether preventDefault was called on uncancelable event.
+ unsigned m_preventDefaultCalledOnUncancelableEvent : 1;
unsigned short m_eventPhase;
Member<EventTarget> m_currentTarget;
« no previous file with comments | « content/renderer/render_widget_unittest.cc ('k') | third_party/WebKit/Source/core/events/Event.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698