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

Unified Diff: Source/web/WebInputElement.cpp

Issue 133443011: Add text field change handling for autofill preview in textarea element. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update code as per tkent's comments 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
Index: Source/web/WebInputElement.cpp
diff --git a/Source/web/WebInputElement.cpp b/Source/web/WebInputElement.cpp
index c8e145efba5ba9af8aa799302ac8ee3c00a9d4d3..1c2aac8bfaa056091aa5b6e84a5729d00d0cb3ca 100644
--- a/Source/web/WebInputElement.cpp
+++ b/Source/web/WebInputElement.cpp
@@ -112,11 +112,6 @@ WebString WebInputElement::value() const
return constUnwrap<HTMLInputElement>()->value();
}
-WebString WebInputElement::editingValue() const
-{
- return constUnwrap<HTMLInputElement>()->innerTextValue();
-}
-
void WebInputElement::setEditingValue(const WebString& value)
{
unwrap<HTMLInputElement>()->setEditingValue(value);
@@ -137,16 +132,6 @@ void WebInputElement::setSelectionRange(int start, int end)
unwrap<HTMLInputElement>()->setSelectionRange(start, end);
}
-int WebInputElement::selectionStart() const
-{
- return constUnwrap<HTMLInputElement>()->selectionStart();
-}
-
-int WebInputElement::selectionEnd() const
-{
- return constUnwrap<HTMLInputElement>()->selectionEnd();
-}
-
bool WebInputElement::isValidValue(const WebString& value) const
{
return constUnwrap<HTMLInputElement>()->isValidValue(value);

Powered by Google App Engine
This is Rietveld 408576698