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

Unified Diff: third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.h

Issue 2042413002: Notify the HTMLDocumentParser on document element available (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: insertedByParser after actual insertion point Created 4 years, 6 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/html/parser/HTMLDocumentParser.h
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.h b/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.h
index 2c9811cad4281749824f4b7e0c1afed94d9b23b0..11273d40725557b65e03884c0ebf2fa1a7b40ae6 100644
--- a/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.h
+++ b/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.h
@@ -139,6 +139,7 @@ private:
bool isWaitingForScripts() const final;
bool isExecutingScript() const final;
void executeScriptsWaitingForResources() final;
+ void documentElementAvailable() override;
// HTMLScriptRunnerHost
void notifyScriptLoaded(Resource*) final;
@@ -174,8 +175,6 @@ private:
bool inPumpSession() const { return m_pumpSessionNestingLevel > 0; }
bool shouldDelayEnd() const { return inPumpSession() || isWaitingForScripts() || isScheduledForResume() || isExecutingScript(); }
- void pumpPreloadQueue();
-
PassOwnPtr<HTMLPreloadScanner> createPreloadScanner();
int preloadInsertion(const SegmentedString& source);

Powered by Google App Engine
This is Rietveld 408576698