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

Unified Diff: Source/core/dom/Element.h

Issue 137833018: Remove form control related virtual methods from Element (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add HTMLFormControlElement.setFocus as suggested Created 6 years, 11 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/dom/Document.cpp ('k') | Source/core/html/HTMLFormControlElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Element.h
diff --git a/Source/core/dom/Element.h b/Source/core/dom/Element.h
index ff899822534bda2e6f24c4e82643280cf7dd64f6..e563b48206418cce596aa72f8cd8e2756bfa4efc 100644
--- a/Source/core/dom/Element.h
+++ b/Source/core/dom/Element.h
@@ -469,13 +469,6 @@ public:
virtual bool canContainRangeEndPoint() const OVERRIDE { return true; }
- virtual const AtomicString& formControlType() const { return nullAtom; }
-
- // FIXME: Only HTMLInputElement uses these, they don't need to be virtual.
- virtual bool wasChangedSinceLastFormControlChangeEvent() const { return false; }
- virtual void setChangedSinceLastFormControlChangeEvent(bool) { }
- virtual void dispatchFormControlChangeEvent() { }
-
// Used for disabled form elements; if true, prevents mouse events from being dispatched
// to event listeners, and prevents DOMActivate events from being sent at all.
virtual bool isDisabledFormControl() const { return false; }
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/html/HTMLFormControlElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698