OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
4 * (C) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) | 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) |
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights reserved. |
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) | 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) |
8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
9 * Copyright (C) 2011 Google Inc. All rights reserved. | 9 * Copyright (C) 2011 Google Inc. All rights reserved. |
10 * | 10 * |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
114 bool haveStylesheetsLoaded() const { return !hasPendingSheets() || m_ignoreP endingStylesheets; } | 114 bool haveStylesheetsLoaded() const { return !hasPendingSheets() || m_ignoreP endingStylesheets; } |
115 bool ignoringPendingStylesheets() const { return m_ignorePendingStylesheets; } | 115 bool ignoringPendingStylesheets() const { return m_ignorePendingStylesheets; } |
116 | 116 |
117 unsigned maxDirectAdjacentSelectors() const { return m_maxDirectAdjacentSele ctors; } | 117 unsigned maxDirectAdjacentSelectors() const { return m_maxDirectAdjacentSele ctors; } |
118 bool usesSiblingRules() const { return m_usesSiblingRules; } | 118 bool usesSiblingRules() const { return m_usesSiblingRules; } |
119 bool usesFirstLineRules() const { return m_usesFirstLineRules; } | 119 bool usesFirstLineRules() const { return m_usesFirstLineRules; } |
120 bool usesWindowInactiveSelector() const { return m_usesWindowInactiveSelecto r; } | 120 bool usesWindowInactiveSelector() const { return m_usesWindowInactiveSelecto r; } |
121 | 121 |
122 bool usesRemUnits() const { return m_usesRemUnits; } | 122 bool usesRemUnits() const { return m_usesRemUnits; } |
123 void setUsesRemUnit(bool b) { m_usesRemUnits = b; } | 123 void setUsesRemUnit(bool b) { m_usesRemUnits = b; } |
124 bool usesVariables() const { return m_usesVariables; } | |
125 void setUsesVariables(bool b) { m_usesVariables = b; } | |
124 | 126 |
125 void combineCSSFeatureFlags(const RuleFeatureSet&); | 127 void combineCSSFeatureFlags(const RuleFeatureSet&); |
126 void resetCSSFeatureFlags(const RuleFeatureSet&); | 128 void resetCSSFeatureFlags(const RuleFeatureSet&); |
127 | 129 |
128 void didRemoveShadowRoot(ShadowRoot*); | 130 void didRemoveShadowRoot(ShadowRoot*); |
129 void shadowRootRemovedFromDocument(ShadowRoot*); | 131 void shadowRootRemovedFromDocument(ShadowRoot*); |
130 void appendActiveAuthorStyleSheets(); | 132 void appendActiveAuthorStyleSheets(); |
131 | 133 |
132 StyleResolver* resolver() const | 134 StyleResolver* resolver() const |
133 { | 135 { |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
240 UnorderedTreeScopeSet m_dirtyTreeScopes; | 242 UnorderedTreeScopeSet m_dirtyTreeScopes; |
241 UnorderedTreeScopeSet m_activeTreeScopes; | 243 UnorderedTreeScopeSet m_activeTreeScopes; |
242 | 244 |
243 String m_preferredStylesheetSetName; | 245 String m_preferredStylesheetSetName; |
244 String m_selectedStylesheetSetName; | 246 String m_selectedStylesheetSetName; |
245 | 247 |
246 bool m_usesSiblingRules; | 248 bool m_usesSiblingRules; |
247 bool m_usesFirstLineRules; | 249 bool m_usesFirstLineRules; |
248 bool m_usesWindowInactiveSelector; | 250 bool m_usesWindowInactiveSelector; |
249 bool m_usesRemUnits; | 251 bool m_usesRemUnits; |
252 bool m_usesVariables; | |
Timothy Loh
2015/08/25 09:21:11
Looks like nothing ends up using this?
| |
250 unsigned m_maxDirectAdjacentSelectors; | 253 unsigned m_maxDirectAdjacentSelectors; |
251 | 254 |
252 bool m_ignorePendingStylesheets; | 255 bool m_ignorePendingStylesheets; |
253 bool m_didCalculateResolver; | 256 bool m_didCalculateResolver; |
254 OwnPtrWillBeMember<StyleResolver> m_resolver; | 257 OwnPtrWillBeMember<StyleResolver> m_resolver; |
255 StyleInvalidator m_styleInvalidator; | 258 StyleInvalidator m_styleInvalidator; |
256 | 259 |
257 RefPtrWillBeMember<CSSFontSelector> m_fontSelector; | 260 RefPtrWillBeMember<CSSFontSelector> m_fontSelector; |
258 | 261 |
259 WillBeHeapHashMap<AtomicString, RawPtrWillBeMember<StyleSheetContents>> m_te xtToSheetCache; | 262 WillBeHeapHashMap<AtomicString, RawPtrWillBeMember<StyleSheetContents>> m_te xtToSheetCache; |
260 WillBeHeapHashMap<RawPtrWillBeMember<StyleSheetContents>, AtomicString> m_sh eetToTextCache; | 263 WillBeHeapHashMap<RawPtrWillBeMember<StyleSheetContents>, AtomicString> m_sh eetToTextCache; |
261 }; | 264 }; |
262 | 265 |
263 } | 266 } |
264 | 267 |
265 #endif | 268 #endif |
OLD | NEW |