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

Unified Diff: third_party/WebKit/Source/core/css/CSSImageValue.h

Issue 1481383002: [Experimental] CSSSerializer Proof-of-concept Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: snapshot: top_25 sites ser/dser now works Created 4 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/css/CSSImageValue.h
diff --git a/third_party/WebKit/Source/core/css/CSSImageValue.h b/third_party/WebKit/Source/core/css/CSSImageValue.h
index 7fec0906ad10355f818303860676526bfabd9a8b..197d76d2961833122656a29dbe99223c58623a87 100644
--- a/third_party/WebKit/Source/core/css/CSSImageValue.h
+++ b/third_party/WebKit/Source/core/css/CSSImageValue.h
@@ -48,6 +48,7 @@ public:
{
return adoptRefWillBeNoop(new CSSImageValue(rawValue, url, image));
}
+ static PassRefPtrWillBeRawPtr<CSSImageValue> deserializeAfterDispatch(CSSDeserializeStream*);
~CSSImageValue();
bool isCachePending() const { return m_isCachePending; }
@@ -76,11 +77,14 @@ public:
void setInitiator(const AtomicString& name) { m_initiatorName = name; }
+ void serializeAfterDispatch(CSSSerializeStream*) const;
+
DECLARE_TRACE_AFTER_DISPATCH();
void restoreCachedResourceIfNeeded(Document&) const;
private:
CSSImageValue(const AtomicString& rawValue, const KURL&, StyleFetchedImage*);
+ CSSImageValue(AtomicString, AtomicString, const Referrer& referrer, AtomicString);
AtomicString m_relativeURL;
AtomicString m_absoluteURL;
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSImageSetValue.cpp ('k') | third_party/WebKit/Source/core/css/CSSImageValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698