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

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

Issue 13973026: remove memoryinstrumentation Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove the rest part of MemoryInstrumentation Created 7 years, 8 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 bool usesFirstLetterRules() const { return m_usesFirstLetterRules; } 96 bool usesFirstLetterRules() const { return m_usesFirstLetterRules; }
97 void setUsesFirstLetterRules(bool b) { m_usesFirstLetterRules = b; } 97 void setUsesFirstLetterRules(bool b) { m_usesFirstLetterRules = b; }
98 bool usesBeforeAfterRules() const { return m_usesBeforeAfterRules || m_usesB eforeAfterRulesOverride; } 98 bool usesBeforeAfterRules() const { return m_usesBeforeAfterRules || m_usesB eforeAfterRulesOverride; }
99 void setUsesBeforeAfterRulesOverride(bool b) { m_usesBeforeAfterRulesOverrid e = b; } 99 void setUsesBeforeAfterRulesOverride(bool b) { m_usesBeforeAfterRulesOverrid e = b; }
100 bool usesRemUnits() const { return m_usesRemUnits; } 100 bool usesRemUnits() const { return m_usesRemUnits; }
101 void setUsesRemUnit(bool b) { m_usesRemUnits = b; } 101 void setUsesRemUnit(bool b) { m_usesRemUnits = b; }
102 102
103 void combineCSSFeatureFlags(); 103 void combineCSSFeatureFlags();
104 void resetCSSFeatureFlags(); 104 void resetCSSFeatureFlags();
105 105
106 void reportMemoryUsage(MemoryObjectInfo*) const;
107
108 private: 106 private:
109 DocumentStyleSheetCollection(Document*); 107 DocumentStyleSheetCollection(Document*);
110 108
111 void collectActiveStyleSheets(Vector<RefPtr<StyleSheet> >&); 109 void collectActiveStyleSheets(Vector<RefPtr<StyleSheet> >&);
112 enum StyleResolverUpdateType { 110 enum StyleResolverUpdateType {
113 Reconstruct, 111 Reconstruct,
114 Reset, 112 Reset,
115 Additive 113 Additive
116 }; 114 };
117 void analyzeStyleSheetChange(UpdateFlag, const Vector<RefPtr<CSSStyleSheet> >& newStylesheets, StyleResolverUpdateType&, bool& requiresFullStyleRecalc); 115 void analyzeStyleSheetChange(UpdateFlag, const Vector<RefPtr<CSSStyleSheet> >& newStylesheets, StyleResolverUpdateType&, bool& requiresFullStyleRecalc);
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 bool m_usesFirstLetterRules; 149 bool m_usesFirstLetterRules;
152 bool m_usesBeforeAfterRules; 150 bool m_usesBeforeAfterRules;
153 bool m_usesBeforeAfterRulesOverride; 151 bool m_usesBeforeAfterRulesOverride;
154 bool m_usesRemUnits; 152 bool m_usesRemUnits;
155 }; 153 };
156 154
157 } 155 }
158 156
159 #endif 157 #endif
160 158
OLDNEW
« no previous file with comments | « Source/core/dom/DocumentOrderedMap.cpp ('k') | Source/core/dom/DocumentStyleSheetCollection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698