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

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: 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
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..591000e1a6d36e6e6bcb0b2b447c21ec5cedafcf 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 textPosition() const;
eseidel 2014/11/12 19:02:14 What does this mean?
abarth-chromium 2014/11/12 21:13:57 It's the position (row and col) that's currently b
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; }

Powered by Google App Engine
This is Rietveld 408576698