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

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

Issue 167383002: Add functions for autocomplete, selectionRange, directioinForFormData for TextArea element. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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/HTMLTextAreaElement.h ('k') | Source/web/WebTextAreaElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLTextAreaElement.cpp
diff --git a/Source/core/html/HTMLTextAreaElement.cpp b/Source/core/html/HTMLTextAreaElement.cpp
index 196aa550578b9bd9a3c7e54103fa2949da1b2003..c082badfc0e9b4775ecbb9ec463c3008a2e3bc2f 100644
--- a/Source/core/html/HTMLTextAreaElement.cpp
+++ b/Source/core/html/HTMLTextAreaElement.cpp
@@ -98,6 +98,11 @@ void HTMLTextAreaElement::didAddUserAgentShadowRoot(ShadowRoot& root)
root.appendChild(TextControlInnerTextElement::create(document()));
}
+bool HTMLTextAreaElement::shouldAutocomplete() const
tkent 2014/02/16 23:56:05 This function adds nothing. We don't need to add
+{
+ return HTMLTextFormControlElement::shouldAutocomplete();
+}
+
const AtomicString& HTMLTextAreaElement::formControlType() const
{
DEFINE_STATIC_LOCAL(const AtomicString, textarea, ("textarea", AtomicString::ConstructFromLiteral));
« no previous file with comments | « Source/core/html/HTMLTextAreaElement.h ('k') | Source/web/WebTextAreaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698