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 | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All |
7 * rights reserved. | 7 * rights reserved. |
8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. | 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. |
9 * (http://www.torchmobile.com/) | 9 * (http://www.torchmobile.com/) |
10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 bool usesFirstLineRules() const { return m_usesFirstLineRules; } | 149 bool usesFirstLineRules() const { return m_usesFirstLineRules; } |
150 bool usesWindowInactiveSelector() const { | 150 bool usesWindowInactiveSelector() const { |
151 return m_usesWindowInactiveSelector; | 151 return m_usesWindowInactiveSelector; |
152 } | 152 } |
153 | 153 |
154 bool usesRemUnits() const { return m_usesRemUnits; } | 154 bool usesRemUnits() const { return m_usesRemUnits; } |
155 void setUsesRemUnit(bool b) { m_usesRemUnits = b; } | 155 void setUsesRemUnit(bool b) { m_usesRemUnits = b; } |
156 | 156 |
157 void resetCSSFeatureFlags(const RuleFeatureSet&); | 157 void resetCSSFeatureFlags(const RuleFeatureSet&); |
158 | 158 |
159 void didRemoveShadowRoot(ShadowRoot*); | |
160 void shadowRootRemovedFromDocument(ShadowRoot*); | 159 void shadowRootRemovedFromDocument(ShadowRoot*); |
161 void appendActiveAuthorStyleSheets(); | 160 void appendActiveAuthorStyleSheets(); |
162 void addTreeBoundaryCrossingScope(const TreeScope&); | 161 void addTreeBoundaryCrossingScope(const TreeScope&); |
163 const DocumentOrderedList& treeBoundaryCrossingScopes() const { | 162 const DocumentOrderedList& treeBoundaryCrossingScopes() const { |
164 return m_treeBoundaryCrossingScopes; | 163 return m_treeBoundaryCrossingScopes; |
165 } | 164 } |
166 void resetAuthorStyle(TreeScope&); | 165 void resetAuthorStyle(TreeScope&); |
167 | 166 |
168 StyleResolver* resolver() const { return m_resolver.get(); } | 167 StyleResolver* resolver() const { return m_resolver.get(); } |
169 | 168 |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
334 | 333 |
335 std::unique_ptr<StyleResolverStats> m_styleResolverStats; | 334 std::unique_ptr<StyleResolverStats> m_styleResolverStats; |
336 unsigned m_styleForElementCount = 0; | 335 unsigned m_styleForElementCount = 0; |
337 | 336 |
338 friend class StyleEngineTest; | 337 friend class StyleEngineTest; |
339 }; | 338 }; |
340 | 339 |
341 } // namespace blink | 340 } // namespace blink |
342 | 341 |
343 #endif | 342 #endif |
OLD | NEW |