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 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 Document& document() { return *m_document; } | 265 Document& document() { return *m_document; } |
266 | 266 |
267 // FIXME: This likely belongs on RuleSet. | |
268 typedef WillBeHeapHashMap<StringImpl*, RefPtrWillBeMember<StyleRuleKeyframes
> > KeyframesRuleMap; | |
269 KeyframesRuleMap m_keyframesRuleMap; | |
270 | |
271 static RenderStyle* s_styleNotYetAvailable; | 267 static RenderStyle* s_styleNotYetAvailable; |
272 | 268 |
273 void cacheBorderAndBackground(); | 269 void cacheBorderAndBackground(); |
274 | 270 |
275 MatchedPropertiesCache m_matchedPropertiesCache; | 271 MatchedPropertiesCache m_matchedPropertiesCache; |
276 | 272 |
277 OwnPtr<MediaQueryEvaluator> m_medium; | 273 OwnPtr<MediaQueryEvaluator> m_medium; |
278 MediaQueryResultList m_viewportDependentMediaQueryResults; | 274 MediaQueryResultList m_viewportDependentMediaQueryResults; |
279 | 275 |
280 RawPtrWillBeMember<Document> m_document; | 276 RawPtrWillBeMember<Document> m_document; |
(...skipping 23 matching lines...) Expand all Loading... |
304 OwnPtr<StyleResolverStats> m_styleResolverStatsTotals; | 300 OwnPtr<StyleResolverStats> m_styleResolverStatsTotals; |
305 unsigned m_styleResolverStatsSequence; | 301 unsigned m_styleResolverStatsSequence; |
306 | 302 |
307 // Use only for Internals::updateStyleAndReturnAffectedElementCount. | 303 // Use only for Internals::updateStyleAndReturnAffectedElementCount. |
308 unsigned m_accessCount; | 304 unsigned m_accessCount; |
309 }; | 305 }; |
310 | 306 |
311 } // namespace blink | 307 } // namespace blink |
312 | 308 |
313 #endif // StyleResolver_h | 309 #endif // StyleResolver_h |
OLD | NEW |