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

Unified Diff: public/web/WebInputElement.h

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 | « public/web/WebFormControlElement.h ('k') | public/web/WebSelectElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebInputElement.h
diff --git a/public/web/WebInputElement.h b/public/web/WebInputElement.h
index 9967b16be1e60982e82a090468c50e959fba9d09..e4250930835964933ec6cbcca9a53585122f93f6 100644
--- a/public/web/WebInputElement.h
+++ b/public/web/WebInputElement.h
@@ -69,21 +69,15 @@ namespace blink {
BLINK_EXPORT bool isImageButton() const;
BLINK_EXPORT bool isRadioButton() const;
BLINK_EXPORT bool isCheckbox() const;
- BLINK_EXPORT bool autoComplete() const;
BLINK_EXPORT int maxLength() const;
BLINK_EXPORT bool isActivatedSubmit() const;
BLINK_EXPORT void setActivatedSubmit(bool);
BLINK_EXPORT int size() const;
- BLINK_EXPORT void setValue(const WebString&, bool sendChangeEvent = false);
BLINK_EXPORT void setChecked(bool, bool sendChangeEvent = false);
- BLINK_EXPORT WebString value() const;
// Sets the value inside the text field without being sanitized.
// Can't be used if a renderer doesn't exist or on a non text field type.
// Caret will be moved to the end.
BLINK_EXPORT void setEditingValue(const WebString&);
- BLINK_EXPORT void setSuggestedValue(const WebString&);
- BLINK_EXPORT WebString suggestedValue() const;
- BLINK_EXPORT void setSelectionRange(int, int);
BLINK_EXPORT bool isValidValue(const WebString&) const;
BLINK_EXPORT bool isChecked() const;
BLINK_EXPORT bool isMultiple() const;
@@ -101,9 +95,6 @@ namespace blink {
// Exposes the default value of the maxLength attribute.
BLINK_EXPORT static int defaultMaxLength();
- // Returns the direction of the text in this element.
- BLINK_EXPORT WebString directionForFormData() const;
-
BLINK_EXPORT WebElement decorationElementFor(void*);
BLINK_EXPORT WebElement passwordGeneratorButtonElement() const;
« no previous file with comments | « public/web/WebFormControlElement.h ('k') | public/web/WebSelectElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698