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

Unified Diff: sky/engine/core/html/parser/BackgroundHTMLParser.h

Issue 934083002: Remove the concept of pendingScripts from HTMLScriptRunner (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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
« no previous file with comments | « sky/engine/core/dom/Document.h ('k') | sky/engine/core/html/parser/BackgroundHTMLParser.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/html/parser/BackgroundHTMLParser.h
diff --git a/sky/engine/core/html/parser/BackgroundHTMLParser.h b/sky/engine/core/html/parser/BackgroundHTMLParser.h
index aed7c04786b5869edef8532d3a3c47beb6dcc1e1..fa13ba22a95e839b467509308b53707728bbf282 100644
--- a/sky/engine/core/html/parser/BackgroundHTMLParser.h
+++ b/sky/engine/core/html/parser/BackgroundHTMLParser.h
@@ -66,7 +66,14 @@ private:
void markEndOfFile();
void pumpTokenizer();
void sendTokensToMainThread();
- bool updateTokenizerState(const CompactHTMLToken& token);
+
+ enum ContinueBehavior {
+ ContinueParsing,
+ SendTokensIncludingLast,
+ SendTokensExceptingLast,
+ };
+
+ ContinueBehavior updateTokenizerState(const CompactHTMLToken& token);
enum State {
InitialState,
« no previous file with comments | « sky/engine/core/dom/Document.h ('k') | sky/engine/core/html/parser/BackgroundHTMLParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698