| OLD | NEW |
| 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 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 346 RefPtr<CSSFontSelector> m_fontSelector; | 346 RefPtr<CSSFontSelector> m_fontSelector; |
| 347 | 347 |
| 348 RefPtr<ViewportStyleResolver> m_viewportStyleResolver; | 348 RefPtr<ViewportStyleResolver> m_viewportStyleResolver; |
| 349 | 349 |
| 350 ScopedStyleTree m_styleTree; | 350 ScopedStyleTree m_styleTree; |
| 351 | 351 |
| 352 // FIXME: The entire logic of collecting features on StyleResolver, as well
astransferring them | 352 // FIXME: The entire logic of collecting features on StyleResolver, as well
astransferring them |
| 353 // between various parts of machinery smells wrong. This needs to be better
somehow. | 353 // between various parts of machinery smells wrong. This needs to be better
somehow. |
| 354 RuleFeatureSet m_features; | 354 RuleFeatureSet m_features; |
| 355 OwnPtr<RuleSet> m_siblingRuleSet; | 355 OwnPtr<RuleSet> m_siblingRuleSet; |
| 356 OwnPtr<RuleSet> m_descendantRuleSet; |
| 356 OwnPtr<RuleSet> m_uncommonAttributeRuleSet; | 357 OwnPtr<RuleSet> m_uncommonAttributeRuleSet; |
| 357 | 358 |
| 358 InspectorCSSOMWrappers m_inspectorCSSOMWrappers; | 359 InspectorCSSOMWrappers m_inspectorCSSOMWrappers; |
| 359 | 360 |
| 360 StyleResourceLoader m_styleResourceLoader; | 361 StyleResourceLoader m_styleResourceLoader; |
| 361 | 362 |
| 362 StyleSharingList m_styleSharingList; | 363 StyleSharingList m_styleSharingList; |
| 363 | 364 |
| 364 #ifdef STYLE_STATS | 365 #ifdef STYLE_STATS |
| 365 static StyleSharingStats m_styleSharingStats; | 366 static StyleSharingStats m_styleSharingStats; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 377 PseudoId ignoreDynamicPseudo = NOPSEUDO; | 378 PseudoId ignoreDynamicPseudo = NOPSEUDO; |
| 378 if (selectorChecker.match(selectorCheckingContext, ignoreDynamicPseudo,
DOMSiblingTraversalStrategy()) == SelectorChecker::SelectorMatches) | 379 if (selectorChecker.match(selectorCheckingContext, ignoreDynamicPseudo,
DOMSiblingTraversalStrategy()) == SelectorChecker::SelectorMatches) |
| 379 return true; | 380 return true; |
| 380 } | 381 } |
| 381 return false; | 382 return false; |
| 382 } | 383 } |
| 383 | 384 |
| 384 } // namespace WebCore | 385 } // namespace WebCore |
| 385 | 386 |
| 386 #endif // StyleResolver_h | 387 #endif // StyleResolver_h |
| OLD | NEW |