| 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 17 matching lines...) Expand all Loading... |
| 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 CustomElement_h | 31 #ifndef CustomElement_h |
| 32 #define CustomElement_h | 32 #define CustomElement_h |
| 33 | 33 |
| 34 #include "core/CoreExport.h" | 34 #include "core/CoreExport.h" |
| 35 #include "core/dom/custom/CustomElementDefinition.h" | 35 #include "core/dom/custom/CustomElementDefinition.h" |
| 36 #include "wtf/Allocator.h" | 36 #include "wtf/Allocator.h" |
| 37 #include "wtf/HashMap.h" | 37 #include "wtf/HashMap.h" |
| 38 #include "wtf/Noncopyable.h" | |
| 39 #include "wtf/PassRefPtr.h" | |
| 40 #include "wtf/RefPtr.h" | |
| 41 #include "wtf/Vector.h" | 38 #include "wtf/Vector.h" |
| 42 #include "wtf/text/AtomicString.h" | 39 #include "wtf/text/AtomicString.h" |
| 43 | 40 |
| 44 namespace blink { | 41 namespace blink { |
| 45 | 42 |
| 46 class CustomElementMicrotaskImportStep; | 43 class CustomElementMicrotaskImportStep; |
| 47 class Document; | 44 class Document; |
| 48 class HTMLImportChild; | 45 class HTMLImportChild; |
| 49 | 46 |
| 50 class CORE_EXPORT CustomElement { | 47 class CORE_EXPORT CustomElement { |
| (...skipping 21 matching lines...) Expand all Loading... |
| 72 static void didDetach(Element*, const Document&); | 69 static void didDetach(Element*, const Document&); |
| 73 static void wasDestroyed(Element*); | 70 static void wasDestroyed(Element*); |
| 74 | 71 |
| 75 private: | 72 private: |
| 76 static Vector<AtomicString>& embedderCustomElementNames(); | 73 static Vector<AtomicString>& embedderCustomElementNames(); |
| 77 }; | 74 }; |
| 78 | 75 |
| 79 } // namespace blink | 76 } // namespace blink |
| 80 | 77 |
| 81 #endif // CustomElement_h | 78 #endif // CustomElement_h |
| OLD | NEW |