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

Side by Side Diff: Source/core/rendering/style/KeyframeList.h

Issue 241713002: Remove some dead code from rendering/ folder (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2003, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com)
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 29 matching lines...) Expand all
40 class TimingFunction; 40 class TimingFunction;
41 41
42 class KeyframeValue { 42 class KeyframeValue {
43 public: 43 public:
44 KeyframeValue(double key, PassRefPtr<RenderStyle> style) 44 KeyframeValue(double key, PassRefPtr<RenderStyle> style)
45 : m_key(key) 45 : m_key(key)
46 , m_style(style) 46 , m_style(style)
47 { 47 {
48 } 48 }
49 49
50 void addProperties(const StylePropertySet*);
51 void addProperty(CSSPropertyID prop) { m_properties.add(prop); } 50 void addProperty(CSSPropertyID prop) { m_properties.add(prop); }
52 bool containsProperty(CSSPropertyID prop) const { return m_properties.contai ns(prop); } 51 bool containsProperty(CSSPropertyID prop) const { return m_properties.contai ns(prop); }
53 const HashSet<CSSPropertyID>& properties() const { return m_properties; } 52 const HashSet<CSSPropertyID>& properties() const { return m_properties; }
54 53
55 double key() const { return m_key; } 54 double key() const { return m_key; }
56 void setKey(double key) { m_key = key; } 55 void setKey(double key) { m_key = key; }
57 56
58 const RenderStyle* style() const { return m_style.get(); } 57 const RenderStyle* style() const { return m_style.get(); }
59 void setStyle(PassRefPtr<RenderStyle> style) { m_style = style; } 58 void setStyle(PassRefPtr<RenderStyle> style) { m_style = style; }
60 59
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 91
93 private: 92 private:
94 AtomicString m_animationName; 93 AtomicString m_animationName;
95 Vector<KeyframeValue> m_keyframes; // Kept sorted by key. 94 Vector<KeyframeValue> m_keyframes; // Kept sorted by key.
96 HashSet<CSSPropertyID> m_properties; // The properties being animated. 95 HashSet<CSSPropertyID> m_properties; // The properties being animated.
97 }; 96 };
98 97
99 } // namespace WebCore 98 } // namespace WebCore
100 99
101 #endif // KeyframeList_h 100 #endif // KeyframeList_h
OLDNEW
« no previous file with comments | « Source/core/rendering/compositing/RenderLayerCompositor.cpp ('k') | Source/core/rendering/style/KeyframeList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698