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

Unified Diff: Source/core/html/HTMLTextAreaElement.h

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.idl ('k') | Source/core/html/HTMLTextAreaElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLTextAreaElement.h
diff --git a/Source/core/html/HTMLTextAreaElement.h b/Source/core/html/HTMLTextAreaElement.h
index f7936125d7e26b3b2a326dfd8e397ce1f3613f9e..2a8fa4e14d082f69b330d3cc94b341cc9631236c 100644
--- a/Source/core/html/HTMLTextAreaElement.h
+++ b/Source/core/html/HTMLTextAreaElement.h
@@ -90,6 +90,8 @@ private:
virtual void updatePlaceholderText() override;
virtual bool isEmptyValue() const override { return value().isEmpty(); }
virtual bool isEmptySuggestedValue() const override final { return suggestedValue().isEmpty(); }
+ virtual bool supportsAutocapitalize() const override { return true; }
+ virtual const AtomicString& defaultAutocapitalize() const override;
virtual bool isOptionalFormControl() const override { return !isRequiredFormControl(); }
virtual bool isRequiredFormControl() const override { return isRequired(); }
« no previous file with comments | « Source/core/html/HTMLInputElement.idl ('k') | Source/core/html/HTMLTextAreaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698