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

Side by Side Diff: third_party/WebKit/Source/core/css/KeyframeStyleRuleCSSStyleDeclaration.h

Issue 2323633002: Implement animation tainted custom property values (Closed)
Patch Set: Rebased Created 4 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef KeyframeStyleRuleCSSStyleDeclaration_h 5 #ifndef KeyframeStyleRuleCSSStyleDeclaration_h
6 #define KeyframeStyleRuleCSSStyleDeclaration_h 6 #define KeyframeStyleRuleCSSStyleDeclaration_h
7 7
8 #include "core/css/PropertySetCSSStyleDeclaration.h" 8 #include "core/css/PropertySetCSSStyleDeclaration.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 class CSSKeyframeRule; 12 class CSSKeyframeRule;
13 13
14 class KeyframeStyleRuleCSSStyleDeclaration final 14 class KeyframeStyleRuleCSSStyleDeclaration final
15 : public StyleRuleCSSStyleDeclaration { 15 : public StyleRuleCSSStyleDeclaration {
16 public: 16 public:
17 static KeyframeStyleRuleCSSStyleDeclaration* create( 17 static KeyframeStyleRuleCSSStyleDeclaration* create(
18 MutableStylePropertySet& propertySet, 18 MutableStylePropertySet& propertySet,
19 CSSKeyframeRule* parentRule) { 19 CSSKeyframeRule* parentRule) {
20 return new KeyframeStyleRuleCSSStyleDeclaration(propertySet, parentRule); 20 return new KeyframeStyleRuleCSSStyleDeclaration(propertySet, parentRule);
21 } 21 }
22 22
23 private: 23 private:
24 KeyframeStyleRuleCSSStyleDeclaration(MutableStylePropertySet&, 24 KeyframeStyleRuleCSSStyleDeclaration(MutableStylePropertySet&,
25 CSSKeyframeRule*); 25 CSSKeyframeRule*);
26 26
27 void didMutate(MutationType) override; 27 void didMutate(MutationType) override;
28 bool isKeyframeStyle() const final { return true; }
28 }; 29 };
29 30
30 } // namespace blink 31 } // namespace blink
31 32
32 #endif 33 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/DOMWindowCSS.cpp ('k') | third_party/WebKit/Source/core/css/PropertyRegistration.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698