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

Unified Diff: Source/core/html/HTMLInputElement.h

Issue 551283002: Remove HTMLInputElement::isText and isTextType. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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/accessibility/AXNodeObject.cpp ('k') | Source/core/html/HTMLInputElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLInputElement.h
diff --git a/Source/core/html/HTMLInputElement.h b/Source/core/html/HTMLInputElement.h
index 5623953e2440ba9d7c0607f58e5944798daf79c2..dc2c57d723a6d0a94e58b26dfc4b6e685d67f357 100644
--- a/Source/core/html/HTMLInputElement.h
+++ b/Source/core/html/HTMLInputElement.h
@@ -90,12 +90,6 @@ public:
// Returns true if the type is email, number, password, search, tel, text,
// or url.
bool isTextField() const;
- // Returns true if the type is email, password, search, tel, text, or url.
- // FIXME: It's highly likely that any call site calling this function should instead
- // be using a different one. Many input elements behave like text fields, and in addition
- // any unknown input type is treated as text. Consider, for example, isTextField or
- // isTextField && !isPasswordField.
- bool isText() const;
bool checked() const { return m_isChecked; }
void setChecked(bool, TextFieldEventBehavior = DispatchNoEvent);
@@ -321,7 +315,6 @@ private:
virtual bool isInRange() const OVERRIDE FINAL;
virtual bool isOutOfRange() const OVERRIDE FINAL;
- bool isTextType() const;
bool tooLong(const String&, NeedsToCheckDirtyFlag) const;
virtual bool supportsPlaceholder() const OVERRIDE FINAL;
« no previous file with comments | « Source/core/accessibility/AXNodeObject.cpp ('k') | Source/core/html/HTMLInputElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698