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

Unified Diff: third_party/WebKit/Source/core/css/CSSKeyframesRule.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/CSSKeyframesRule.h
diff --git a/third_party/WebKit/Source/core/css/CSSKeyframesRule.h b/third_party/WebKit/Source/core/css/CSSKeyframesRule.h
index 69574322c5f791ed31107b5332096247941f1a0c..d2a69a5f71464f21c350b6de16a2b730c8110984 100644
--- a/third_party/WebKit/Source/core/css/CSSKeyframesRule.h
+++ b/third_party/WebKit/Source/core/css/CSSKeyframesRule.h
@@ -33,13 +33,16 @@
namespace blink {
-class CSSRuleList;
+class CSSDeserializeStream;
class CSSKeyframeRule;
+class CSSRuleList;
+class CSSSerializeStream;
class StyleRuleKeyframe;
class StyleRuleKeyframes final : public StyleRuleBase {
public:
static PassRefPtrWillBeRawPtr<StyleRuleKeyframes> create() { return adoptRefWillBeNoop(new StyleRuleKeyframes()); }
+ static PassRefPtrWillBeRawPtr<StyleRuleKeyframes> deserializeAfterDispatch(CSSDeserializeStream*);
~StyleRuleKeyframes();
@@ -59,6 +62,8 @@ public:
PassRefPtrWillBeRawPtr<StyleRuleKeyframes> copy() const { return adoptRefWillBeNoop(new StyleRuleKeyframes(*this)); }
+ void serializeAfterDispatch(CSSSerializeStream*) const;
+
DECLARE_TRACE_AFTER_DISPATCH();
void styleChanged() { m_version++; }
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSInitialValue.cpp ('k') | third_party/WebKit/Source/core/css/CSSKeyframesRule.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698