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

Unified Diff: Source/web/WebTextAreaElement.cpp

Issue 194923003: Move common methods to WebFormControlElement interface (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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/web/WebSelectElement.cpp ('k') | public/web/WebFormControlElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebTextAreaElement.cpp
diff --git a/Source/web/WebTextAreaElement.cpp b/Source/web/WebTextAreaElement.cpp
index 4f6a6851ffa031a904d8247b5158bb37bbf7f89f..7ea4e8b9a586c9ab06042297a7aa3796fbb5e003 100644
--- a/Source/web/WebTextAreaElement.cpp
+++ b/Source/web/WebTextAreaElement.cpp
@@ -40,41 +40,6 @@ using namespace WebCore;
namespace blink {
-void WebTextAreaElement::setValue(const WebString& value)
-{
- unwrap<HTMLTextAreaElement>()->setValue(value);
-}
-
-WebString WebTextAreaElement::value() const
-{
- return constUnwrap<HTMLTextAreaElement>()->value();
-}
-
-void WebTextAreaElement::setSuggestedValue(const WebString& value)
-{
- unwrap<HTMLTextAreaElement>()->setSuggestedValue(value);
-}
-
-WebString WebTextAreaElement::suggestedValue() const
-{
- return constUnwrap<HTMLTextAreaElement>()->suggestedValue();
-}
-
-void WebTextAreaElement::setSelectionRange(int start, int end)
-{
- unwrap<HTMLTextAreaElement>()->setSelectionRange(start, end);
-}
-
-bool WebTextAreaElement::autoComplete() const
-{
- return constUnwrap<HTMLTextAreaElement>()->shouldAutocomplete();
-}
-
-WebString WebTextAreaElement::directionForFormData() const
-{
- return constUnwrap<HTMLTextAreaElement>()->directionForFormData();
-}
-
WebTextAreaElement::WebTextAreaElement(const PassRefPtr<HTMLTextAreaElement>& element)
: WebFormControlElement(element)
{
« no previous file with comments | « Source/web/WebSelectElement.cpp ('k') | public/web/WebFormControlElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698