Index: third_party/WebKit/Source/core/dom/custom/V0CustomElementRegistry.h |
diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementRegistry.h b/third_party/WebKit/Source/core/dom/custom/V0CustomElementRegistry.h |
similarity index 68% |
rename from third_party/WebKit/Source/core/dom/custom/CustomElementRegistry.h |
rename to third_party/WebKit/Source/core/dom/custom/V0CustomElementRegistry.h |
index b1b8436fb8f8c0347e333f7bc03b8ed5cfb716a0..f2b6cf6aec092c4b51a7eb637baa045d6942e1df 100644 |
--- a/third_party/WebKit/Source/core/dom/custom/CustomElementRegistry.h |
+++ b/third_party/WebKit/Source/core/dom/custom/V0CustomElementRegistry.h |
@@ -28,13 +28,13 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-#ifndef CustomElementRegistry_h |
-#define CustomElementRegistry_h |
+#ifndef V0CustomElementRegistry_h |
+#define V0CustomElementRegistry_h |
-#include "core/dom/custom/CustomElement.h" |
-#include "core/dom/custom/CustomElementDefinition.h" |
-#include "core/dom/custom/CustomElementDescriptor.h" |
-#include "core/dom/custom/CustomElementDescriptorHash.h" |
+#include "core/dom/custom/V0CustomElement.h" |
+#include "core/dom/custom/V0CustomElementDefinition.h" |
+#include "core/dom/custom/V0CustomElementDescriptor.h" |
+#include "core/dom/custom/V0CustomElementDescriptorHash.h" |
#include "wtf/HashMap.h" |
#include "wtf/HashSet.h" |
#include "wtf/text/AtomicString.h" |
@@ -42,26 +42,26 @@ |
namespace blink { |
-class CustomElementConstructorBuilder; |
+class V0CustomElementConstructorBuilder; |
class ExceptionState; |
-class CustomElementRegistry final { |
- WTF_MAKE_NONCOPYABLE(CustomElementRegistry); |
+class V0CustomElementRegistry final { |
+ WTF_MAKE_NONCOPYABLE(V0CustomElementRegistry); |
DISALLOW_NEW(); |
public: |
DECLARE_TRACE(); |
void documentWasDetached() { m_documentWasDetached = true; } |
protected: |
- friend class CustomElementRegistrationContext; |
+ friend class V0CustomElementRegistrationContext; |
- CustomElementRegistry() : m_documentWasDetached(false) { } |
+ V0CustomElementRegistry() : m_documentWasDetached(false) { } |
- CustomElementDefinition* registerElement(Document*, CustomElementConstructorBuilder*, const AtomicString& name, CustomElement::NameSet validNames, ExceptionState&); |
- CustomElementDefinition* find(const CustomElementDescriptor&) const; |
+ V0CustomElementDefinition* registerElement(Document*, V0CustomElementConstructorBuilder*, const AtomicString& name, V0CustomElement::NameSet validNames, ExceptionState&); |
+ V0CustomElementDefinition* find(const V0CustomElementDescriptor&) const; |
private: |
- typedef HeapHashMap<CustomElementDescriptor, Member<CustomElementDefinition>> DefinitionMap; |
+ typedef HeapHashMap<V0CustomElementDescriptor, Member<V0CustomElementDefinition>> DefinitionMap; |
DefinitionMap m_definitions; |
HashSet<AtomicString> m_registeredTypeNames; |
bool m_documentWasDetached; |
@@ -69,4 +69,4 @@ private: |
} // namespace blink |
-#endif // CustomElementRegistry_h |
+#endif // V0CustomElementRegistry_h |