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

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

Issue 1183353002: Remove unused createdByParser argument from StyleEngine::(parse/create)Sheet (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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
« no previous file with comments | « Source/core/dom/StyleElement.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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 // updateGenericFontFamilySettings is used from WebSettingsImpl. 158 // updateGenericFontFamilySettings is used from WebSettingsImpl.
159 void updateGenericFontFamilySettings(); 159 void updateGenericFontFamilySettings();
160 160
161 void didDetach(); 161 void didDetach();
162 bool shouldClearResolver() const; 162 bool shouldClearResolver() const;
163 void resolverChanged(StyleResolverUpdateMode); 163 void resolverChanged(StyleResolverUpdateMode);
164 unsigned resolverAccessCount() const; 164 unsigned resolverAccessCount() const;
165 165
166 void markDocumentDirty(); 166 void markDocumentDirty();
167 167
168 PassRefPtrWillBeRawPtr<CSSStyleSheet> createSheet(Element*, const String& te xt, TextPosition startPosition, bool createdByParser); 168 PassRefPtrWillBeRawPtr<CSSStyleSheet> createSheet(Element*, const String& te xt, TextPosition startPosition);
169 void removeSheet(StyleSheetContents*); 169 void removeSheet(StyleSheetContents*);
170 170
171 void collectScopedStyleFeaturesTo(RuleFeatureSet&) const; 171 void collectScopedStyleFeaturesTo(RuleFeatureSet&) const;
172 172
173 void platformColorsChanged(); 173 void platformColorsChanged();
174 174
175 void classChangedForElement(const SpaceSplitString& changedClasses, Element& ); 175 void classChangedForElement(const SpaceSplitString& changedClasses, Element& );
176 void classChangedForElement(const SpaceSplitString& oldClasses, const SpaceS plitString& newClasses, Element&); 176 void classChangedForElement(const SpaceSplitString& oldClasses, const SpaceS plitString& newClasses, Element&);
177 void attributeChangedForElement(const QualifiedName& attributeName, Element& ); 177 void attributeChangedForElement(const QualifiedName& attributeName, Element& );
178 void idChangedForElement(const AtomicString& oldId, const AtomicString& newI d, Element&); 178 void idChangedForElement(const AtomicString& oldId, const AtomicString& newI d, Element&);
(...skipping 20 matching lines...) Expand all
199 Document& document() const { return *m_document; } 199 Document& document() const { return *m_document; }
200 200
201 void scheduleInvalidationSetsForElement(const InvalidationSetVector&, Elemen t&); 201 void scheduleInvalidationSetsForElement(const InvalidationSetVector&, Elemen t&);
202 202
203 typedef WillBeHeapHashSet<RawPtrWillBeMember<TreeScope>> UnorderedTreeScopeS et; 203 typedef WillBeHeapHashSet<RawPtrWillBeMember<TreeScope>> UnorderedTreeScopeS et;
204 204
205 void clearMediaQueryRuleSetOnTreeScopeStyleSheets(UnorderedTreeScopeSet&); 205 void clearMediaQueryRuleSetOnTreeScopeStyleSheets(UnorderedTreeScopeSet&);
206 206
207 void createResolver(); 207 void createResolver();
208 208
209 static PassRefPtrWillBeRawPtr<CSSStyleSheet> parseSheet(Element*, const Stri ng& text, TextPosition startPosition, bool createdByParser); 209 static PassRefPtrWillBeRawPtr<CSSStyleSheet> parseSheet(Element*, const Stri ng& text, TextPosition startPosition);
210 210
211 const DocumentStyleSheetCollection* documentStyleSheetCollection() const 211 const DocumentStyleSheetCollection* documentStyleSheetCollection() const
212 { 212 {
213 return m_documentStyleSheetCollection.get(); 213 return m_documentStyleSheetCollection.get();
214 } 214 }
215 215
216 DocumentStyleSheetCollection* documentStyleSheetCollection() 216 DocumentStyleSheetCollection* documentStyleSheetCollection()
217 { 217 {
218 return m_documentStyleSheetCollection.get(); 218 return m_documentStyleSheetCollection.get();
219 } 219 }
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 256
257 RefPtrWillBeMember<CSSFontSelector> m_fontSelector; 257 RefPtrWillBeMember<CSSFontSelector> m_fontSelector;
258 258
259 WillBeHeapHashMap<AtomicString, RawPtrWillBeMember<StyleSheetContents>> m_te xtToSheetCache; 259 WillBeHeapHashMap<AtomicString, RawPtrWillBeMember<StyleSheetContents>> m_te xtToSheetCache;
260 WillBeHeapHashMap<RawPtrWillBeMember<StyleSheetContents>, AtomicString> m_sh eetToTextCache; 260 WillBeHeapHashMap<RawPtrWillBeMember<StyleSheetContents>, AtomicString> m_sh eetToTextCache;
261 }; 261 };
262 262
263 } 263 }
264 264
265 #endif 265 #endif
OLDNEW
« no previous file with comments | « Source/core/dom/StyleElement.cpp ('k') | Source/core/dom/StyleEngine.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698