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

Unified Diff: Source/core/html/HTMLInputElement.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: ready for review 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
Index: Source/core/html/HTMLInputElement.cpp
diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp
index df60ee42127e438bf7fe187cd0d1cfb45eff518d..a45a2314adeb734c69f4369870d0933c7f5f5168 100644
--- a/Source/core/html/HTMLInputElement.cpp
+++ b/Source/core/html/HTMLInputElement.cpp
@@ -1701,6 +1701,16 @@ void HTMLInputElement::updateValueIfNeeded()
setValue(newValue);
}
+bool HTMLInputElement::supportsAutocapitalize() const
+{
+ return m_inputType->supportsAutocapitalize();
+}
+
+TextFieldAutocapitalize HTMLInputElement::defaultAutocapitalizeValue() const
+{
+ return m_inputType->defaultAutocapitalizeValue();
+}
+
String HTMLInputElement::defaultToolTip() const
{
return m_inputType->defaultToolTip();

Powered by Google App Engine
This is Rietveld 408576698