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

Unified Diff: Source/core/dom/Event.h

Issue 20294002: Fix trailing whitespace in .cpp, .h, and .idl files (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 7 years, 5 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 | « Source/core/dom/ElementRareData.h ('k') | Source/core/dom/Event.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"
« no previous file with comments | « Source/core/dom/ElementRareData.h ('k') | Source/core/dom/Event.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698