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

Side by Side Diff: third_party/WebKit/Source/core/css/resolver/StyleResolver.h

Issue 1803933002: Use correct cascading order for Shadow DOM v1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix for comments Created 4 years, 9 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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 void updateFont(StyleResolverState&); 186 void updateFont(StyleResolverState&);
187 187
188 void loadPendingResources(StyleResolverState&); 188 void loadPendingResources(StyleResolverState&);
189 void adjustComputedStyle(StyleResolverState&, Element*); 189 void adjustComputedStyle(StyleResolverState&, Element*);
190 190
191 void appendCSSStyleSheet(CSSStyleSheet&); 191 void appendCSSStyleSheet(CSSStyleSheet&);
192 192
193 void collectPseudoRulesForElement(const Element&, ElementRuleCollector&, Pse udoId, unsigned rulesToInclude); 193 void collectPseudoRulesForElement(const Element&, ElementRuleCollector&, Pse udoId, unsigned rulesToInclude);
194 void matchRuleSet(ElementRuleCollector&, RuleSet*); 194 void matchRuleSet(ElementRuleCollector&, RuleSet*);
195 void matchUARules(ElementRuleCollector&); 195 void matchUARules(ElementRuleCollector&);
196 void matchScopedRules(const Element&, ElementRuleCollector&);
196 void matchAuthorRules(const Element&, ElementRuleCollector&); 197 void matchAuthorRules(const Element&, ElementRuleCollector&);
198 void matchAuthorRulesV0(const Element&, ElementRuleCollector&);
197 void matchAllRules(StyleResolverState&, ElementRuleCollector&, bool includeS MILProperties); 199 void matchAllRules(StyleResolverState&, ElementRuleCollector&, bool includeS MILProperties);
198 void collectFeatures(); 200 void collectFeatures();
199 void collectTreeBoundaryCrossingRules(const Element&, ElementRuleCollector&) ; 201 void collectTreeBoundaryCrossingRules(const Element&, ElementRuleCollector&) ;
200 202
201 void applyMatchedProperties(StyleResolverState&, const MatchResult&); 203 void applyMatchedProperties(StyleResolverState&, const MatchResult&);
202 bool applyAnimatedProperties(StyleResolverState&, const Element* animatingEl ement); 204 bool applyAnimatedProperties(StyleResolverState&, const Element* animatingEl ement);
203 void applyCallbackSelectors(StyleResolverState&); 205 void applyCallbackSelectors(StyleResolverState&);
204 206
205 template <CSSPropertyPriority priority> 207 template <CSSPropertyPriority priority>
206 void applyMatchedProperties(StyleResolverState&, const MatchedPropertiesRang e&, bool important, bool inheritedOnly); 208 void applyMatchedProperties(StyleResolverState&, const MatchedPropertiesRang e&, bool important, bool inheritedOnly);
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 bool m_needCollectFeatures; 250 bool m_needCollectFeatures;
249 bool m_printMediaType; 251 bool m_printMediaType;
250 252
251 unsigned m_styleSharingDepth; 253 unsigned m_styleSharingDepth;
252 WillBeHeapVector<OwnPtrWillBeMember<StyleSharingList>, styleSharingMaxDepth> m_styleSharingLists; 254 WillBeHeapVector<OwnPtrWillBeMember<StyleSharingList>, styleSharingMaxDepth> m_styleSharingLists;
253 }; 255 };
254 256
255 } // namespace blink 257 } // namespace blink
256 258
257 #endif // StyleResolver_h 259 #endif // StyleResolver_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698