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

Unified Diff: Source/core/html/HTMLInputElement.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: 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.h
diff --git a/Source/core/html/HTMLInputElement.h b/Source/core/html/HTMLInputElement.h
index 3f17134962c185b23e2be840ecf247b96388fd72..b907c728a5bdd45c516f463869cc928db58d98ee 100644
--- a/Source/core/html/HTMLInputElement.h
+++ b/Source/core/html/HTMLInputElement.h
@@ -335,6 +335,8 @@ private:
virtual void handleFocusEvent(Element* oldFocusedElement, WebFocusType) override final;
virtual void handleBlurEvent() override final;
virtual void dispatchFocusInEvent(const AtomicString& eventType, Element* oldFocusedElement, WebFocusType) override final;
+ virtual bool supportsAutocapitalize() const override final;
+ virtual TextFieldAutocapitalize defaultAutocapitalizeValue() const override final;
virtual bool isOptionalFormControl() const override final { return !isRequiredFormControl(); }
virtual bool isRequiredFormControl() const override final;

Powered by Google App Engine
This is Rietveld 408576698