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

Unified Diff: third_party/WebKit/Source/core/dom/ScriptableDocumentParser.h

Issue 2614663004: Pause HTML parser for external stylesheets in the body (Closed)
Patch Set: Fixed interaction with imports Created 3 years, 11 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: third_party/WebKit/Source/core/dom/ScriptableDocumentParser.h
diff --git a/third_party/WebKit/Source/core/dom/ScriptableDocumentParser.h b/third_party/WebKit/Source/core/dom/ScriptableDocumentParser.h
index 57abf35eaaf0582a33c83e4ee621d808c8030180..b24e30b6d27215d394b660b0e38a2bd7d486b59d 100644
--- a/third_party/WebKit/Source/core/dom/ScriptableDocumentParser.h
+++ b/third_party/WebKit/Source/core/dom/ScriptableDocumentParser.h
@@ -44,6 +44,8 @@ class CORE_EXPORT ScriptableDocumentParser : public DecodedDataDocumentParser {
virtual void executeScriptsWaitingForResources() {}
virtual bool isWaitingForScripts() const = 0;
+ virtual void didAddPendingStylesheetInBody() {}
+ virtual void didLoadAllStylesheets() {}
// These are used to expose the current line/column to the scripting system.
virtual bool isParsingAtLineNumber() const;

Powered by Google App Engine
This is Rietveld 408576698