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 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 }; | 260 }; |
261 template <StyleResolver::StyleApplicationPass pass> | 261 template <StyleResolver::StyleApplicationPass pass> |
262 static inline bool isPropertyForPass(CSSPropertyID); | 262 static inline bool isPropertyForPass(CSSPropertyID); |
263 template <StyleApplicationPass pass> | 263 template <StyleApplicationPass pass> |
264 void applyMatchedProperties(StyleResolverState&, const MatchResult&, bool im
portant, int startIndex, int endIndex, bool inheritedOnly); | 264 void applyMatchedProperties(StyleResolverState&, const MatchResult&, bool im
portant, int startIndex, int endIndex, bool inheritedOnly); |
265 template <StyleApplicationPass pass> | 265 template <StyleApplicationPass pass> |
266 void applyProperties(StyleResolverState&, const StylePropertySet* properties
, StyleRule*, bool isImportant, bool inheritedOnly, PropertyWhitelistType = Prop
ertyWhitelistNone); | 266 void applyProperties(StyleResolverState&, const StylePropertySet* properties
, StyleRule*, bool isImportant, bool inheritedOnly, PropertyWhitelistType = Prop
ertyWhitelistNone); |
267 template <StyleApplicationPass pass> | 267 template <StyleApplicationPass pass> |
268 void applyAnimatedProperties(StyleResolverState&, const AnimationEffect::Com
positableValueMap&); | 268 void applyAnimatedProperties(StyleResolverState&, const AnimationEffect::Com
positableValueMap&); |
269 void matchPageRules(MatchResult&, RuleSet*, bool isLeftPage, bool isFirstPag
e, const String& pageName); | 269 void matchPageRules(MatchResult&, RuleSet*, bool isLeftPage, bool isFirstPag
e, const String& pageName); |
270 void matchPageRulesForList(Vector<StyleRulePage*>& matchedRules, const Vecto
r<StyleRulePage*>&, bool isLeftPage, bool isFirstPage, const String& pageName); | 270 void matchPageRulesForList(WillBeHeapVector<RawPtrWillBeMember<StyleRulePage
> >& matchedRules, const WillBeHeapVector<RawPtrWillBeMember<StyleRulePage> >&,
bool isLeftPage, bool isFirstPage, const String& pageName); |
271 void collectViewportRules(); | 271 void collectViewportRules(); |
272 Settings* documentSettings() { return m_document.settings(); } | 272 Settings* documentSettings() { return m_document.settings(); } |
273 | 273 |
274 bool isLeftPage(int pageIndex) const; | 274 bool isLeftPage(int pageIndex) const; |
275 bool isRightPage(int pageIndex) const { return !isLeftPage(pageIndex); } | 275 bool isRightPage(int pageIndex) const { return !isLeftPage(pageIndex); } |
276 bool isFirstPage(int pageIndex) const; | 276 bool isFirstPage(int pageIndex) const; |
277 String pageName(int pageIndex) const; | 277 String pageName(int pageIndex) const; |
278 | 278 |
279 bool pseudoStyleForElementInternal(Element&, const PseudoStyleRequest&, Rend
erStyle* parentStyle, StyleResolverState&); | 279 bool pseudoStyleForElementInternal(Element&, const PseudoStyleRequest&, Rend
erStyle* parentStyle, StyleResolverState&); |
280 | 280 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
322 OwnPtr<StyleResolverStats> m_styleResolverStatsTotals; | 322 OwnPtr<StyleResolverStats> m_styleResolverStatsTotals; |
323 unsigned m_styleResolverStatsSequence; | 323 unsigned m_styleResolverStatsSequence; |
324 | 324 |
325 // Use only for Internals::updateStyleAndReturnAffectedElementCount. | 325 // Use only for Internals::updateStyleAndReturnAffectedElementCount. |
326 unsigned m_accessCount; | 326 unsigned m_accessCount; |
327 }; | 327 }; |
328 | 328 |
329 } // namespace WebCore | 329 } // namespace WebCore |
330 | 330 |
331 #endif // StyleResolver_h | 331 #endif // StyleResolver_h |
OLD | NEW |