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

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

Issue 337113005: Reduce forward declarations in core/rendering (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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
« no previous file with comments | « Source/core/rendering/line/LineWidth.h ('k') | Source/core/rendering/style/RenderStyle.h » ('j') | 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) 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 18 matching lines...) Expand all
29 #include "core/rendering/style/StyleInheritedData.h" 29 #include "core/rendering/style/StyleInheritedData.h"
30 #include "wtf/HashSet.h" 30 #include "wtf/HashSet.h"
31 #include "wtf/RefPtr.h" 31 #include "wtf/RefPtr.h"
32 #include "wtf/Vector.h" 32 #include "wtf/Vector.h"
33 #include "wtf/text/AtomicString.h" 33 #include "wtf/text/AtomicString.h"
34 34
35 namespace WebCore { 35 namespace WebCore {
36 36
37 class RenderObject; 37 class RenderObject;
38 class RenderStyle; 38 class RenderStyle;
39 class StylePropertySet;
40 class TimingFunction;
41 39
42 class KeyframeValue { 40 class KeyframeValue {
43 public: 41 public:
44 KeyframeValue(double key, PassRefPtr<RenderStyle> style) 42 KeyframeValue(double key, PassRefPtr<RenderStyle> style)
45 : m_key(key) 43 : m_key(key)
46 , m_style(style) 44 , m_style(style)
47 { 45 {
48 } 46 }
49 47
50 void addProperty(CSSPropertyID prop) { m_properties.add(prop); } 48 void addProperty(CSSPropertyID prop) { m_properties.add(prop); }
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 87
90 private: 88 private:
91 AtomicString m_animationName; 89 AtomicString m_animationName;
92 Vector<KeyframeValue> m_keyframes; // Kept sorted by key. 90 Vector<KeyframeValue> m_keyframes; // Kept sorted by key.
93 HashSet<CSSPropertyID> m_properties; // The properties being animated. 91 HashSet<CSSPropertyID> m_properties; // The properties being animated.
94 }; 92 };
95 93
96 } // namespace WebCore 94 } // namespace WebCore
97 95
98 #endif // KeyframeList_h 96 #endif // KeyframeList_h
OLDNEW
« no previous file with comments | « Source/core/rendering/line/LineWidth.h ('k') | Source/core/rendering/style/RenderStyle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698