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

Unified Diff: third_party/WebKit/Source/core/html/FormAssociated.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
« no previous file with comments | « third_party/WebKit/Source/core/html/BUILD.gn ('k') | third_party/WebKit/Source/core/html/HTMLElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/html/FormAssociated.h
diff --git a/third_party/WebKit/Source/core/html/FormAssociated.h b/third_party/WebKit/Source/core/html/FormAssociated.h
new file mode 100644
index 0000000000000000000000000000000000000000..a10c515493fb5a8dad4b30025d2ad150138d7ada
--- /dev/null
+++ b/third_party/WebKit/Source/core/html/FormAssociated.h
@@ -0,0 +1,22 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef FormAssociated_h
+#define FormAssociated_h
+
+namespace blink {
+
+class HTMLFormElement;
+
+// Contains code to associate form with a form associated element
+// https://html.spec.whatwg.org/multipage/forms.html#form-associated-element
+class FormAssociated {
+ public:
+ // HTMLFormElement can be null
+ virtual void associateWith(HTMLFormElement*) = 0;
+};
+
+} // namespace blink
+
+#endif // FormAssociated_h
« no previous file with comments | « third_party/WebKit/Source/core/html/BUILD.gn ('k') | third_party/WebKit/Source/core/html/HTMLElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698