Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(192)

Side by Side Diff: Source/core/css/CSSKeyframeRule.h

Issue 18864008: Beef up keyframe animation LayoutTest (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Also remove some stale files related to this test Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « LayoutTests/platform/win/css3/transform-value-types-expected.txt ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 28 matching lines...) Expand all
39 class StyleKeyframe : public RefCounted<StyleKeyframe> { 39 class StyleKeyframe : public RefCounted<StyleKeyframe> {
40 WTF_MAKE_FAST_ALLOCATED; 40 WTF_MAKE_FAST_ALLOCATED;
41 public: 41 public:
42 static PassRefPtr<StyleKeyframe> create() 42 static PassRefPtr<StyleKeyframe> create()
43 { 43 {
44 return adoptRef(new StyleKeyframe()); 44 return adoptRef(new StyleKeyframe());
45 } 45 }
46 ~StyleKeyframe(); 46 ~StyleKeyframe();
47 47
48 String keyText() const { return m_key; } 48 String keyText() const { return m_key; }
49 // FIXME: Should we trim whitespace?
50 // FIXME: Should we leave keyText unchanged when attempting to set to an
51 // invalid string?
49 void setKeyText(const String& s) { m_key = s; } 52 void setKeyText(const String& s) { m_key = s; }
50 53
51 void getKeys(Vector<float>& keys) const { parseKeyString(m_key, keys); } 54 void getKeys(Vector<float>& keys) const { parseKeyString(m_key, keys); }
52 55
53 const StylePropertySet* properties() const { return m_properties.get(); } 56 const StylePropertySet* properties() const { return m_properties.get(); }
54 MutableStylePropertySet* mutableProperties(); 57 MutableStylePropertySet* mutableProperties();
55 void setProperties(PassRefPtr<StylePropertySet>); 58 void setProperties(PassRefPtr<StylePropertySet>);
56 59
57 String cssText() const; 60 String cssText() const;
58 61
(...skipping 29 matching lines...) Expand all
88 91
89 RefPtr<StyleKeyframe> m_keyframe; 92 RefPtr<StyleKeyframe> m_keyframe;
90 mutable RefPtr<StyleRuleCSSStyleDeclaration> m_propertiesCSSOMWrapper; 93 mutable RefPtr<StyleRuleCSSStyleDeclaration> m_propertiesCSSOMWrapper;
91 94
92 friend class CSSKeyframesRule; 95 friend class CSSKeyframesRule;
93 }; 96 };
94 97
95 } // namespace WebCore 98 } // namespace WebCore
96 99
97 #endif // CSSKeyframeRule_h 100 #endif // CSSKeyframeRule_h
OLDNEW
« no previous file with comments | « LayoutTests/platform/win/css3/transform-value-types-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698