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

Unified Diff: sky/engine/core/dom/Document.h

Issue 723583002: Make the parser an implementation detail of the Document (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Rename textPosition to parserPosition Created 6 years, 1 month 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/bindings/core/v8/ScriptController.cpp ('k') | sky/engine/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/Document.h
diff --git a/sky/engine/core/dom/Document.h b/sky/engine/core/dom/Document.h
index d8dbea8174a9c4e57420f0424d779b0cf8fc0e5c..8ac88d09cdf4d56e85f745a4da14dad4667b425a 100644
--- a/sky/engine/core/dom/Document.h
+++ b/sky/engine/core/dom/Document.h
@@ -302,7 +302,7 @@ public:
DocumentLoadTiming* timing() const;
- void startParsing();
+ DocumentParser* startParsing();
void cancelParsing();
// close() is the DOM API document.close()
@@ -335,8 +335,7 @@ public:
CSSStyleSheet& elementSheet();
- DocumentParser* parser() const { return m_parser.get(); }
- HTMLDocumentParser* scriptableDocumentParser() const;
+ TextPosition parserPosition() const;
enum ReadyState {
Loading,
@@ -638,6 +637,7 @@ private:
void updateRenderTree(StyleRecalcChange);
void updateStyle(StyleRecalcChange);
+ HTMLDocumentParser* scriptableDocumentParser() const;
void detachParser();
virtual bool isDocument() const override final { return true; }
« no previous file with comments | « sky/engine/bindings/core/v8/ScriptController.cpp ('k') | sky/engine/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698