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

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

Issue 16194013: Mouse press should focus on any types of form controls. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 6 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/BaseDateAndTimeInputType.cpp
diff --git a/Source/core/html/BaseDateAndTimeInputType.cpp b/Source/core/html/BaseDateAndTimeInputType.cpp
index 37e293657b9479a4ee379fd39f943af0206106a8..41edea8e327178fe2aa98e6babb093d77dee4237 100644
--- a/Source/core/html/BaseDateAndTimeInputType.cpp
+++ b/Source/core/html/BaseDateAndTimeInputType.cpp
@@ -174,4 +174,9 @@ bool BaseDateAndTimeInputType::valueMissing(const String& value) const
return element()->isRequired() && value.isEmpty();
}
+bool BaseDateAndTimeInputType::shouldShowFocusRingOnMouseFocus() const
+{
+ return true;
+}
+
} // namespace WebCore
« no previous file with comments | « Source/core/html/BaseDateAndTimeInputType.h ('k') | Source/core/html/BaseMultipleFieldsDateAndTimeInputType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698