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

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

Issue 23264017: Implement support for unprefixed keyframes rules resolution. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 void applyPropertiesToStyle(const CSSPropertyValue* properties, size_t count , RenderStyle*); 247 void applyPropertiesToStyle(const CSSPropertyValue* properties, size_t count , RenderStyle*);
248 248
249 CSSFontSelector* fontSelector() const { return m_fontSelector.get(); } 249 CSSFontSelector* fontSelector() const { return m_fontSelector.get(); }
250 ViewportStyleResolver* viewportStyleResolver() { return m_viewportStyleResol ver.get(); } 250 ViewportStyleResolver* viewportStyleResolver() { return m_viewportStyleResol ver.get(); }
251 251
252 // FIXME: This logic belongs in MediaQueryEvaluator. 252 // FIXME: This logic belongs in MediaQueryEvaluator.
253 void addViewportDependentMediaQueryResult(const MediaQueryExp*, bool result) ; 253 void addViewportDependentMediaQueryResult(const MediaQueryExp*, bool result) ;
254 bool hasViewportDependentMediaQueries() const { return !m_viewportDependentM ediaQueryResults.isEmpty(); } 254 bool hasViewportDependentMediaQueries() const { return !m_viewportDependentM ediaQueryResults.isEmpty(); }
255 bool affectedByViewportChange() const; 255 bool affectedByViewportChange() const;
256 256
257 // FIXME: This likely belongs on RuleSet.
258 void addKeyframeStyle(PassRefPtr<StyleRuleKeyframes>);
259
260 // FIXME: Regions should not require special logic in StyleResolver. 257 // FIXME: Regions should not require special logic in StyleResolver.
261 bool checkRegionStyle(Element* regionElement); 258 bool checkRegionStyle(Element* regionElement);
262 259
263 // FIXME: Rename to reflect the purpose, like didChangeFontSize or something . 260 // FIXME: Rename to reflect the purpose, like didChangeFontSize or something .
264 void invalidateMatchedPropertiesCache(); 261 void invalidateMatchedPropertiesCache();
265 262
266 // Exposed for RenderStyle::isStyleAvilable(). 263 // Exposed for RenderStyle::isStyleAvilable().
267 static RenderStyle* styleNotYetAvailable() { return s_styleNotYetAvailable; } 264 static RenderStyle* styleNotYetAvailable() { return s_styleNotYetAvailable; }
268 265
269 // FIXME: StyleResolver should not have this member or method. 266 // FIXME: StyleResolver should not have this member or method.
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 PseudoId ignoreDynamicPseudo = NOPSEUDO; 371 PseudoId ignoreDynamicPseudo = NOPSEUDO;
375 if (selectorChecker.match(selectorCheckingContext, ignoreDynamicPseudo, DOMSiblingTraversalStrategy()) == SelectorChecker::SelectorMatches) 372 if (selectorChecker.match(selectorCheckingContext, ignoreDynamicPseudo, DOMSiblingTraversalStrategy()) == SelectorChecker::SelectorMatches)
376 return true; 373 return true;
377 } 374 }
378 return false; 375 return false;
379 } 376 }
380 377
381 } // namespace WebCore 378 } // namespace WebCore
382 379
383 #endif // StyleResolver_h 380 #endif // StyleResolver_h
OLDNEW
« no previous file with comments | « Source/core/css/resolver/ScopedStyleResolver.cpp ('k') | Source/core/css/resolver/StyleResolver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698