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

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

Issue 780483002: Remove the CSSOM. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 | « sky/engine/core/css/CSSUnknownRule.idl ('k') | sky/engine/core/css/ElementRuleCollector.cpp » ('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) 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 14 matching lines...) Expand all
25 #include "sky/engine/core/css/SelectorChecker.h" 25 #include "sky/engine/core/css/SelectorChecker.h"
26 #include "sky/engine/core/css/resolver/ElementResolveContext.h" 26 #include "sky/engine/core/css/resolver/ElementResolveContext.h"
27 #include "sky/engine/core/css/resolver/MatchRequest.h" 27 #include "sky/engine/core/css/resolver/MatchRequest.h"
28 #include "sky/engine/core/css/resolver/MatchResult.h" 28 #include "sky/engine/core/css/resolver/MatchResult.h"
29 #include "sky/engine/wtf/RefPtr.h" 29 #include "sky/engine/wtf/RefPtr.h"
30 #include "sky/engine/wtf/Vector.h" 30 #include "sky/engine/wtf/Vector.h"
31 31
32 namespace blink { 32 namespace blink {
33 33
34 class CSSStyleSheet; 34 class CSSStyleSheet;
35 class CSSRuleList;
36 class RuleData; 35 class RuleData;
37 class RuleSet; 36 class RuleSet;
38 class ScopedStyleResolver; 37 class ScopedStyleResolver;
39 class StaticCSSRuleList;
40 38
41 typedef unsigned CascadeScope; 39 typedef unsigned CascadeScope;
42 typedef unsigned CascadeOrder; 40 typedef unsigned CascadeOrder;
43 41
44 const CascadeScope ignoreCascadeScope = 0; 42 const CascadeScope ignoreCascadeScope = 0;
45 const CascadeOrder ignoreCascadeOrder = 0; 43 const CascadeOrder ignoreCascadeOrder = 0;
46 44
47 class MatchedRule { 45 class MatchedRule {
48 ALLOW_ONLY_INLINE_ALLOCATION(); 46 ALLOW_ONLY_INLINE_ALLOCATION();
49 public: 47 public:
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 136
139 OwnPtr<Vector<MatchedRule, 32> > m_matchedRules; 137 OwnPtr<Vector<MatchedRule, 32> > m_matchedRules;
140 138
141 // Output. 139 // Output.
142 MatchResult m_result; 140 MatchResult m_result;
143 }; 141 };
144 142
145 } // namespace blink 143 } // namespace blink
146 144
147 #endif // SKY_ENGINE_CORE_CSS_ELEMENTRULECOLLECTOR_H_ 145 #endif // SKY_ENGINE_CORE_CSS_ELEMENTRULECOLLECTOR_H_
OLDNEW
« no previous file with comments | « sky/engine/core/css/CSSUnknownRule.idl ('k') | sky/engine/core/css/ElementRuleCollector.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698