| 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 |
| 265 Document& document() { return *m_document; } | 267 Document& document() { return *m_document; } |
| 266 | 268 |
| 267 // FIXME: This likely belongs on RuleSet. | 269 // FIXME: This likely belongs on RuleSet. |
| 268 typedef WillBeHeapHashMap<StringImpl*, RefPtrWillBeMember<StyleRuleKeyframes
> > KeyframesRuleMap; | 270 typedef WillBeHeapHashMap<StringImpl*, RefPtrWillBeMember<StyleRuleKeyframes
> > KeyframesRuleMap; |
| 269 KeyframesRuleMap m_keyframesRuleMap; | 271 KeyframesRuleMap m_keyframesRuleMap; |
| 270 | 272 |
| 271 static RenderStyle* s_styleNotYetAvailable; | 273 static RenderStyle* s_styleNotYetAvailable; |
| 272 | 274 |
| 273 void cacheBorderAndBackground(); | 275 void cacheBorderAndBackground(); |
| 274 | 276 |
| (...skipping 29 matching lines...) Expand all Loading... |
| 304 OwnPtr<StyleResolverStats> m_styleResolverStatsTotals; | 306 OwnPtr<StyleResolverStats> m_styleResolverStatsTotals; |
| 305 unsigned m_styleResolverStatsSequence; | 307 unsigned m_styleResolverStatsSequence; |
| 306 | 308 |
| 307 // Use only for Internals::updateStyleAndReturnAffectedElementCount. | 309 // Use only for Internals::updateStyleAndReturnAffectedElementCount. |
| 308 unsigned m_accessCount; | 310 unsigned m_accessCount; |
| 309 }; | 311 }; |
| 310 | 312 |
| 311 } // namespace blink | 313 } // namespace blink |
| 312 | 314 |
| 313 #endif // StyleResolver_h | 315 #endif // StyleResolver_h |
| OLD | NEW |