| 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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&); |
| 52 | 52 |
| 53 // Used by StyleResolver. | 53 // Used by StyleResolver. |
| 54 const Vector<double>& keys() const; | 54 const Vector<double>& keys() const; |
| 55 // Used by CSSParser when constructing a new StyleKeyframe. | 55 // Used by BisonCSSParser when constructing a new StyleKeyframe. |
| 56 void setKeys(PassOwnPtr<Vector<double> >); | 56 void setKeys(PassOwnPtr<Vector<double> >); |
| 57 | 57 |
| 58 const StylePropertySet* properties() const { return m_properties.get(); } | 58 const StylePropertySet* properties() const { return m_properties.get(); } |
| 59 MutableStylePropertySet* mutableProperties(); | 59 MutableStylePropertySet* mutableProperties(); |
| 60 void setProperties(PassRefPtr<StylePropertySet>); | 60 void setProperties(PassRefPtr<StylePropertySet>); |
| 61 | 61 |
| 62 String cssText() const; | 62 String cssText() const; |
| 63 | 63 |
| 64 static PassOwnPtr<Vector<double> > createKeyList(CSSParserValueList*); | 64 static PassOwnPtr<Vector<double> > createKeyList(CSSParserValueList*); |
| 65 | 65 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 92 mutable RefPtr<StyleRuleCSSStyleDeclaration> m_propertiesCSSOMWrapper; | 92 mutable RefPtr<StyleRuleCSSStyleDeclaration> m_propertiesCSSOMWrapper; |
| 93 | 93 |
| 94 friend class CSSKeyframesRule; | 94 friend class CSSKeyframesRule; |
| 95 }; | 95 }; |
| 96 | 96 |
| 97 DEFINE_CSS_RULE_TYPE_CASTS(CSSKeyframeRule, KEYFRAME_RULE); | 97 DEFINE_CSS_RULE_TYPE_CASTS(CSSKeyframeRule, KEYFRAME_RULE); |
| 98 | 98 |
| 99 } // namespace WebCore | 99 } // namespace WebCore |
| 100 | 100 |
| 101 #endif // CSSKeyframeRule_h | 101 #endif // CSSKeyframeRule_h |
| OLD | NEW |