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

Unified Diff: Source/core/html/HTMLLinkElement.h

Issue 166633002: Prefetch @import files from CSS files. Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Prefetching now handled just like for other resources. Created 6 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
Index: Source/core/html/HTMLLinkElement.h
diff --git a/Source/core/html/HTMLLinkElement.h b/Source/core/html/HTMLLinkElement.h
index a309741d438a92285273da75aeeb5a17810efa94..260ccc16cb4a7dc40cecdff0871e4ff03735b2e7 100644
--- a/Source/core/html/HTMLLinkElement.h
+++ b/Source/core/html/HTMLLinkElement.h
@@ -86,6 +86,7 @@ public:
private:
// From StyleSheetResourceClient
virtual void setCSSStyleSheet(const String& href, const KURL& baseURL, const String& charset, const CSSStyleSheetResource*) OVERRIDE;
+ virtual void dataReceived(const CSSStyleSheetResource* cachedStyleSheet, const char* data, int length) OVERRIDE;
enum DisabledState {
Unset,
@@ -115,6 +116,7 @@ private:
bool m_loading;
bool m_firedLoad;
bool m_loadedSheet;
+ bool m_isPreloadScanning;
};

Powered by Google App Engine
This is Rietveld 408576698