| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 StyleRuleKeyframe_h | 5 #ifndef StyleRuleKeyframe_h |
| 6 #define StyleRuleKeyframe_h | 6 #define StyleRuleKeyframe_h |
| 7 | 7 |
| 8 #include <memory> |
| 8 #include "core/css/StyleRule.h" | 9 #include "core/css/StyleRule.h" |
| 9 #include <memory> | |
| 10 | 10 |
| 11 namespace blink { | 11 namespace blink { |
| 12 | 12 |
| 13 class MutableStylePropertySet; | 13 class MutableStylePropertySet; |
| 14 class StylePropertySet; | 14 class StylePropertySet; |
| 15 | 15 |
| 16 class StyleRuleKeyframe final : public StyleRuleBase { | 16 class StyleRuleKeyframe final : public StyleRuleBase { |
| 17 public: | 17 public: |
| 18 static StyleRuleKeyframe* Create(std::unique_ptr<Vector<double>> keys, | 18 static StyleRuleKeyframe* Create(std::unique_ptr<Vector<double>> keys, |
| 19 StylePropertySet* properties) { | 19 StylePropertySet* properties) { |
| (...skipping 19 matching lines...) Expand all Loading... |
| 39 | 39 |
| 40 Member<StylePropertySet> properties_; | 40 Member<StylePropertySet> properties_; |
| 41 Vector<double> keys_; | 41 Vector<double> keys_; |
| 42 }; | 42 }; |
| 43 | 43 |
| 44 DEFINE_STYLE_RULE_TYPE_CASTS(Keyframe); | 44 DEFINE_STYLE_RULE_TYPE_CASTS(Keyframe); |
| 45 | 45 |
| 46 } // namespace blink | 46 } // namespace blink |
| 47 | 47 |
| 48 #endif // StyleRuleKeyframe_h | 48 #endif // StyleRuleKeyframe_h |
| OLD | NEW |