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

Side by Side Diff: sky/engine/core/css/StyleSheetContents.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
« no previous file with comments | « sky/engine/core/css/StyleSheet.h ('k') | sky/engine/core/css/StyleSheetContents.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 * (C) 1999-2003 Lars Knoll (knoll@kde.org) 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2004, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2006, 2007, 2008, 2009, 2010, 2012 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 void setHasMediaQueries(); 122 void setHasMediaQueries();
123 bool hasMediaQueries() const { return m_hasMediaQueries; } 123 bool hasMediaQueries() const { return m_hasMediaQueries; }
124 124
125 bool didLoadErrorOccur() const { return m_didLoadErrorOccur; } 125 bool didLoadErrorOccur() const { return m_didLoadErrorOccur; }
126 126
127 void shrinkToFit(); 127 void shrinkToFit();
128 RuleSet& ruleSet() { ASSERT(m_ruleSet); return *m_ruleSet.get(); } 128 RuleSet& ruleSet() { ASSERT(m_ruleSet); return *m_ruleSet.get(); }
129 RuleSet& ensureRuleSet(const MediaQueryEvaluator&, AddRuleFlags); 129 RuleSet& ensureRuleSet(const MediaQueryEvaluator&, AddRuleFlags);
130 void clearRuleSet(); 130 void clearRuleSet();
131 131
132 void trace(Visitor*);
133
134 private: 132 private:
135 StyleSheetContents(const String& originalURL, const CSSParserContext&); 133 StyleSheetContents(const String& originalURL, const CSSParserContext&);
136 StyleSheetContents(const StyleSheetContents&); 134 StyleSheetContents(const StyleSheetContents&);
137 void notifyRemoveFontFaceRule(const StyleRuleFontFace*); 135 void notifyRemoveFontFaceRule(const StyleRuleFontFace*);
138 136
139 Document* clientSingleOwnerDocument() const; 137 Document* clientSingleOwnerDocument() const;
140 138
141 String m_originalURL; 139 String m_originalURL;
142 140
143 Vector<RefPtr<StyleRuleBase> > m_childRules; 141 Vector<RefPtr<StyleRuleBase> > m_childRules;
(...skipping 14 matching lines...) Expand all
158 HashSet<RawPtr<CSSStyleSheet> > m_loadingClients; 156 HashSet<RawPtr<CSSStyleSheet> > m_loadingClients;
159 HashSet<RawPtr<CSSStyleSheet> > m_completedClients; 157 HashSet<RawPtr<CSSStyleSheet> > m_completedClients;
160 typedef HashSet<RawPtr<CSSStyleSheet> >::iterator ClientsIterator; 158 typedef HashSet<RawPtr<CSSStyleSheet> >::iterator ClientsIterator;
161 159
162 OwnPtr<RuleSet> m_ruleSet; 160 OwnPtr<RuleSet> m_ruleSet;
163 }; 161 };
164 162
165 } // namespace 163 } // namespace
166 164
167 #endif 165 #endif
OLDNEW
« no previous file with comments | « sky/engine/core/css/StyleSheet.h ('k') | sky/engine/core/css/StyleSheetContents.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698