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

Side by Side Diff: sky/engine/core/css/resolver/StyleResolver.h

Issue 723253004: Remove tons of OILPAN. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 void enableStats(StatsReportType = ReportDefaultStats); 183 void enableStats(StatsReportType = ReportDefaultStats);
184 void disableStats(); 184 void disableStats();
185 void printStats(); 185 void printStats();
186 186
187 unsigned accessCount() const { return m_accessCount; } 187 unsigned accessCount() const { return m_accessCount; }
188 void didAccess() { ++m_accessCount; } 188 void didAccess() { ++m_accessCount; }
189 189
190 void increaseStyleSharingDepth() { ++m_styleSharingDepth; } 190 void increaseStyleSharingDepth() { ++m_styleSharingDepth; }
191 void decreaseStyleSharingDepth() { --m_styleSharingDepth; } 191 void decreaseStyleSharingDepth() { --m_styleSharingDepth; }
192 192
193 void trace(Visitor*);
194
195 private: 193 private:
196 // FIXME: This should probably go away, folded into FontBuilder. 194 // FIXME: This should probably go away, folded into FontBuilder.
197 void updateFont(StyleResolverState&); 195 void updateFont(StyleResolverState&);
198 196
199 void loadPendingResources(StyleResolverState&); 197 void loadPendingResources(StyleResolverState&);
200 198
201 void appendCSSStyleSheet(CSSStyleSheet*); 199 void appendCSSStyleSheet(CSSStyleSheet*);
202 200
203 void matchUARules(ElementRuleCollector&, RuleSet*); 201 void matchUARules(ElementRuleCollector&, RuleSet*);
204 void matchAuthorRules(Element*, ElementRuleCollector&, bool includeEmptyRule s); 202 void matchAuthorRules(Element*, ElementRuleCollector&, bool includeEmptyRule s);
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 OwnPtr<StyleResolverStats> m_styleResolverStatsTotals; 263 OwnPtr<StyleResolverStats> m_styleResolverStatsTotals;
266 unsigned m_styleResolverStatsSequence; 264 unsigned m_styleResolverStatsSequence;
267 265
268 // Use only for Internals::updateStyleAndReturnAffectedElementCount. 266 // Use only for Internals::updateStyleAndReturnAffectedElementCount.
269 unsigned m_accessCount; 267 unsigned m_accessCount;
270 }; 268 };
271 269
272 } // namespace blink 270 } // namespace blink
273 271
274 #endif // StyleResolver_h 272 #endif // StyleResolver_h
OLDNEW
« no previous file with comments | « sky/engine/core/css/resolver/ScopedStyleResolver.cpp ('k') | sky/engine/core/css/resolver/StyleResolver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698