Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(193)

Side by Side Diff: Source/core/dom/StyleEngine.h

Issue 267303004: Oilpan: cleanup based on review comments after removal of TreeShared. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix typo and merge Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/dom/ScriptLoader.cpp ('k') | Source/core/dom/StyleEngine.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 StyleEngine(Document&); 196 StyleEngine(Document&);
197 197
198 TreeScopeStyleSheetCollection* ensureStyleSheetCollectionFor(TreeScope&); 198 TreeScopeStyleSheetCollection* ensureStyleSheetCollectionFor(TreeScope&);
199 TreeScopeStyleSheetCollection* styleSheetCollectionFor(TreeScope&); 199 TreeScopeStyleSheetCollection* styleSheetCollectionFor(TreeScope&);
200 bool shouldUpdateShadowTreeStyleSheetCollection(StyleResolverUpdateMode); 200 bool shouldUpdateShadowTreeStyleSheetCollection(StyleResolverUpdateMode);
201 201
202 void markTreeScopeDirty(TreeScope&); 202 void markTreeScopeDirty(TreeScope&);
203 203
204 bool isMaster() const { return m_isMaster; } 204 bool isMaster() const { return m_isMaster; }
205 Document* master(); 205 Document* master();
206 Document& document() const { return *m_document; }
206 207
207 typedef ListHashSet<TreeScope*, 16> TreeScopeSet; 208 typedef ListHashSet<TreeScope*, 16> TreeScopeSet;
208 static void insertTreeScopeInDocumentOrder(TreeScopeSet&, TreeScope*); 209 static void insertTreeScopeInDocumentOrder(TreeScopeSet&, TreeScope*);
209 void clearMediaQueryRuleSetOnTreeScopeStyleSheets(TreeScopeSet treeScopes); 210 void clearMediaQueryRuleSetOnTreeScopeStyleSheets(TreeScopeSet treeScopes);
210 211
211 void createResolver(); 212 void createResolver();
212 213
213 static PassRefPtrWillBeRawPtr<CSSStyleSheet> parseSheet(Element*, const Stri ng& text, TextPosition startPosition, bool createdByParser); 214 static PassRefPtrWillBeRawPtr<CSSStyleSheet> parseSheet(Element*, const Stri ng& text, TextPosition startPosition, bool createdByParser);
214 215
215 RawPtrWillBeMember<Document> m_document; 216 RawPtrWillBeMember<Document> m_document;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 251
251 RefPtrWillBeMember<CSSFontSelector> m_fontSelector; 252 RefPtrWillBeMember<CSSFontSelector> m_fontSelector;
252 253
253 WillBeHeapHashMap<AtomicString, RawPtrWillBeMember<StyleSheetContents> > m_t extToSheetCache; 254 WillBeHeapHashMap<AtomicString, RawPtrWillBeMember<StyleSheetContents> > m_t extToSheetCache;
254 WillBeHeapHashMap<RawPtrWillBeMember<StyleSheetContents>, AtomicString> m_sh eetToTextCache; 255 WillBeHeapHashMap<RawPtrWillBeMember<StyleSheetContents>, AtomicString> m_sh eetToTextCache;
255 }; 256 };
256 257
257 } 258 }
258 259
259 #endif 260 #endif
OLDNEW
« no previous file with comments | « Source/core/dom/ScriptLoader.cpp ('k') | Source/core/dom/StyleEngine.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698