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

Unified Diff: Source/core/page/PageSerializer.h

Issue 1203873004: Retrieve resources from media and supports query rules while serializing (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Address nits Created 5 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
« no previous file with comments | « no previous file | Source/core/page/PageSerializer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/PageSerializer.h
diff --git a/Source/core/page/PageSerializer.h b/Source/core/page/PageSerializer.h
index 52f43c9e0012ade9e08280728680b357d248e09e..3ce28aa5f2a3862668812198a0b36dd519c99242 100644
--- a/Source/core/page/PageSerializer.h
+++ b/Source/core/page/PageSerializer.h
@@ -45,6 +45,7 @@ namespace blink {
class Attribute;
class FontResource;
class ImageResource;
+class CSSRule;
class CSSStyleSheet;
class CSSValue;
class Document;
@@ -86,6 +87,9 @@ private:
// It also adds any resources included in that stylesheet (including any imported stylesheets and their own resources).
void serializeCSSStyleSheet(CSSStyleSheet&, const KURL&);
+ // Serializes the css rule (including any imported stylesheets), adding referenced resources.
+ void serializeCSSRule(CSSRule*);
+
bool shouldAddURL(const KURL&);
void addToResources(Resource *, PassRefPtr<SharedBuffer>, const KURL&);
« no previous file with comments | « no previous file | Source/core/page/PageSerializer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698