| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #ifndef V0CustomElement_h | 31 #ifndef V0CustomElement_h |
| 32 #define V0CustomElement_h | 32 #define V0CustomElement_h |
| 33 | 33 |
| 34 #include "core/CoreExport.h" | 34 #include "core/CoreExport.h" |
| 35 #include "core/dom/custom/V0CustomElementDefinition.h" | 35 #include "core/dom/custom/V0CustomElementDefinition.h" |
| 36 #include "wtf/Allocator.h" | 36 #include "platform/wtf/Allocator.h" |
| 37 #include "wtf/HashMap.h" | 37 #include "platform/wtf/HashMap.h" |
| 38 #include "wtf/Vector.h" | 38 #include "platform/wtf/Vector.h" |
| 39 #include "wtf/text/AtomicString.h" | 39 #include "platform/wtf/text/AtomicString.h" |
| 40 | 40 |
| 41 namespace blink { | 41 namespace blink { |
| 42 | 42 |
| 43 class V0CustomElementMicrotaskImportStep; | 43 class V0CustomElementMicrotaskImportStep; |
| 44 class Document; | 44 class Document; |
| 45 class HTMLImportChild; | 45 class HTMLImportChild; |
| 46 | 46 |
| 47 class CORE_EXPORT V0CustomElement { | 47 class CORE_EXPORT V0CustomElement { |
| 48 STATIC_ONLY(V0CustomElement); | 48 STATIC_ONLY(V0CustomElement); |
| 49 | 49 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 74 static void DidDetach(Element*, const Document&); | 74 static void DidDetach(Element*, const Document&); |
| 75 static void WasDestroyed(Element*); | 75 static void WasDestroyed(Element*); |
| 76 | 76 |
| 77 private: | 77 private: |
| 78 static Vector<AtomicString>& EmbedderCustomElementNames(); | 78 static Vector<AtomicString>& EmbedderCustomElementNames(); |
| 79 }; | 79 }; |
| 80 | 80 |
| 81 } // namespace blink | 81 } // namespace blink |
| 82 | 82 |
| 83 #endif // V0CustomElement_h | 83 #endif // V0CustomElement_h |
| OLD | NEW |