| 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 20 matching lines...) Expand all Loading... |
| 31 namespace blink { | 31 namespace blink { |
| 32 | 32 |
| 33 class CSSKeyframesRule; | 33 class CSSKeyframesRule; |
| 34 class CSSParserValueList; | 34 class CSSParserValueList; |
| 35 class CSSStyleDeclaration; | 35 class CSSStyleDeclaration; |
| 36 class MutableStylePropertySet; | 36 class MutableStylePropertySet; |
| 37 class StylePropertySet; | 37 class StylePropertySet; |
| 38 class StyleRuleCSSStyleDeclaration; | 38 class StyleRuleCSSStyleDeclaration; |
| 39 | 39 |
| 40 class StyleKeyframe final : public RefCounted<StyleKeyframe> { | 40 class StyleKeyframe final : public RefCounted<StyleKeyframe> { |
| 41 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; | 41 WTF_MAKE_FAST_ALLOCATED; |
| 42 public: | 42 public: |
| 43 static PassRefPtr<StyleKeyframe> create() | 43 static PassRefPtr<StyleKeyframe> create() |
| 44 { | 44 { |
| 45 return adoptRef(new StyleKeyframe()); | 45 return adoptRef(new StyleKeyframe()); |
| 46 } | 46 } |
| 47 ~StyleKeyframe(); | 47 ~StyleKeyframe(); |
| 48 | 48 |
| 49 // Exposed to JavaScript. | 49 // Exposed to JavaScript. |
| 50 String keyText() const; | 50 String keyText() const; |
| 51 void setKeyText(const String&); | 51 void setKeyText(const String&); |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 mutable RefPtr<StyleRuleCSSStyleDeclaration> m_propertiesCSSOMWrapper; | 96 mutable RefPtr<StyleRuleCSSStyleDeclaration> m_propertiesCSSOMWrapper; |
| 97 | 97 |
| 98 friend class CSSKeyframesRule; | 98 friend class CSSKeyframesRule; |
| 99 }; | 99 }; |
| 100 | 100 |
| 101 DEFINE_CSS_RULE_TYPE_CASTS(CSSKeyframeRule, KEYFRAME_RULE); | 101 DEFINE_CSS_RULE_TYPE_CASTS(CSSKeyframeRule, KEYFRAME_RULE); |
| 102 | 102 |
| 103 } // namespace blink | 103 } // namespace blink |
| 104 | 104 |
| 105 #endif // CSSKeyframeRule_h | 105 #endif // CSSKeyframeRule_h |
| OLD | NEW |