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

Unified Diff: Source/core/html/InputType.cpp

Issue 16194013: Mouse press should focus on any types of form controls. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 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: Source/core/html/InputType.cpp
diff --git a/Source/core/html/InputType.cpp b/Source/core/html/InputType.cpp
index 14840a14b09b80c4d70dcddd3c3dc8406c3d53b5..1d94c0807f4aac38fc700d60c01f909773a80cbb 100644
--- a/Source/core/html/InputType.cpp
+++ b/Source/core/html/InputType.cpp
@@ -526,9 +526,9 @@ bool InputType::isKeyboardFocusable(KeyboardEvent* event) const
return element()->isTextFormControlKeyboardFocusable(event);
}
-bool InputType::isMouseFocusable() const
+bool InputType::shouldShowFocusRingOnMouseFocus() const
{
- return element()->isTextFormControlMouseFocusable();
+ return false;
}
bool InputType::shouldUseInputMethod() const

Powered by Google App Engine
This is Rietveld 408576698