Index: sky/engine/core/dom/Document.h |
diff --git a/sky/engine/core/dom/Document.h b/sky/engine/core/dom/Document.h |
index 3c7cd76af5ea3192dce967e74f3f9f7c4ed390cb..c75a8dea53163734419fc0d4fd4fe186c3802499 100644 |
--- a/sky/engine/core/dom/Document.h |
+++ b/sky/engine/core/dom/Document.h |
@@ -60,6 +60,7 @@ |
namespace blink { |
+class AbstractModule; |
class AnimationTimeline; |
class Attr; |
class CSSStyleDeclaration; |
@@ -196,6 +197,9 @@ public: |
Element* activeElement() const; |
bool hasFocus() const; |
+ AbstractModule* module() const { return m_module; } |
+ void setModule(AbstractModule* module) { m_module = module; } |
+ |
// DOM methods & attributes for Document |
Length viewportDefaultMinWidth() const { return m_viewportDefaultMinWidth; } |
@@ -342,9 +346,6 @@ public: |
const KURL& url() const { return m_url; } |
void setURL(const KURL&); |
- ScriptValue exports() const { return m_exports; } |
- void setExports(ScriptValue exports) { m_exports = exports; } |
- |
// To understand how these concepts relate to one another, please see the |
// comments surrounding their declaration. |
const KURL& baseURL() const { return m_baseURL; } |
@@ -713,6 +714,8 @@ private: |
DocumentLifecycle m_lifecycle; |
+ AbstractModule* m_module; |
+ |
bool m_hasNodesWithPlaceholderStyle; |
bool m_evaluateMediaQueriesOnStyleRecalc; |
@@ -765,8 +768,6 @@ private: |
TextLinkColors m_textLinkColors; |
- ScriptValue m_exports; |
- |
ReadyState m_readyState; |
bool m_isParsing; |