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

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

Issue 194673002: Web Animations: Refactor KeyframeEffectModel to work via an InterpolationEffect. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@interpolationWrap
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
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 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 HighPriorityProperties, 266 HighPriorityProperties,
267 LowPriorityProperties 267 LowPriorityProperties
268 }; 268 };
269 template <StyleResolver::StyleApplicationPass pass> 269 template <StyleResolver::StyleApplicationPass pass>
270 static inline bool isPropertyForPass(CSSPropertyID); 270 static inline bool isPropertyForPass(CSSPropertyID);
271 template <StyleApplicationPass pass> 271 template <StyleApplicationPass pass>
272 void applyMatchedProperties(StyleResolverState&, const MatchResult&, bool im portant, int startIndex, int endIndex, bool inheritedOnly); 272 void applyMatchedProperties(StyleResolverState&, const MatchResult&, bool im portant, int startIndex, int endIndex, bool inheritedOnly);
273 template <StyleApplicationPass pass> 273 template <StyleApplicationPass pass>
274 void applyProperties(StyleResolverState&, const StylePropertySet* properties , StyleRule*, bool isImportant, bool inheritedOnly, PropertyWhitelistType = Prop ertyWhitelistNone); 274 void applyProperties(StyleResolverState&, const StylePropertySet* properties , StyleRule*, bool isImportant, bool inheritedOnly, PropertyWhitelistType = Prop ertyWhitelistNone);
275 template <StyleApplicationPass pass> 275 template <StyleApplicationPass pass>
276 void applyAnimatedProperties(StyleResolverState&, const AnimationEffect::Com positableValueMap&); 276 void applyAnimatedProperties(StyleResolverState&, const HashMap<CSSPropertyI D, RefPtr<Interpolation> >&);
277 void matchPageRules(MatchResult&, RuleSet*, bool isLeftPage, bool isFirstPag e, const String& pageName); 277 void matchPageRules(MatchResult&, RuleSet*, bool isLeftPage, bool isFirstPag e, const String& pageName);
278 void matchPageRulesForList(WillBeHeapVector<RawPtrWillBeMember<StyleRulePage > >& matchedRules, const WillBeHeapVector<RawPtrWillBeMember<StyleRulePage> >&, bool isLeftPage, bool isFirstPage, const String& pageName); 278 void matchPageRulesForList(WillBeHeapVector<RawPtrWillBeMember<StyleRulePage > >& matchedRules, const WillBeHeapVector<RawPtrWillBeMember<StyleRulePage> >&, bool isLeftPage, bool isFirstPage, const String& pageName);
279 void collectViewportRules(); 279 void collectViewportRules();
280 Settings* documentSettings() { return m_document.settings(); } 280 Settings* documentSettings() { return m_document.settings(); }
281 281
282 bool isLeftPage(int pageIndex) const; 282 bool isLeftPage(int pageIndex) const;
283 bool isRightPage(int pageIndex) const { return !isLeftPage(pageIndex); } 283 bool isRightPage(int pageIndex) const { return !isLeftPage(pageIndex); }
284 bool isFirstPage(int pageIndex) const; 284 bool isFirstPage(int pageIndex) const;
285 String pageName(int pageIndex) const; 285 String pageName(int pageIndex) const;
286 286
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 OwnPtr<StyleResolverStats> m_styleResolverStatsTotals; 330 OwnPtr<StyleResolverStats> m_styleResolverStatsTotals;
331 unsigned m_styleResolverStatsSequence; 331 unsigned m_styleResolverStatsSequence;
332 332
333 // Use only for Internals::updateStyleAndReturnAffectedElementCount. 333 // Use only for Internals::updateStyleAndReturnAffectedElementCount.
334 unsigned m_accessCount; 334 unsigned m_accessCount;
335 }; 335 };
336 336
337 } // namespace WebCore 337 } // namespace WebCore
338 338
339 #endif // StyleResolver_h 339 #endif // StyleResolver_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698