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

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

Issue 2491233002: Make UA DOMActivate events composed events (Closed)
Patch Set: wip 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 | « third_party/WebKit/Source/core/dom/Node.cpp ('k') | no next file » | 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 479e499457e29bd6f0877177d599e4e77e945ade..d1c8fdda5e04360673ffa91a61c2c4d3c0bfd0dc 100644
--- a/third_party/WebKit/Source/core/events/Event.h
+++ b/third_party/WebKit/Source/core/events/Event.h
@@ -233,6 +233,11 @@ class CORE_EXPORT Event : public GarbageCollectedFinalized<Event>,
bool isTrusted() const { return m_isTrusted; }
void setTrusted(bool value) { m_isTrusted = value; }
+ void setComposed(bool composed) {
+ DCHECK(!isBeingDispatched());
+ m_composed = composed;
+ }
+
void setHandlingPassive(PassiveMode);
bool preventDefaultCalledDuringPassive() const {
@@ -265,10 +270,6 @@ class CORE_EXPORT Event : public GarbageCollectedFinalized<Event>,
virtual void receivedTarget();
void setCanBubble(bool bubble) { m_canBubble = bubble; }
- void setComposed(bool composed) {
- DCHECK(!isBeingDispatched());
- m_composed = composed;
- }
PassiveMode handlingPassive() const { return m_handlingPassive; }
« no previous file with comments | « third_party/WebKit/Source/core/dom/Node.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698