OLD | NEW |
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 : public StyleRuleCSSStyleDecla
ration { | 14 class KeyframeStyleRuleCSSStyleDeclaration final : public StyleRuleCSSStyleDecla
ration { |
15 public: | 15 public: |
16 static RawPtr<KeyframeStyleRuleCSSStyleDeclaration> create(MutableStylePrope
rtySet& propertySet, CSSKeyframeRule* parentRule) | 16 static KeyframeStyleRuleCSSStyleDeclaration* create(MutableStylePropertySet&
propertySet, CSSKeyframeRule* parentRule) |
17 { | 17 { |
18 return new KeyframeStyleRuleCSSStyleDeclaration(propertySet, parentRule)
; | 18 return new KeyframeStyleRuleCSSStyleDeclaration(propertySet, parentRule)
; |
19 } | 19 } |
20 | 20 |
21 private: | 21 private: |
22 KeyframeStyleRuleCSSStyleDeclaration(MutableStylePropertySet&, CSSKeyframeRu
le*); | 22 KeyframeStyleRuleCSSStyleDeclaration(MutableStylePropertySet&, CSSKeyframeRu
le*); |
23 | 23 |
24 void didMutate(MutationType) override; | 24 void didMutate(MutationType) override; |
25 }; | 25 }; |
26 | 26 |
27 } // namespace blink | 27 } // namespace blink |
28 | 28 |
29 #endif | 29 #endif |
OLD | NEW |