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 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
301 OwnPtr<MediaQueryEvaluator> m_medium; | 301 OwnPtr<MediaQueryEvaluator> m_medium; |
302 WillBePersistentMediaQueryResultList m_viewportDependentMediaQueryResults; | 302 WillBePersistentMediaQueryResultList m_viewportDependentMediaQueryResults; |
303 | 303 |
304 RefPtr<RenderStyle> m_rootDefaultStyle; | 304 RefPtr<RenderStyle> m_rootDefaultStyle; |
305 | 305 |
306 Document& m_document; | 306 Document& m_document; |
307 SelectorFilter m_selectorFilter; | 307 SelectorFilter m_selectorFilter; |
308 | 308 |
309 RefPtr<ViewportStyleResolver> m_viewportStyleResolver; | 309 RefPtr<ViewportStyleResolver> m_viewportStyleResolver; |
310 | 310 |
| 311 // FIXME: Oilpan: This should be a WillBePersistentHeapListHashSet. |
| 312 // This is safe for now, but should be updated when we support |
| 313 // heap allocated ListHashSets. |
311 ListHashSet<CSSStyleSheet*, 16> m_pendingStyleSheets; | 314 ListHashSet<CSSStyleSheet*, 16> m_pendingStyleSheets; |
312 | 315 |
313 ScopedStyleTree m_styleTree; | 316 ScopedStyleTree m_styleTree; |
314 | 317 |
315 // FIXME: The entire logic of collecting features on StyleResolver, as well
as transferring them | 318 // FIXME: The entire logic of collecting features on StyleResolver, as well
as transferring them |
316 // between various parts of machinery smells wrong. This needs to be better
somehow. | 319 // between various parts of machinery smells wrong. This needs to be better
somehow. |
317 RuleFeatureSet m_features; | 320 RuleFeatureSet m_features; |
318 OwnPtrWillBePersistent<RuleSet> m_siblingRuleSet; | 321 OwnPtrWillBePersistent<RuleSet> m_siblingRuleSet; |
319 OwnPtrWillBePersistent<RuleSet> m_uncommonAttributeRuleSet; | 322 OwnPtrWillBePersistent<RuleSet> m_uncommonAttributeRuleSet; |
320 | 323 |
(...skipping 11 matching lines...) Expand all Loading... |
332 OwnPtr<StyleResolverStats> m_styleResolverStatsTotals; | 335 OwnPtr<StyleResolverStats> m_styleResolverStatsTotals; |
333 unsigned m_styleResolverStatsSequence; | 336 unsigned m_styleResolverStatsSequence; |
334 | 337 |
335 // Use only for Internals::updateStyleAndReturnAffectedElementCount. | 338 // Use only for Internals::updateStyleAndReturnAffectedElementCount. |
336 unsigned m_accessCount; | 339 unsigned m_accessCount; |
337 }; | 340 }; |
338 | 341 |
339 } // namespace WebCore | 342 } // namespace WebCore |
340 | 343 |
341 #endif // StyleResolver_h | 344 #endif // StyleResolver_h |
OLD | NEW |