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

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

Issue 995363002: Implement autocapitalize in Blink to be used by the embedder. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: update webexposed tests Created 5 years, 9 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
« no previous file with comments | « Source/core/html/forms/InputType.h ('k') | Source/core/html/forms/SearchInputType.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/forms/InputType.cpp
diff --git a/Source/core/html/forms/InputType.cpp b/Source/core/html/forms/InputType.cpp
index c3cbe6bed93911b7a51e657eadfccb956892a9e8..8deadbe4c2e35a590cae0fefee2f01329ea0274a 100644
--- a/Source/core/html/forms/InputType.cpp
+++ b/Source/core/html/forms/InputType.cpp
@@ -705,6 +705,17 @@ const QualifiedName& InputType::subResourceAttributeName() const
return QualifiedName::null();
}
+bool InputType::supportsAutocapitalize() const
+{
+ return false;
+}
+
+const AtomicString& InputType::defaultAutocapitalize() const
+{
+ DEFINE_STATIC_LOCAL(const AtomicString, none, ("none", AtomicString::ConstructFromLiteral));
+ return none;
+}
+
bool InputType::shouldAppearIndeterminate() const
{
return false;
« no previous file with comments | « Source/core/html/forms/InputType.h ('k') | Source/core/html/forms/SearchInputType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698