| Index: third_party/WebKit/Source/core/dom/custom/V0CustomElementRegistrationContext.h
|
| diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementRegistrationContext.h b/third_party/WebKit/Source/core/dom/custom/V0CustomElementRegistrationContext.h
|
| similarity index 70%
|
| rename from third_party/WebKit/Source/core/dom/custom/CustomElementRegistrationContext.h
|
| rename to third_party/WebKit/Source/core/dom/custom/V0CustomElementRegistrationContext.h
|
| index 42b9a8874a833245ac807d1b09e753cf046fbb6e..b3e41662c75cfc24399d164b98f21cd5c5c4278f 100644
|
| --- a/third_party/WebKit/Source/core/dom/custom/CustomElementRegistrationContext.h
|
| +++ b/third_party/WebKit/Source/core/dom/custom/V0CustomElementRegistrationContext.h
|
| @@ -28,41 +28,41 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef CustomElementRegistrationContext_h
|
| -#define CustomElementRegistrationContext_h
|
| +#ifndef V0CustomElementRegistrationContext_h
|
| +#define V0CustomElementRegistrationContext_h
|
|
|
| #include "core/dom/QualifiedName.h"
|
| -#include "core/dom/custom/CustomElementDescriptor.h"
|
| -#include "core/dom/custom/CustomElementRegistry.h"
|
| -#include "core/dom/custom/CustomElementUpgradeCandidateMap.h"
|
| +#include "core/dom/custom/V0CustomElementDescriptor.h"
|
| +#include "core/dom/custom/V0CustomElementRegistry.h"
|
| +#include "core/dom/custom/V0CustomElementUpgradeCandidateMap.h"
|
| #include "platform/heap/Handle.h"
|
| #include "wtf/text/AtomicString.h"
|
|
|
| namespace blink {
|
|
|
| -class CustomElementRegistrationContext final : public GarbageCollectedFinalized<CustomElementRegistrationContext> {
|
| +class V0CustomElementRegistrationContext final : public GarbageCollectedFinalized<V0CustomElementRegistrationContext> {
|
| public:
|
| - static CustomElementRegistrationContext* create()
|
| + static V0CustomElementRegistrationContext* create()
|
| {
|
| - return new CustomElementRegistrationContext();
|
| + return new V0CustomElementRegistrationContext();
|
| }
|
|
|
| - ~CustomElementRegistrationContext() { }
|
| + ~V0CustomElementRegistrationContext() { }
|
| void documentWasDetached() { m_registry.documentWasDetached(); }
|
|
|
| // Definitions
|
| - void registerElement(Document*, CustomElementConstructorBuilder*, const AtomicString& type, CustomElement::NameSet validNames, ExceptionState&);
|
| + void registerElement(Document*, V0CustomElementConstructorBuilder*, const AtomicString& type, V0CustomElement::NameSet validNames, ExceptionState&);
|
|
|
| Element* createCustomTagElement(Document&, const QualifiedName&);
|
| static void setIsAttributeAndTypeExtension(Element*, const AtomicString& type);
|
| static void setTypeExtension(Element*, const AtomicString& type);
|
|
|
| - void resolve(Element*, const CustomElementDescriptor&);
|
| + void resolve(Element*, const V0CustomElementDescriptor&);
|
|
|
| DECLARE_TRACE();
|
|
|
| protected:
|
| - CustomElementRegistrationContext();
|
| + V0CustomElementRegistrationContext();
|
|
|
| // Instance creation
|
| void didGiveTypeExtension(Element*, const AtomicString& type);
|
| @@ -70,13 +70,13 @@ protected:
|
| private:
|
| void resolveOrScheduleResolution(Element*, const AtomicString& typeExtension);
|
|
|
| - CustomElementRegistry m_registry;
|
| + V0CustomElementRegistry m_registry;
|
|
|
| // Element creation
|
| - Member<CustomElementUpgradeCandidateMap> m_candidates;
|
| + Member<V0CustomElementUpgradeCandidateMap> m_candidates;
|
| };
|
|
|
| } // namespace blink
|
|
|
| -#endif // CustomElementRegistrationContext_h
|
| +#endif // V0CustomElementRegistrationContext_h
|
|
|
|
|