| Index: Source/core/dom/Event.h
|
| diff --git a/Source/core/dom/Event.h b/Source/core/dom/Event.h
|
| index 82e402d5319f6685c95528ef6430fa59688c8fa2..7875b1e2386ba683ba61e4bf6fec75dd87d1d1bd 100644
|
| --- a/Source/core/dom/Event.h
|
| +++ b/Source/core/dom/Event.h
|
| @@ -39,18 +39,18 @@ class HTMLIFrameElement;
|
|
|
| struct EventInit {
|
| EventInit();
|
| -
|
| +
|
| bool bubbles;
|
| bool cancelable;
|
| };
|
|
|
| class Event : public ScriptWrappable, public RefCounted<Event> {
|
| public:
|
| - enum PhaseType {
|
| + enum PhaseType {
|
| NONE = 0,
|
| - CAPTURING_PHASE = 1,
|
| + CAPTURING_PHASE = 1,
|
| AT_TARGET = 2,
|
| - BUBBLING_PHASE = 3
|
| + BUBBLING_PHASE = 3
|
| };
|
|
|
| enum EventType {
|
| @@ -92,7 +92,7 @@ public:
|
|
|
| const AtomicString& type() const { return m_type; }
|
| void setType(const AtomicString& type) { m_type = type; }
|
| -
|
| +
|
| EventTarget* target() const { return m_target.get(); }
|
| void setTarget(PassRefPtr<EventTarget>);
|
|
|
| @@ -108,7 +108,7 @@ public:
|
|
|
| void stopPropagation() { m_propagationStopped = true; }
|
| void stopImmediatePropagation() { m_immediatePropagationStopped = true; }
|
| -
|
| +
|
| // IE Extensions
|
| EventTarget* srcElement() const { return target(); } // MSIE extension - "the object that fired the event"
|
|
|
|
|