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

Unified Diff: third_party/WebKit/Source/core/fetch/StyleSheetResourceClient.h

Issue 1819593002: Preload scan external css for @import (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: kinuko@ review: updated comment and clear m_resource when finished Created 4 years, 8 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/fetch/StyleSheetResourceClient.h
diff --git a/third_party/WebKit/Source/core/fetch/StyleSheetResourceClient.h b/third_party/WebKit/Source/core/fetch/StyleSheetResourceClient.h
index 9656bd0f3d1088657e1e3282abc9cec24f410430..62c9475d06611cefe3a0c3b6543d49b81ae49d43 100644
--- a/third_party/WebKit/Source/core/fetch/StyleSheetResourceClient.h
+++ b/third_party/WebKit/Source/core/fetch/StyleSheetResourceClient.h
@@ -40,6 +40,10 @@ public:
ResourceClientType getResourceClientType() const final { return StyleSheetType; }
virtual void setCSSStyleSheet(const String& /* href */, const KURL& /* baseURL */, const String& /* charset */, const CSSStyleSheetResource*) {}
virtual void setXSLStyleSheet(const String& /* href */, const KURL& /* baseURL */, const String& /* sheet */) {}
+
+ // This gets called on the very first appendData call for the
+ // CSSStyleSheetResource.
+ virtual void didAppendFirstData(const CSSStyleSheetResource*) {}
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698