| OLD | NEW |
| 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 | 3 * Copyright (C) 2004, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All rights |
| 4 * reserved. | 4 * reserved. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 bool isReferencedFromResource() const { return m_referencedFromResource; } | 167 bool isReferencedFromResource() const { return m_referencedFromResource; } |
| 168 void setReferencedFromResource(CSSStyleSheetResource*); | 168 void setReferencedFromResource(CSSStyleSheetResource*); |
| 169 void clearReferencedFromResource(); | 169 void clearReferencedFromResource(); |
| 170 | 170 |
| 171 void setHasMediaQueries(); | 171 void setHasMediaQueries(); |
| 172 bool hasMediaQueries() const { return m_hasMediaQueries; } | 172 bool hasMediaQueries() const { return m_hasMediaQueries; } |
| 173 | 173 |
| 174 bool didLoadErrorOccur() const { return m_didLoadErrorOccur; } | 174 bool didLoadErrorOccur() const { return m_didLoadErrorOccur; } |
| 175 | 175 |
| 176 RuleSet& ruleSet() { | 176 RuleSet& ruleSet() { |
| 177 ASSERT(m_ruleSet); | 177 DCHECK(m_ruleSet); |
| 178 return *m_ruleSet.get(); | 178 return *m_ruleSet.get(); |
| 179 } | 179 } |
| 180 RuleSet& ensureRuleSet(const MediaQueryEvaluator&, AddRuleFlags); | 180 RuleSet& ensureRuleSet(const MediaQueryEvaluator&, AddRuleFlags); |
| 181 void clearRuleSet(); | 181 void clearRuleSet(); |
| 182 | 182 |
| 183 String sourceMapURL() const { return m_sourceMapURL; } | 183 String sourceMapURL() const { return m_sourceMapURL; } |
| 184 | 184 |
| 185 DECLARE_TRACE(); | 185 DECLARE_TRACE(); |
| 186 | 186 |
| 187 private: | 187 private: |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 HeapHashSet<WeakMember<CSSStyleSheet>> m_loadingClients; | 222 HeapHashSet<WeakMember<CSSStyleSheet>> m_loadingClients; |
| 223 HeapHashSet<WeakMember<CSSStyleSheet>> m_completedClients; | 223 HeapHashSet<WeakMember<CSSStyleSheet>> m_completedClients; |
| 224 | 224 |
| 225 Member<RuleSet> m_ruleSet; | 225 Member<RuleSet> m_ruleSet; |
| 226 String m_sourceMapURL; | 226 String m_sourceMapURL; |
| 227 }; | 227 }; |
| 228 | 228 |
| 229 } // namespace blink | 229 } // namespace blink |
| 230 | 230 |
| 231 #endif | 231 #endif |
| OLD | NEW |