Chromium Code Reviews| 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. |
|
tkent
2016/12/06 07:00:16
Please add FormAssociated.h to core/html/BUILD.gn.
|
| +// 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 |