| Index: third_party/WebKit/Source/core/dom/custom/V0CustomElementUpgradeCandidateMap.h
|
| diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementUpgradeCandidateMap.h b/third_party/WebKit/Source/core/dom/custom/V0CustomElementUpgradeCandidateMap.h
|
| similarity index 66%
|
| rename from third_party/WebKit/Source/core/dom/custom/CustomElementUpgradeCandidateMap.h
|
| rename to third_party/WebKit/Source/core/dom/custom/V0CustomElementUpgradeCandidateMap.h
|
| index 4daf82dd3e31ddeabc463abd0ce9b0b75331eef9..53ca68f4d27a07dd43cc1c64eb45fc3e5c1d7673 100644
|
| --- a/third_party/WebKit/Source/core/dom/custom/CustomElementUpgradeCandidateMap.h
|
| +++ b/third_party/WebKit/Source/core/dom/custom/V0CustomElementUpgradeCandidateMap.h
|
| @@ -28,45 +28,45 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef CustomElementUpgradeCandidateMap_h
|
| -#define CustomElementUpgradeCandidateMap_h
|
| +#ifndef V0CustomElementUpgradeCandidateMap_h
|
| +#define V0CustomElementUpgradeCandidateMap_h
|
|
|
| -#include "core/dom/custom/CustomElementDescriptor.h"
|
| -#include "core/dom/custom/CustomElementDescriptorHash.h"
|
| -#include "core/dom/custom/CustomElementObserver.h"
|
| +#include "core/dom/custom/V0CustomElementDescriptor.h"
|
| +#include "core/dom/custom/V0CustomElementDescriptorHash.h"
|
| +#include "core/dom/custom/V0CustomElementObserver.h"
|
| #include "wtf/HashMap.h"
|
| #include "wtf/LinkedHashSet.h"
|
| #include "wtf/Noncopyable.h"
|
|
|
| namespace blink {
|
|
|
| -class CustomElementUpgradeCandidateMap final : public CustomElementObserver {
|
| - WTF_MAKE_NONCOPYABLE(CustomElementUpgradeCandidateMap);
|
| +class V0CustomElementUpgradeCandidateMap final : public V0CustomElementObserver {
|
| + WTF_MAKE_NONCOPYABLE(V0CustomElementUpgradeCandidateMap);
|
| public:
|
| - static CustomElementUpgradeCandidateMap* create();
|
| - ~CustomElementUpgradeCandidateMap() override;
|
| + static V0CustomElementUpgradeCandidateMap* create();
|
| + ~V0CustomElementUpgradeCandidateMap() override;
|
|
|
| - // API for CustomElementRegistrationContext to save and take candidates
|
| + // API for V0CustomElementRegistrationContext to save and take candidates
|
|
|
| typedef HeapLinkedHashSet<WeakMember<Element>> ElementSet;
|
|
|
| - void add(const CustomElementDescriptor&, Element*);
|
| - ElementSet* takeUpgradeCandidatesFor(const CustomElementDescriptor&);
|
| + void add(const V0CustomElementDescriptor&, Element*);
|
| + ElementSet* takeUpgradeCandidatesFor(const V0CustomElementDescriptor&);
|
|
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| private:
|
| - CustomElementUpgradeCandidateMap() { }
|
| + V0CustomElementUpgradeCandidateMap() { }
|
|
|
| void elementWasDestroyed(Element*) override;
|
|
|
| - typedef HeapHashMap<WeakMember<Element>, CustomElementDescriptor> UpgradeCandidateMap;
|
| + typedef HeapHashMap<WeakMember<Element>, V0CustomElementDescriptor> UpgradeCandidateMap;
|
| UpgradeCandidateMap m_upgradeCandidates;
|
|
|
| - typedef HeapHashMap<CustomElementDescriptor, Member<ElementSet>> UnresolvedDefinitionMap;
|
| + typedef HeapHashMap<V0CustomElementDescriptor, Member<ElementSet>> UnresolvedDefinitionMap;
|
| UnresolvedDefinitionMap m_unresolvedDefinitions;
|
| };
|
|
|
| } // namespace blink
|
|
|
| -#endif // CustomElementUpgradeCandidateMap_h
|
| +#endif // V0CustomElementUpgradeCandidateMap_h
|
|
|