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

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

Issue 2537133005: New interface and function for form association (Closed)
Patch Set: Added to BUILD.gn 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..6c5d7e188fe84001f1019178c584e0bf23b380ad 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* toFormAssociatedOrNull() { return nullptr; };
+
protected:
HTMLElement(const QualifiedName& tagName, Document&, ConstructionType);
« no previous file with comments | « third_party/WebKit/Source/core/html/FormAssociated.h ('k') | third_party/WebKit/Source/core/html/HTMLFormControlElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698