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

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

Issue 296743003: Removed RecalcStyleTime. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased. 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/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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 void clearMasterResolver(); 172 void clearMasterResolver();
173 173
174 CSSFontSelector* fontSelector() { return m_fontSelector.get(); } 174 CSSFontSelector* fontSelector() { return m_fontSelector.get(); }
175 void removeFontFaceRules(const WillBeHeapVector<RawPtrWillBeMember<const Sty leRuleFontFace> >&); 175 void removeFontFaceRules(const WillBeHeapVector<RawPtrWillBeMember<const Sty leRuleFontFace> >&);
176 void clearFontCache(); 176 void clearFontCache();
177 // updateGenericFontFamilySettings is used from WebSettingsImpl. 177 // updateGenericFontFamilySettings is used from WebSettingsImpl.
178 void updateGenericFontFamilySettings(); 178 void updateGenericFontFamilySettings();
179 179
180 void didDetach(); 180 void didDetach();
181 bool shouldClearResolver() const; 181 bool shouldClearResolver() const;
182 StyleResolverChange resolverChanged(RecalcStyleTime, StyleResolverUpdateMode ); 182 StyleResolverChange resolverChanged(StyleResolverUpdateMode);
183 unsigned resolverAccessCount() const; 183 unsigned resolverAccessCount() const;
184 184
185 void markDocumentDirty(); 185 void markDocumentDirty();
186 186
187 PassRefPtrWillBeRawPtr<CSSStyleSheet> createSheet(Element*, const String& te xt, TextPosition startPosition, bool createdByParser); 187 PassRefPtrWillBeRawPtr<CSSStyleSheet> createSheet(Element*, const String& te xt, TextPosition startPosition, bool createdByParser);
188 void removeSheet(StyleSheetContents*); 188 void removeSheet(StyleSheetContents*);
189 189
190 void trace(Visitor*); 190 void trace(Visitor*);
191 191
192 private: 192 private:
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 271
272 RefPtrWillBeMember<CSSFontSelector> m_fontSelector; 272 RefPtrWillBeMember<CSSFontSelector> m_fontSelector;
273 273
274 WillBeHeapHashMap<AtomicString, RawPtrWillBeMember<StyleSheetContents> > m_t extToSheetCache; 274 WillBeHeapHashMap<AtomicString, RawPtrWillBeMember<StyleSheetContents> > m_t extToSheetCache;
275 WillBeHeapHashMap<RawPtrWillBeMember<StyleSheetContents>, AtomicString> m_sh eetToTextCache; 275 WillBeHeapHashMap<RawPtrWillBeMember<StyleSheetContents>, AtomicString> m_sh eetToTextCache;
276 }; 276 };
277 277
278 } 278 }
279 279
280 #endif 280 #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