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

Side by Side Diff: sky/engine/core/css/ElementRuleCollector.h

Issue 1229273004: Remove Animations and Transitions. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 uint64_t m_position; 65 uint64_t m_position;
66 RawPtr<const CSSStyleSheet> m_parentStyleSheet; 66 RawPtr<const CSSStyleSheet> m_parentStyleSheet;
67 }; 67 };
68 68
69 } // namespace blink 69 } // namespace blink
70 70
71 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::MatchedRule); 71 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::MatchedRule);
72 72
73 namespace blink { 73 namespace blink {
74 74
75 // FIXME: oilpan: when transition types are gone this class can be replaced with HeapVector.
76 class StyleRuleList final : public RefCounted<StyleRuleList> { 75 class StyleRuleList final : public RefCounted<StyleRuleList> {
77 public: 76 public:
78 static PassRefPtr<StyleRuleList> create() { return adoptRef(new StyleRuleLis t()); } 77 static PassRefPtr<StyleRuleList> create() { return adoptRef(new StyleRuleLis t()); }
79 78
80 Vector<RawPtr<StyleRule> > m_list; 79 Vector<RawPtr<StyleRule> > m_list;
81 }; 80 };
82 81
83 // ElementRuleCollector is designed to be used as a stack object. 82 // ElementRuleCollector is designed to be used as a stack object.
84 // Create one, ask what rules the ElementResolveContext matches 83 // Create one, ask what rules the ElementResolveContext matches
85 // and then let it go out of scope. 84 // and then let it go out of scope.
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 122
124 OwnPtr<Vector<MatchedRule, 32> > m_matchedRules; 123 OwnPtr<Vector<MatchedRule, 32> > m_matchedRules;
125 124
126 // Output. 125 // Output.
127 MatchResult m_result; 126 MatchResult m_result;
128 }; 127 };
129 128
130 } // namespace blink 129 } // namespace blink
131 130
132 #endif // SKY_ENGINE_CORE_CSS_ELEMENTRULECOLLECTOR_H_ 131 #endif // SKY_ENGINE_CORE_CSS_ELEMENTRULECOLLECTOR_H_
OLDNEW
« no previous file with comments | « sky/engine/core/css/CSSValueKeywords.in ('k') | sky/engine/core/css/StylePropertySerializer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698