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

Unified Diff: third_party/WebKit/Source/core/html/forms/KeyboardClickableInputTypeView.cpp

Issue 2390563002: Reflow comments in core/html/forms/. (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/html/forms/KeyboardClickableInputTypeView.cpp
diff --git a/third_party/WebKit/Source/core/html/forms/KeyboardClickableInputTypeView.cpp b/third_party/WebKit/Source/core/html/forms/KeyboardClickableInputTypeView.cpp
index 58439faeba550d6f141742c70d6f0c4df7cfecd6..ec93e9db9c39b4eb2d60ebbd9ea0664d81856a7b 100644
--- a/third_party/WebKit/Source/core/html/forms/KeyboardClickableInputTypeView.cpp
+++ b/third_party/WebKit/Source/core/html/forms/KeyboardClickableInputTypeView.cpp
@@ -43,7 +43,8 @@ void KeyboardClickableInputTypeView::handleKeydownEvent(KeyboardEvent* event) {
if (key == " ") {
element().setActive(true);
// No setDefaultHandled(), because IE dispatches a keypress in this case
- // and the caller will only dispatch a keypress if we don't call setDefaultHandled().
+ // and the caller will only dispatch a keypress if we don't call
+ // setDefaultHandled().
}
}
@@ -68,7 +69,8 @@ void KeyboardClickableInputTypeView::handleKeyupEvent(KeyboardEvent* event) {
dispatchSimulatedClickIfActive(event);
}
-// FIXME: Could share this with BaseCheckableInputType and RangeInputType if we had a common base class.
+// FIXME: Could share this with BaseCheckableInputType and RangeInputType if we
+// had a common base class.
void KeyboardClickableInputTypeView::accessKeyAction(bool sendMouseEvents) {
InputTypeView::accessKeyAction(sendMouseEvents);
element().dispatchSimulatedClick(

Powered by Google App Engine
This is Rietveld 408576698