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

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

Issue 2394653003: reflow comments in core/events,core/fileapi (Closed)
Patch Set: Created 4 years, 2 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
Index: third_party/WebKit/Source/core/events/MouseEvent.h
diff --git a/third_party/WebKit/Source/core/events/MouseEvent.h b/third_party/WebKit/Source/core/events/MouseEvent.h
index da6720e71f6ef13b3842cf027bec30f5c3f4e236..fbd5c92d5c67b06611274a4fa1810ef0b9064abd 100644
--- a/third_party/WebKit/Source/core/events/MouseEvent.h
+++ b/third_party/WebKit/Source/core/events/MouseEvent.h
@@ -40,7 +40,8 @@ class CORE_EXPORT MouseEvent : public MouseRelatedEvent {
public:
static MouseEvent* create() { return new MouseEvent; }
- // TODO(mustaq): Should replace most/all of these params with a MouseEventInit.
+ // TODO(mustaq): Should replace most/all of these params with a
+ // MouseEventInit.
static MouseEvent* create(const AtomicString& type,
bool canBubble,
bool cancelable,
@@ -98,8 +99,8 @@ class CORE_EXPORT MouseEvent : public MouseRelatedEvent {
EventTarget* relatedTarget,
unsigned short buttons = 0);
- // WinIE uses 1,4,2 for left/middle/right but not for click (just for mousedown/up, maybe others),
- // but we will match the standard DOM.
+ // WinIE uses 1,4,2 for left/middle/right but not for click (just for
+ // mousedown/up, maybe others), but we will match the standard DOM.
virtual short button() const { return m_button == -1 ? 0 : m_button; }
unsigned short buttons() const { return m_buttons; }
bool buttonDown() const { return m_button != -1; }
« no previous file with comments | « third_party/WebKit/Source/core/events/MessageEvent.cpp ('k') | third_party/WebKit/Source/core/events/MouseEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698