| 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 16 matching lines...) Expand all Loading... |
| 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 V0CustomElementUpgradeCandidateMap_h | 31 #ifndef V0CustomElementUpgradeCandidateMap_h |
| 32 #define V0CustomElementUpgradeCandidateMap_h | 32 #define V0CustomElementUpgradeCandidateMap_h |
| 33 | 33 |
| 34 #include "core/dom/custom/V0CustomElementDescriptor.h" | 34 #include "core/dom/custom/V0CustomElementDescriptor.h" |
| 35 #include "core/dom/custom/V0CustomElementDescriptorHash.h" | 35 #include "core/dom/custom/V0CustomElementDescriptorHash.h" |
| 36 #include "core/dom/custom/V0CustomElementObserver.h" | 36 #include "core/dom/custom/V0CustomElementObserver.h" |
| 37 #include "wtf/HashMap.h" | 37 #include "platform/wtf/HashMap.h" |
| 38 #include "wtf/LinkedHashSet.h" | 38 #include "platform/wtf/LinkedHashSet.h" |
| 39 #include "wtf/Noncopyable.h" | 39 #include "platform/wtf/Noncopyable.h" |
| 40 | 40 |
| 41 namespace blink { | 41 namespace blink { |
| 42 | 42 |
| 43 class V0CustomElementUpgradeCandidateMap final | 43 class V0CustomElementUpgradeCandidateMap final |
| 44 : public V0CustomElementObserver { | 44 : public V0CustomElementObserver { |
| 45 WTF_MAKE_NONCOPYABLE(V0CustomElementUpgradeCandidateMap); | 45 WTF_MAKE_NONCOPYABLE(V0CustomElementUpgradeCandidateMap); |
| 46 | 46 |
| 47 public: | 47 public: |
| 48 static V0CustomElementUpgradeCandidateMap* Create(); | 48 static V0CustomElementUpgradeCandidateMap* Create(); |
| 49 ~V0CustomElementUpgradeCandidateMap() override; | 49 ~V0CustomElementUpgradeCandidateMap() override; |
| (...skipping 17 matching lines...) Expand all Loading... |
| 67 UpgradeCandidateMap upgrade_candidates_; | 67 UpgradeCandidateMap upgrade_candidates_; |
| 68 | 68 |
| 69 typedef HeapHashMap<V0CustomElementDescriptor, Member<ElementSet>> | 69 typedef HeapHashMap<V0CustomElementDescriptor, Member<ElementSet>> |
| 70 UnresolvedDefinitionMap; | 70 UnresolvedDefinitionMap; |
| 71 UnresolvedDefinitionMap unresolved_definitions_; | 71 UnresolvedDefinitionMap unresolved_definitions_; |
| 72 }; | 72 }; |
| 73 | 73 |
| 74 } // namespace blink | 74 } // namespace blink |
| 75 | 75 |
| 76 #endif // V0CustomElementUpgradeCandidateMap_h | 76 #endif // V0CustomElementUpgradeCandidateMap_h |
| OLD | NEW |