| 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 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 void matchPageRulesForList(WillBeHeapVector<RawPtrWillBeMember<StyleRulePage
> >& matchedRules, const WillBeHeapVector<RawPtrWillBeMember<StyleRulePage> >&,
bool isLeftPage, bool isFirstPage, const String& pageName); | 255 void matchPageRulesForList(WillBeHeapVector<RawPtrWillBeMember<StyleRulePage
> >& matchedRules, const WillBeHeapVector<RawPtrWillBeMember<StyleRulePage> >&,
bool isLeftPage, bool isFirstPage, const String& pageName); |
| 256 void collectViewportRules(); | 256 void collectViewportRules(); |
| 257 | 257 |
| 258 bool isLeftPage(int pageIndex) const; | 258 bool isLeftPage(int pageIndex) const; |
| 259 bool isRightPage(int pageIndex) const { return !isLeftPage(pageIndex); } | 259 bool isRightPage(int pageIndex) const { return !isLeftPage(pageIndex); } |
| 260 bool isFirstPage(int pageIndex) const; | 260 bool isFirstPage(int pageIndex) const; |
| 261 String pageName(int pageIndex) const; | 261 String pageName(int pageIndex) const; |
| 262 | 262 |
| 263 bool pseudoStyleForElementInternal(Element&, const PseudoStyleRequest&, Rend
erStyle* parentStyle, StyleResolverState&); | 263 bool pseudoStyleForElementInternal(Element&, const PseudoStyleRequest&, Rend
erStyle* parentStyle, StyleResolverState&); |
| 264 | 264 |
| 265 PassRefPtrWillBeRawPtr<PseudoElement> createPseudoElement(Element* parent, P
seudoId); | |
| 266 | |
| 267 Document& document() { return *m_document; } | 265 Document& document() { return *m_document; } |
| 268 | 266 |
| 269 // FIXME: This likely belongs on RuleSet. | 267 // FIXME: This likely belongs on RuleSet. |
| 270 typedef WillBeHeapHashMap<StringImpl*, RefPtrWillBeMember<StyleRuleKeyframes
> > KeyframesRuleMap; | 268 typedef WillBeHeapHashMap<StringImpl*, RefPtrWillBeMember<StyleRuleKeyframes
> > KeyframesRuleMap; |
| 271 KeyframesRuleMap m_keyframesRuleMap; | 269 KeyframesRuleMap m_keyframesRuleMap; |
| 272 | 270 |
| 273 static RenderStyle* s_styleNotYetAvailable; | 271 static RenderStyle* s_styleNotYetAvailable; |
| 274 | 272 |
| 275 void cacheBorderAndBackground(); | 273 void cacheBorderAndBackground(); |
| 276 | 274 |
| (...skipping 29 matching lines...) Expand all Loading... |
| 306 OwnPtr<StyleResolverStats> m_styleResolverStatsTotals; | 304 OwnPtr<StyleResolverStats> m_styleResolverStatsTotals; |
| 307 unsigned m_styleResolverStatsSequence; | 305 unsigned m_styleResolverStatsSequence; |
| 308 | 306 |
| 309 // Use only for Internals::updateStyleAndReturnAffectedElementCount. | 307 // Use only for Internals::updateStyleAndReturnAffectedElementCount. |
| 310 unsigned m_accessCount; | 308 unsigned m_accessCount; |
| 311 }; | 309 }; |
| 312 | 310 |
| 313 } // namespace blink | 311 } // namespace blink |
| 314 | 312 |
| 315 #endif // StyleResolver_h | 313 #endif // StyleResolver_h |
| OLD | NEW |