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 505c055926717420d2ddbc9569eb29539f4fc626..f7a4ee3cfa1af231911e0a3e73998e3b2d99854e 100644 |
--- a/third_party/WebKit/Source/core/events/Event.h |
+++ b/third_party/WebKit/Source/core/events/Event.h |
@@ -137,6 +137,7 @@ public: |
void stopPropagation() { m_propagationStopped = true; } |
void stopImmediatePropagation() { m_immediatePropagationStopped = true; } |
+ void unsetInitializedFlag() { m_initialized = false; } |
// IE Extensions |
EventTarget* srcElement() const { return target(); } // MSIE extension - "the object that fired the event" |
@@ -170,6 +171,7 @@ public: |
bool propagationStopped() const { return m_propagationStopped || m_immediatePropagationStopped; } |
bool immediatePropagationStopped() const { return m_immediatePropagationStopped; } |
+ bool initialized() { return m_initialized; } |
tkent
2016/05/02 00:19:27
This function should be named as |wasInitialized()
ramya.v
2016/05/02 05:31:44
Done.
|
bool defaultPrevented() const { return m_defaultPrevented; } |
virtual void preventDefault(); |
@@ -239,6 +241,7 @@ private: |
unsigned m_defaultPrevented:1; |
unsigned m_defaultHandled:1; |
unsigned m_cancelBubble:1; |
+ unsigned m_initialized:1; |
tkent
2016/05/02 00:19:27
This member should be named as |m_wasInitialized|
ramya.v
2016/05/02 05:31:44
Done.
|
unsigned m_isTrusted : 1; |
unsigned m_handlingPassive : 1; |