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

Unified Diff: third_party/WebKit/Source/core/css/CSSFunctionValue.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/CSSFunctionValue.h
diff --git a/third_party/WebKit/Source/core/css/CSSFunctionValue.h b/third_party/WebKit/Source/core/css/CSSFunctionValue.h
index a99f787019119e97dd364404d70678ae33bff38c..c57c7209fd7f5eacc4afb47af21ae31ba928a3b1 100644
--- a/third_party/WebKit/Source/core/css/CSSFunctionValue.h
+++ b/third_party/WebKit/Source/core/css/CSSFunctionValue.h
@@ -16,12 +16,14 @@ public:
{
return adoptRefWillBeNoop(new CSSFunctionValue(id));
}
+ static PassRefPtrWillBeRawPtr<CSSFunctionValue> deserializeAfterDispatch(unsigned, CSSDeserializeStream*);
String customCSSText() const;
bool equals(const CSSFunctionValue& other) const { return m_valueID == other.m_valueID && CSSValueList::equals(other); }
CSSValueID functionType() const { return m_valueID; }
+ void serializeAfterDispatch(CSSSerializeStream*) const;
DEFINE_INLINE_TRACE_AFTER_DISPATCH() { CSSValueList::traceAfterDispatch(visitor); }
private:
@@ -30,6 +32,7 @@ private:
, m_valueID(id)
{
}
+ CSSFunctionValue(unsigned, CSSValueID, CSSDeserializeStream*);
const CSSValueID m_valueID;
};
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSFontFeatureValue.cpp ('k') | third_party/WebKit/Source/core/css/CSSFunctionValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698