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

Unified Diff: third_party/WebKit/Source/core/css/CSSValueList.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/CSSValueList.h
diff --git a/third_party/WebKit/Source/core/css/CSSValueList.h b/third_party/WebKit/Source/core/css/CSSValueList.h
index ad0713bf5e598298b36adde6a85d23cadbfcd0fc..76c7ecf45619abe4dff95b8f82ffea0491829f26 100644
--- a/third_party/WebKit/Source/core/css/CSSValueList.h
+++ b/third_party/WebKit/Source/core/css/CSSValueList.h
@@ -45,6 +45,10 @@ public:
{
return adoptRefWillBeNoop(new CSSValueList(SlashSeparator));
}
+ static PassRefPtrWillBeRawPtr<CSSValueList> deserializeAfterDispatch(unsigned bitfields, CSSDeserializeStream* stream)
+ {
+ return adoptRefWillBeNoop(new CSSValueList(ValueListClass, bitfields, stream));
+ }
iterator begin() { return m_values.begin(); }
iterator end() { return m_values.end(); }
@@ -68,10 +72,13 @@ public:
bool hasFailedOrCanceledSubresources() const;
+ void serializeAfterDispatch(CSSSerializeStream*) const;
+
DECLARE_TRACE_AFTER_DISPATCH();
protected:
CSSValueList(ClassType, ValueListSeparator);
+ CSSValueList(ClassType, unsigned, CSSDeserializeStream*);
private:
explicit CSSValueList(ValueListSeparator);
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSValue.cpp ('k') | third_party/WebKit/Source/core/css/CSSValueList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698