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

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: 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/HTMLInputElement.h ('k') | Source/core/html/HTMLInputElement.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLInputElement.cpp
diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp
index df60ee42127e438bf7fe187cd0d1cfb45eff518d..2b34a308421d0b4af1d25a67f6225484a23db297 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();
+}
+
+const AtomicString& HTMLInputElement::defaultAutocapitalize() const
+{
+ return m_inputType->defaultAutocapitalize();
+}
+
String HTMLInputElement::defaultToolTip() const
{
return m_inputType->defaultToolTip();
« no previous file with comments | « Source/core/html/HTMLInputElement.h ('k') | Source/core/html/HTMLInputElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698