| 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 | 78 |
| 79 virtual CSSRule::Type type() const OVERRIDE { return KEYFRAME_RULE; } | 79 virtual CSSRule::Type type() const OVERRIDE { return KEYFRAME_RULE; } |
| 80 virtual String cssText() const OVERRIDE { return m_keyframe->cssText(); } | 80 virtual String cssText() const OVERRIDE { return m_keyframe->cssText(); } |
| 81 virtual void reattach(StyleRuleBase*) OVERRIDE; | 81 virtual void reattach(StyleRuleBase*) OVERRIDE; |
| 82 | 82 |
| 83 String keyText() const { return m_keyframe->keyText(); } | 83 String keyText() const { return m_keyframe->keyText(); } |
| 84 void setKeyText(const String& s) { m_keyframe->setKeyText(s); } | 84 void setKeyText(const String& s) { m_keyframe->setKeyText(s); } |
| 85 | 85 |
| 86 CSSStyleDeclaration* style() const; | 86 CSSStyleDeclaration* style() const; |
| 87 | 87 |
| 88 virtual void trace(Visitor* visitor) OVERRIDE { CSSRule::trace(visitor); } | 88 virtual void trace(Visitor*) OVERRIDE; |
| 89 | 89 |
| 90 private: | 90 private: |
| 91 CSSKeyframeRule(StyleKeyframe*, CSSKeyframesRule* parent); | 91 CSSKeyframeRule(StyleKeyframe*, CSSKeyframesRule* parent); |
| 92 | 92 |
| 93 RefPtr<StyleKeyframe> m_keyframe; | 93 RefPtr<StyleKeyframe> m_keyframe; |
| 94 mutable RefPtr<StyleRuleCSSStyleDeclaration> m_propertiesCSSOMWrapper; | 94 mutable RefPtrWillBeMember<StyleRuleCSSStyleDeclaration> m_propertiesCSSOMWr
apper; |
| 95 | 95 |
| 96 friend class CSSKeyframesRule; | 96 friend class CSSKeyframesRule; |
| 97 }; | 97 }; |
| 98 | 98 |
| 99 DEFINE_CSS_RULE_TYPE_CASTS(CSSKeyframeRule, KEYFRAME_RULE); | 99 DEFINE_CSS_RULE_TYPE_CASTS(CSSKeyframeRule, KEYFRAME_RULE); |
| 100 | 100 |
| 101 } // namespace WebCore | 101 } // namespace WebCore |
| 102 | 102 |
| 103 #endif // CSSKeyframeRule_h | 103 #endif // CSSKeyframeRule_h |
| OLD | NEW |