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

Unified Diff: third_party/WebKit/Source/core/css/CSSCustomIdentValue.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/CSSCustomIdentValue.h
diff --git a/third_party/WebKit/Source/core/css/CSSCustomIdentValue.h b/third_party/WebKit/Source/core/css/CSSCustomIdentValue.h
index df4cce19cd991a817b1d9a6fbf61bbc31c4e83c4..6f3fd60bd95b08b688f83e12a392b54d4129de60 100644
--- a/third_party/WebKit/Source/core/css/CSSCustomIdentValue.h
+++ b/third_party/WebKit/Source/core/css/CSSCustomIdentValue.h
@@ -25,6 +25,8 @@ public:
return adoptRefWillBeNoop(new CSSCustomIdentValue(id));
}
+ static PassRefPtrWillBeRawPtr<CSSCustomIdentValue> deserializeAfterDispatch(CSSDeserializeStream*);
+
String value() const { ASSERT(!isKnownPropertyID()); return m_string; }
bool isKnownPropertyID() const { return m_propertyId != CSSPropertyInvalid; }
CSSPropertyID valueAsPropertyID() const { ASSERT(isKnownPropertyID()); return m_propertyId; }
@@ -36,6 +38,7 @@ public:
return isKnownPropertyID() ? m_propertyId == other.m_propertyId : m_string == other.m_string;
}
+ void serializeAfterDispatch(CSSSerializeStream*) const;
DECLARE_TRACE_AFTER_DISPATCH();
private:
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSCounterValue.cpp ('k') | third_party/WebKit/Source/core/css/CSSCustomIdentValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698