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

Unified Diff: Source/core/dom/Element.h

Issue 177063004: Move custom element definitions into ElementRareData (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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
Index: Source/core/dom/Element.h
diff --git a/Source/core/dom/Element.h b/Source/core/dom/Element.h
index 97dab82ce0efbd0b40825c7dd30be4599ce860f7..9533ee60e9bc1de1d5f4feb25a40b05fd1357a51 100644
--- a/Source/core/dom/Element.h
+++ b/Source/core/dom/Element.h
@@ -43,6 +43,7 @@ class Attr;
class Attribute;
class ClientRect;
class ClientRectList;
+class CustomElementDefinition;
class DOMStringMap;
class DOMTokenList;
class ElementRareData;
@@ -473,6 +474,9 @@ public:
void clearHasPendingResources();
virtual void buildPendingResource() { };
+ void setCustomElementDefinition(PassRefPtr<CustomElementDefinition>);
+ CustomElementDefinition* customElementDefinition() const;
+
enum {
ALLOW_KEYBOARD_INPUT = 1 << 0,
LEGACY_MOZILLA_REQUEST = 1 << 1,

Powered by Google App Engine
This is Rietveld 408576698