Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(98)

Unified Diff: sky/engine/core/dom/custom/CustomElementDefinition.h

Issue 885713004: Remove CustomElementDescriptor. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/core/core.gni ('k') | sky/engine/core/dom/custom/CustomElementDefinition.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/custom/CustomElementDefinition.h
diff --git a/sky/engine/core/dom/custom/CustomElementDefinition.h b/sky/engine/core/dom/custom/CustomElementDefinition.h
index b9bb2bddc49fd0c6c9a9da0fb97927c29c4cfd8b..751e10577b2dcb0b9d818e3434f9ea8e41373aae 100644
--- a/sky/engine/core/dom/custom/CustomElementDefinition.h
+++ b/sky/engine/core/dom/custom/CustomElementDefinition.h
@@ -31,24 +31,24 @@
#ifndef SKY_ENGINE_CORE_DOM_CUSTOM_CUSTOMELEMENTDEFINITION_H_
#define SKY_ENGINE_CORE_DOM_CUSTOM_CUSTOMELEMENTDEFINITION_H_
-#include "sky/engine/core/dom/custom/CustomElementDescriptor.h"
#include "sky/engine/core/dom/custom/CustomElementLifecycleCallbacks.h"
#include "sky/engine/wtf/PassRefPtr.h"
#include "sky/engine/wtf/RefCounted.h"
+#include "sky/engine/wtf/text/AtomicString.h"
namespace blink {
class CustomElementDefinition final : public RefCounted<CustomElementDefinition> {
public:
- static PassRefPtr<CustomElementDefinition> create(const CustomElementDescriptor&, PassRefPtr<CustomElementLifecycleCallbacks>);
+ static PassRefPtr<CustomElementDefinition> create(const AtomicString& localName, PassRefPtr<CustomElementLifecycleCallbacks>);
- const CustomElementDescriptor& descriptor() const { return m_descriptor; }
+ const AtomicString& localName() const { return m_localName; }
CustomElementLifecycleCallbacks* callbacks() const { return m_callbacks.get(); }
private:
- CustomElementDefinition(const CustomElementDescriptor&, PassRefPtr<CustomElementLifecycleCallbacks>);
+ CustomElementDefinition(const AtomicString& localName, PassRefPtr<CustomElementLifecycleCallbacks>);
- CustomElementDescriptor m_descriptor;
+ AtomicString m_localName;
RefPtr<CustomElementLifecycleCallbacks> m_callbacks;
};
« no previous file with comments | « sky/engine/core/core.gni ('k') | sky/engine/core/dom/custom/CustomElementDefinition.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698