Chromium Code Reviews| 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 ef7e89b1a34794c016f5f3f063bb1baf2e44912b..857dba88be80ddab6bdf642ebf7a3376298598b9 100644 |
| --- a/third_party/WebKit/Source/core/events/Event.h |
| +++ b/third_party/WebKit/Source/core/events/Event.h |
| @@ -74,6 +74,11 @@ public: |
| RailsModeVertical = 2 |
| }; |
| + enum class ComposedMode { |
| + Composed, |
| + Scoped, |
| + }; |
| + |
| static Event* create() |
| { |
| return new Event; |
| @@ -215,7 +220,9 @@ public: |
| protected: |
| Event(); |
| + Event(const AtomicString& type, bool canBubble, bool cancelable, ComposedMode, double platformTimeStamp); |
| Event(const AtomicString& type, bool canBubble, bool cancelable, double platformTimeStamp); |
| + Event(const AtomicString& type, bool canBubble, bool cancelable, ComposedMode); |
|
kochi
2016/06/03 08:45:57
How about adding the default value for the last ar
hayato
2016/06/03 09:03:05
Done
|
| Event(const AtomicString& type, bool canBubble, bool cancelable); |
| Event(const AtomicString& type, const EventInit&); |
| @@ -224,7 +231,6 @@ protected: |
| void setCanBubble(bool bubble) { m_canBubble = bubble; } |
| private: |
| - Event(const AtomicString& type, bool canBubble, bool cancelable, bool composed, double platformTimeStamp); |
| enum EventPathMode { |
| EmptyAfterDispatch, |