| 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 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 333 void matchPageRulesForList(Vector<StyleRulePage*>& matchedRules, const Vecto
r<StyleRulePage*>&, bool isLeftPage, bool isFirstPage, const String& pageName); | 333 void matchPageRulesForList(Vector<StyleRulePage*>& matchedRules, const Vecto
r<StyleRulePage*>&, bool isLeftPage, bool isFirstPage, const String& pageName); |
| 334 Settings* documentSettings() { return m_document->settings(); } | 334 Settings* documentSettings() { return m_document->settings(); } |
| 335 | 335 |
| 336 bool isLeftPage(int pageIndex) const; | 336 bool isLeftPage(int pageIndex) const; |
| 337 bool isRightPage(int pageIndex) const { return !isLeftPage(pageIndex); } | 337 bool isRightPage(int pageIndex) const { return !isLeftPage(pageIndex); } |
| 338 bool isFirstPage(int pageIndex) const; | 338 bool isFirstPage(int pageIndex) const; |
| 339 String pageName(int pageIndex) const; | 339 String pageName(int pageIndex) const; |
| 340 | 340 |
| 341 DocumentRuleSets m_ruleSets; | 341 DocumentRuleSets m_ruleSets; |
| 342 | 342 |
| 343 typedef HashMap<AtomicStringImpl*, RefPtr<StyleRuleKeyframes> > KeyframesRul
eMap; | 343 typedef HashMap<StringImpl*, RefPtr<StyleRuleKeyframes> > KeyframesRuleMap; |
| 344 KeyframesRuleMap m_keyframesRuleMap; | 344 KeyframesRuleMap m_keyframesRuleMap; |
| 345 | 345 |
| 346 public: | 346 public: |
| 347 static RenderStyle* styleNotYetAvailable() { return s_styleNotYetAvailable;
} | 347 static RenderStyle* styleNotYetAvailable() { return s_styleNotYetAvailable;
} |
| 348 | 348 |
| 349 PassRefPtr<StyleImage> styleImage(CSSPropertyID, CSSValue*); | 349 PassRefPtr<StyleImage> styleImage(CSSPropertyID, CSSValue*); |
| 350 PassRefPtr<StyleImage> cachedOrPendingFromValue(CSSPropertyID, CSSImageValue
*); | 350 PassRefPtr<StyleImage> cachedOrPendingFromValue(CSSPropertyID, CSSImageValue
*); |
| 351 PassRefPtr<StyleImage> generatedOrPendingFromValue(CSSPropertyID, CSSImageGe
neratorValue*); | 351 PassRefPtr<StyleImage> generatedOrPendingFromValue(CSSPropertyID, CSSImageGe
neratorValue*); |
| 352 PassRefPtr<StyleImage> setOrPendingFromValue(CSSPropertyID, CSSImageSetValue
*); | 352 PassRefPtr<StyleImage> setOrPendingFromValue(CSSPropertyID, CSSImageSetValue
*); |
| 353 PassRefPtr<StyleImage> cursorOrPendingFromValue(CSSPropertyID, CSSCursorImag
eValue*); | 353 PassRefPtr<StyleImage> cursorOrPendingFromValue(CSSPropertyID, CSSCursorImag
eValue*); |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 473 PseudoId ignoreDynamicPseudo = NOPSEUDO; | 473 PseudoId ignoreDynamicPseudo = NOPSEUDO; |
| 474 if (selectorChecker.match(selectorCheckingContext, ignoreDynamicPseudo,
DOMSiblingTraversalStrategy()) == SelectorChecker::SelectorMatches) | 474 if (selectorChecker.match(selectorCheckingContext, ignoreDynamicPseudo,
DOMSiblingTraversalStrategy()) == SelectorChecker::SelectorMatches) |
| 475 return true; | 475 return true; |
| 476 } | 476 } |
| 477 return false; | 477 return false; |
| 478 } | 478 } |
| 479 | 479 |
| 480 } // namespace WebCore | 480 } // namespace WebCore |
| 481 | 481 |
| 482 #endif // StyleResolver_h | 482 #endif // StyleResolver_h |
| OLD | NEW |