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

Unified Diff: third_party/WebKit/Source/core/css/CSSQuadValue.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/CSSQuadValue.h
diff --git a/third_party/WebKit/Source/core/css/CSSQuadValue.h b/third_party/WebKit/Source/core/css/CSSQuadValue.h
index 32693f1f928808f19f890e1a11498b5b14a433f0..cd7322be80409a36d218abd7171a2c698e1f0802 100644
--- a/third_party/WebKit/Source/core/css/CSSQuadValue.h
+++ b/third_party/WebKit/Source/core/css/CSSQuadValue.h
@@ -40,6 +40,8 @@ public:
return adoptRefWillBeNoop(new CSSQuadValue(top, right, bottom, left, serializationType));
}
+ static PassRefPtrWillBeRawPtr<CSSQuadValue> deserializeAfterDispatch(CSSDeserializeStream*);
+
CSSPrimitiveValue* top() const { return m_top.get(); }
CSSPrimitiveValue* right() const { return m_right.get(); }
CSSPrimitiveValue* bottom() const { return m_bottom.get(); }
@@ -57,6 +59,7 @@ public:
&& compareCSSValuePtr(m_bottom, other.m_bottom);
}
+ void serializeAfterDispatch(CSSSerializeStream*) const;
DECLARE_TRACE_AFTER_DISPATCH();
protected:
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp ('k') | third_party/WebKit/Source/core/css/CSSQuadValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698