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

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

Issue 203413008: Revert of Web Animations API: Load resources referenced in element.animate() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 virtual void fontsNeedUpdate(CSSFontSelector*) OVERRIDE; 235 virtual void fontsNeedUpdate(CSSFontSelector*) OVERRIDE;
236 236
237 private: 237 private:
238 void initWatchedSelectorRules(const WillBeHeapVector<RefPtrWillBeMember<Styl eRule> >& watchedSelectors); 238 void initWatchedSelectorRules(const WillBeHeapVector<RefPtrWillBeMember<Styl eRule> >& watchedSelectors);
239 239
240 void addTreeBoundaryCrossingRules(const WillBeHeapVector<MinimalRuleData>&, ContainerNode* scope); 240 void addTreeBoundaryCrossingRules(const WillBeHeapVector<MinimalRuleData>&, ContainerNode* scope);
241 241
242 // FIXME: This should probably go away, folded into FontBuilder. 242 // FIXME: This should probably go away, folded into FontBuilder.
243 void updateFont(StyleResolverState&); 243 void updateFont(StyleResolverState&);
244 244
245 void loadPendingResources(StyleResolverState&);
246
247 void appendCSSStyleSheet(CSSStyleSheet*); 245 void appendCSSStyleSheet(CSSStyleSheet*);
248 246
249 void collectPseudoRulesForElement(Element*, ElementRuleCollector&, PseudoId, unsigned rulesToInclude); 247 void collectPseudoRulesForElement(Element*, ElementRuleCollector&, PseudoId, unsigned rulesToInclude);
250 void matchUARules(ElementRuleCollector&, RuleSet*); 248 void matchUARules(ElementRuleCollector&, RuleSet*);
251 void matchAuthorRules(Element*, ElementRuleCollector&, bool includeEmptyRule s); 249 void matchAuthorRules(Element*, ElementRuleCollector&, bool includeEmptyRule s);
252 void matchAuthorRulesForShadowHost(Element*, ElementRuleCollector&, bool inc ludeEmptyRules, Vector<ScopedStyleResolver*, 8>& resolvers, Vector<ScopedStyleRe solver*, 8>& resolversInShadowTree); 250 void matchAuthorRulesForShadowHost(Element*, ElementRuleCollector&, bool inc ludeEmptyRules, Vector<ScopedStyleResolver*, 8>& resolvers, Vector<ScopedStyleRe solver*, 8>& resolversInShadowTree);
253 void matchAllRules(StyleResolverState&, ElementRuleCollector&, bool includeS MILProperties); 251 void matchAllRules(StyleResolverState&, ElementRuleCollector&, bool includeS MILProperties);
254 void matchUARules(ElementRuleCollector&); 252 void matchUARules(ElementRuleCollector&);
255 // FIXME: watched selectors should be implemented using injected author styl esheets: http://crbug.com/316960 253 // FIXME: watched selectors should be implemented using injected author styl esheets: http://crbug.com/316960
256 void matchWatchSelectorRules(ElementRuleCollector&); 254 void matchWatchSelectorRules(ElementRuleCollector&);
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 OwnPtr<StyleResolverStats> m_styleResolverStatsTotals; 330 OwnPtr<StyleResolverStats> m_styleResolverStatsTotals;
333 unsigned m_styleResolverStatsSequence; 331 unsigned m_styleResolverStatsSequence;
334 332
335 // Use only for Internals::updateStyleAndReturnAffectedElementCount. 333 // Use only for Internals::updateStyleAndReturnAffectedElementCount.
336 unsigned m_accessCount; 334 unsigned m_accessCount;
337 }; 335 };
338 336
339 } // namespace WebCore 337 } // namespace WebCore
340 338
341 #endif // StyleResolver_h 339 #endif // StyleResolver_h
OLDNEW
« no previous file with comments | « Source/core/css/resolver/ElementStyleResources.cpp ('k') | Source/core/css/resolver/StyleResolver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698