| 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 void removeStyleSheetCandidateNode(Node*, ContainerNode* scopingNode, TreeSc
ope&); | 81 void removeStyleSheetCandidateNode(Node*, ContainerNode* scopingNode, TreeSc
ope&); |
| 82 | 82 |
| 83 void clearMediaQueryRuleSetStyleSheets(); | 83 void clearMediaQueryRuleSetStyleSheets(); |
| 84 void updateActiveStyleSheets(); | 84 void updateActiveStyleSheets(); |
| 85 | 85 |
| 86 bool ignoringPendingStylesheets() const { return m_ignorePendingStylesheets;
} | 86 bool ignoringPendingStylesheets() const { return m_ignorePendingStylesheets;
} |
| 87 | 87 |
| 88 // FIXME(sky): Remove this and ::first-line. | 88 // FIXME(sky): Remove this and ::first-line. |
| 89 bool usesFirstLineRules() const { return false; } | 89 bool usesFirstLineRules() const { return false; } |
| 90 | 90 |
| 91 bool usesRemUnits() const { return m_usesRemUnits; } | |
| 92 void setUsesRemUnit(bool b) { m_usesRemUnits = b; } | |
| 93 | |
| 94 void didRemoveShadowRoot(ShadowRoot*); | 91 void didRemoveShadowRoot(ShadowRoot*); |
| 95 void appendActiveAuthorStyleSheets(); | 92 void appendActiveAuthorStyleSheets(); |
| 96 | 93 |
| 97 StyleResolver* resolver() const | 94 StyleResolver* resolver() const |
| 98 { | 95 { |
| 99 return m_resolver.get(); | 96 return m_resolver.get(); |
| 100 } | 97 } |
| 101 | 98 |
| 102 StyleResolver& ensureResolver() | 99 StyleResolver& ensureResolver() |
| 103 { | 100 { |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 | 171 |
| 175 typedef HashMap<RawPtr<TreeScope>, OwnPtr<ShadowTreeStyleSheetCollection> >
StyleSheetCollectionMap; | 172 typedef HashMap<RawPtr<TreeScope>, OwnPtr<ShadowTreeStyleSheetCollection> >
StyleSheetCollectionMap; |
| 176 StyleSheetCollectionMap m_styleSheetCollectionMap; | 173 StyleSheetCollectionMap m_styleSheetCollectionMap; |
| 177 typedef HashSet<RawPtr<const ScopedStyleResolver> > ScopedStyleResolverSet; | 174 typedef HashSet<RawPtr<const ScopedStyleResolver> > ScopedStyleResolverSet; |
| 178 ScopedStyleResolverSet m_scopedStyleResolvers; | 175 ScopedStyleResolverSet m_scopedStyleResolvers; |
| 179 | 176 |
| 180 bool m_documentScopeDirty; | 177 bool m_documentScopeDirty; |
| 181 TreeScopeSet m_dirtyTreeScopes; | 178 TreeScopeSet m_dirtyTreeScopes; |
| 182 TreeScopeSet m_activeTreeScopes; | 179 TreeScopeSet m_activeTreeScopes; |
| 183 | 180 |
| 184 bool m_usesRemUnits; | |
| 185 | |
| 186 bool m_ignorePendingStylesheets; | 181 bool m_ignorePendingStylesheets; |
| 187 OwnPtr<StyleResolver> m_resolver; | 182 OwnPtr<StyleResolver> m_resolver; |
| 188 | 183 |
| 189 RefPtr<CSSFontSelector> m_fontSelector; | 184 RefPtr<CSSFontSelector> m_fontSelector; |
| 190 | 185 |
| 191 HashMap<AtomicString, RawPtr<StyleSheetContents> > m_textToSheetCache; | 186 HashMap<AtomicString, RawPtr<StyleSheetContents> > m_textToSheetCache; |
| 192 HashMap<RawPtr<StyleSheetContents>, AtomicString> m_sheetToTextCache; | 187 HashMap<RawPtr<StyleSheetContents>, AtomicString> m_sheetToTextCache; |
| 193 }; | 188 }; |
| 194 | 189 |
| 195 } | 190 } |
| 196 | 191 |
| 197 #endif // SKY_ENGINE_CORE_DOM_STYLEENGINE_H_ | 192 #endif // SKY_ENGINE_CORE_DOM_STYLEENGINE_H_ |
| OLD | NEW |