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

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

Issue 180003002: Consistently use on-heap collections for StyleRuleBase descendants. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: addressed reviewers comments Created 6 years, 9 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
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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 m_resolver->appendPendingAuthorStyleSheets(); 162 m_resolver->appendPendingAuthorStyleSheets();
163 } 163 }
164 return *m_resolver.get(); 164 return *m_resolver.get();
165 } 165 }
166 166
167 bool hasResolver() const { return m_resolver.get(); } 167 bool hasResolver() const { return m_resolver.get(); }
168 void clearResolver(); 168 void clearResolver();
169 void clearMasterResolver(); 169 void clearMasterResolver();
170 170
171 CSSFontSelector* fontSelector() { return m_fontSelector.get(); } 171 CSSFontSelector* fontSelector() { return m_fontSelector.get(); }
172 void removeFontFaceRules(const Vector<const StyleRuleFontFace*>&); 172 void removeFontFaceRules(const WillBeHeapVector<RawPtrWillBeMember<const Sty leRuleFontFace> >&);
173 void clearFontCache(); 173 void clearFontCache();
174 // updateGenericFontFamilySettings is used from WebSettingsImpl. 174 // updateGenericFontFamilySettings is used from WebSettingsImpl.
175 void updateGenericFontFamilySettings(); 175 void updateGenericFontFamilySettings();
176 176
177 void didDetach(); 177 void didDetach();
178 bool shouldClearResolver() const; 178 bool shouldClearResolver() const;
179 StyleResolverChange resolverChanged(RecalcStyleTime, StyleResolverUpdateMode ); 179 StyleResolverChange resolverChanged(RecalcStyleTime, StyleResolverUpdateMode );
180 unsigned resolverAccessCount() const; 180 unsigned resolverAccessCount() const;
181 181
182 void markDocumentDirty(); 182 void markDocumentDirty();
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 bool m_ignorePendingStylesheets; 241 bool m_ignorePendingStylesheets;
242 bool m_didCalculateResolver; 242 bool m_didCalculateResolver;
243 OwnPtr<StyleResolver> m_resolver; 243 OwnPtr<StyleResolver> m_resolver;
244 244
245 RefPtr<CSSFontSelector> m_fontSelector; 245 RefPtr<CSSFontSelector> m_fontSelector;
246 }; 246 };
247 247
248 } 248 }
249 249
250 #endif 250 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698