| 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 18 matching lines...) Expand all Loading... |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #ifndef CustomElementRegistrationContext_h | 31 #ifndef CustomElementRegistrationContext_h |
| 32 #define CustomElementRegistrationContext_h | 32 #define CustomElementRegistrationContext_h |
| 33 | 33 |
| 34 #include "core/dom/QualifiedName.h" | 34 #include "core/dom/QualifiedName.h" |
| 35 #include "core/dom/custom/CustomElementDescriptor.h" | 35 #include "core/dom/custom/CustomElementDescriptor.h" |
| 36 #include "core/dom/custom/CustomElementRegistry.h" | 36 #include "core/dom/custom/CustomElementRegistry.h" |
| 37 #include "core/dom/custom/CustomElementUpgradeCandidateMap.h" | 37 #include "core/dom/custom/CustomElementUpgradeCandidateMap.h" |
| 38 #include "platform/heap/Handle.h" | 38 #include "platform/heap/Handle.h" |
| 39 #include "wtf/HashMap.h" | |
| 40 #include "wtf/PassOwnPtr.h" | |
| 41 #include "wtf/PassRefPtr.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 CustomElementRegistrationContext final : public GarbageCollectedFinalized<
CustomElementRegistrationContext> { | 43 class CustomElementRegistrationContext final : public GarbageCollectedFinalized<
CustomElementRegistrationContext> { |
| 47 public: | 44 public: |
| 48 static RawPtr<CustomElementRegistrationContext> create() | 45 static RawPtr<CustomElementRegistrationContext> create() |
| 49 { | 46 { |
| 50 return new CustomElementRegistrationContext(); | 47 return new CustomElementRegistrationContext(); |
| 51 } | 48 } |
| (...skipping 24 matching lines...) Expand all Loading... |
| 76 CustomElementRegistry m_registry; | 73 CustomElementRegistry m_registry; |
| 77 | 74 |
| 78 // Element creation | 75 // Element creation |
| 79 Member<CustomElementUpgradeCandidateMap> m_candidates; | 76 Member<CustomElementUpgradeCandidateMap> m_candidates; |
| 80 }; | 77 }; |
| 81 | 78 |
| 82 } // namespace blink | 79 } // namespace blink |
| 83 | 80 |
| 84 #endif // CustomElementRegistrationContext_h | 81 #endif // CustomElementRegistrationContext_h |
| 85 | 82 |
| OLD | NEW |