Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
|
tkent
2016/12/06 07:00:16
Please add FormAssociated.h to core/html/BUILD.gn.
| |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef FormAssociated_h | |
| 6 #define FormAssociated_h | |
| 7 | |
| 8 namespace blink { | |
| 9 | |
| 10 class HTMLFormElement; | |
| 11 | |
| 12 // Contains code to associate form with a form associated element | |
| 13 // https://html.spec.whatwg.org/multipage/forms.html#form-associated-element | |
| 14 class FormAssociated { | |
| 15 public: | |
| 16 // HTMLFormElement can be null | |
| 17 virtual void associateWith(HTMLFormElement*) = 0; | |
| 18 }; | |
| 19 | |
| 20 } // namespace blink | |
| 21 | |
| 22 #endif // FormAssociated_h | |
| OLD | NEW |