| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007, 2008, 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2008, 2012 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #ifndef CSSKeyframesRule_h | 26 #ifndef CSSKeyframesRule_h |
| 27 #define CSSKeyframesRule_h | 27 #define CSSKeyframesRule_h |
| 28 | 28 |
| 29 #include "core/css/CSSRule.h" | 29 #include "core/css/CSSRule.h" |
| 30 #include "core/css/StyleRule.h" | 30 #include "core/css/StyleRule.h" |
| 31 #include "wtf/Forward.h" | 31 #include "platform/wtf/Forward.h" |
| 32 #include "wtf/text/AtomicString.h" | 32 #include "platform/wtf/text/AtomicString.h" |
| 33 | 33 |
| 34 namespace blink { | 34 namespace blink { |
| 35 | 35 |
| 36 class CSSRuleList; | 36 class CSSRuleList; |
| 37 class CSSKeyframeRule; | 37 class CSSKeyframeRule; |
| 38 class StyleRuleKeyframe; | 38 class StyleRuleKeyframe; |
| 39 | 39 |
| 40 class StyleRuleKeyframes final : public StyleRuleBase { | 40 class StyleRuleKeyframes final : public StyleRuleBase { |
| 41 public: | 41 public: |
| 42 static StyleRuleKeyframes* Create() { return new StyleRuleKeyframes(); } | 42 static StyleRuleKeyframes* Create() { return new StyleRuleKeyframes(); } |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 mutable HeapVector<Member<CSSKeyframeRule>> child_rule_cssom_wrappers_; | 124 mutable HeapVector<Member<CSSKeyframeRule>> child_rule_cssom_wrappers_; |
| 125 mutable Member<CSSRuleList> rule_list_cssom_wrapper_; | 125 mutable Member<CSSRuleList> rule_list_cssom_wrapper_; |
| 126 bool is_prefixed_; | 126 bool is_prefixed_; |
| 127 }; | 127 }; |
| 128 | 128 |
| 129 DEFINE_CSS_RULE_TYPE_CASTS(CSSKeyframesRule, kKeyframesRule); | 129 DEFINE_CSS_RULE_TYPE_CASTS(CSSKeyframesRule, kKeyframesRule); |
| 130 | 130 |
| 131 } // namespace blink | 131 } // namespace blink |
| 132 | 132 |
| 133 #endif // CSSKeyframesRule_h | 133 #endif // CSSKeyframesRule_h |
| OLD | NEW |