| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CustomElement_h | 5 #ifndef CustomElement_h |
| 6 #define CustomElement_h | 6 #define CustomElement_h |
| 7 | 7 |
| 8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
| 9 #include "core/HTMLNames.h" | 9 #include "core/HTMLNames.h" |
| 10 #include "core/dom/Element.h" | 10 #include "core/dom/Element.h" |
| 11 #include "platform/text/Character.h" | 11 #include "platform/text/Character.h" |
| 12 #include "wtf/ASCIICType.h" | 12 #include "platform/wtf/ASCIICType.h" |
| 13 #include "wtf/Allocator.h" | 13 #include "platform/wtf/Allocator.h" |
| 14 #include "wtf/text/AtomicString.h" | 14 #include "platform/wtf/text/AtomicString.h" |
| 15 | 15 |
| 16 namespace blink { | 16 namespace blink { |
| 17 | 17 |
| 18 class Document; | 18 class Document; |
| 19 class Element; | 19 class Element; |
| 20 class HTMLElement; | 20 class HTMLElement; |
| 21 class QualifiedName; | 21 class QualifiedName; |
| 22 class CustomElementDefinition; | 22 class CustomElementDefinition; |
| 23 class CustomElementReaction; | 23 class CustomElementReaction; |
| 24 class CustomElementRegistry; | 24 class CustomElementRegistry; |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 // like font-face in SVG. The custom elements spec explicitly | 97 // like font-face in SVG. The custom elements spec explicitly |
| 98 // disallows these as custom element names. | 98 // disallows these as custom element names. |
| 99 // https://html.spec.whatwg.org/#valid-custom-element-name | 99 // https://html.spec.whatwg.org/#valid-custom-element-name |
| 100 static bool IsHyphenatedSpecElementName(const AtomicString&); | 100 static bool IsHyphenatedSpecElementName(const AtomicString&); |
| 101 static HTMLElement* CreateUndefinedElement(Document&, const QualifiedName&); | 101 static HTMLElement* CreateUndefinedElement(Document&, const QualifiedName&); |
| 102 }; | 102 }; |
| 103 | 103 |
| 104 } // namespace blink | 104 } // namespace blink |
| 105 | 105 |
| 106 #endif // CustomElement_h | 106 #endif // CustomElement_h |
| OLD | NEW |