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

Unified Diff: third_party/WebKit/Source/core/html/HTMLElement.h

Issue 2537133005: New interface and function for form association (Closed)
Patch Set: Add interface to ListedElement and HTMLImageElement Created 4 years 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: third_party/WebKit/Source/core/html/HTMLElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLElement.h b/third_party/WebKit/Source/core/html/HTMLElement.h
index 9ad60ed559ed3b682f782e35b2d26e7db18a71bb..342d8df69316078fc1f995ab0c6f7366b8f02af1 100644
--- a/third_party/WebKit/Source/core/html/HTMLElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLElement.h
@@ -29,9 +29,10 @@
namespace blink {
class DocumentFragment;
+class ExceptionState;
+class FormAssociated;
class HTMLFormElement;
class HTMLMenuElement;
-class ExceptionState;
class KeyboardEvent;
enum TranslateAttributeMode {
@@ -119,6 +120,8 @@ class CORE_EXPORT HTMLElement : public Element {
Element* unclosedOffsetParent();
+ virtual FormAssociated* toFormAssociated() { return nullptr; };
tkent 2016/12/05 01:53:50 We avoid to add such conversion functions to Eleme
+
protected:
HTMLElement(const QualifiedName& tagName, Document&, ConstructionType);

Powered by Google App Engine
This is Rietveld 408576698