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

Side by Side Diff: third_party/WebKit/Source/core/css/StyleSheetContents.h

Issue 2081893003: Mark stylesheet as having media queries at consume time. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Back to marking at consume time Created 4 years, 5 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
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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 Document* singleOwnerDocument() const; 84 Document* singleOwnerDocument() const;
85 85
86 const String& charset() const { return m_parserContext.charset(); } 86 const String& charset() const { return m_parserContext.charset(); }
87 87
88 bool loadCompleted() const; 88 bool loadCompleted() const;
89 bool hasFailedOrCanceledSubresources() const; 89 bool hasFailedOrCanceledSubresources() const;
90 90
91 void setHasSyntacticallyValidCSSHeader(bool isValidCss); 91 void setHasSyntacticallyValidCSSHeader(bool isValidCss);
92 bool hasSyntacticallyValidCSSHeader() const { return m_hasSyntacticallyValid CSSHeader; } 92 bool hasSyntacticallyValidCSSHeader() const { return m_hasSyntacticallyValid CSSHeader; }
93 93
94 void setHasFontFaceRule(bool b) { m_hasFontFaceRule = b; } 94 void setHasFontFaceRule() { m_hasFontFaceRule = true; }
95 bool hasFontFaceRule() const { return m_hasFontFaceRule; } 95 bool hasFontFaceRule() const { return m_hasFontFaceRule; }
96 void findFontFaceRules(HeapVector<Member<const StyleRuleFontFace>>& fontFace Rules); 96 void findFontFaceRules(HeapVector<Member<const StyleRuleFontFace>>& fontFace Rules);
97 97
98 void parserAddNamespace(const AtomicString& prefix, const AtomicString& uri) ; 98 void parserAddNamespace(const AtomicString& prefix, const AtomicString& uri) ;
99 void parserAppendRule(StyleRuleBase*); 99 void parserAppendRule(StyleRuleBase*);
100 100
101 void clearRules(); 101 void clearRules();
102 102
103 // Rules other than @import. 103 // Rules other than @import.
104 const HeapVector<Member<StyleRuleBase>>& childRules() const { return m_child Rules; } 104 const HeapVector<Member<StyleRuleBase>>& childRules() const { return m_child Rules; }
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 HeapHashSet<WeakMember<CSSStyleSheet>> m_loadingClients; 192 HeapHashSet<WeakMember<CSSStyleSheet>> m_loadingClients;
193 HeapHashSet<WeakMember<CSSStyleSheet>> m_completedClients; 193 HeapHashSet<WeakMember<CSSStyleSheet>> m_completedClients;
194 194
195 Member<RuleSet> m_ruleSet; 195 Member<RuleSet> m_ruleSet;
196 String m_sourceMapURL; 196 String m_sourceMapURL;
197 }; 197 };
198 198
199 } // namespace blink 199 } // namespace blink
200 200
201 #endif 201 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698