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

Unified Diff: third_party/WebKit/Source/core/events/KeyboardEvent.cpp

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/KeyboardEvent.cpp
diff --git a/third_party/WebKit/Source/core/events/KeyboardEvent.cpp b/third_party/WebKit/Source/core/events/KeyboardEvent.cpp
index 09e2104f744d64a60d31f64ca73e442d2ddb6506..b0bd8899d123c4eac38cdb90ec97b0f0faaf1ef9 100644
--- a/third_party/WebKit/Source/core/events/KeyboardEvent.cpp
+++ b/third_party/WebKit/Source/core/events/KeyboardEvent.cpp
@@ -41,7 +41,8 @@ static inline const AtomicString& eventTypeForKeyboardEventType(
case WebInputEvent::Char:
return EventTypeNames::keypress;
case WebInputEvent::KeyDown:
- // The caller should disambiguate the combined event into RawKeyDown or Char events.
+ // The caller should disambiguate the combined event into RawKeyDown or
+ // Char events.
break;
default:
break;
@@ -192,8 +193,9 @@ bool KeyboardEvent::isKeyboardEvent() const {
}
int KeyboardEvent::which() const {
- // Netscape's "which" returns a virtual key code for keydown and keyup, and a character code for keypress.
- // That's exactly what IE's "keyCode" returns. So they are the same for keyboard events.
+ // Netscape's "which" returns a virtual key code for keydown and keyup, and a
+ // character code for keypress. That's exactly what IE's "keyCode" returns.
+ // So they are the same for keyboard events.
return keyCode();
}
« no previous file with comments | « third_party/WebKit/Source/core/events/KeyboardEvent.h ('k') | third_party/WebKit/Source/core/events/MessageEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698