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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
92 CSSRule* item(unsigned index); | 92 CSSRule* item(unsigned index); |
93 | 93 |
94 void clearOwnerNode() override; | 94 void clearOwnerNode() override; |
95 | 95 |
96 CSSRule* ownerRule() const override { return m_ownerRule; } | 96 CSSRule* ownerRule() const override { return m_ownerRule; } |
97 KURL baseURL() const override; | 97 KURL baseURL() const override; |
98 bool isLoading() const override; | 98 bool isLoading() const override; |
99 | 99 |
100 void clearOwnerRule() { m_ownerRule = nullptr; } | 100 void clearOwnerRule() { m_ownerRule = nullptr; } |
101 Document* ownerDocument() const; | 101 Document* ownerDocument() const; |
102 MediaQuerySet* mediaQueries() const { return m_mediaQueries.get(); } | 102 const MediaQuerySet* mediaQueries() const { return m_mediaQueries.get(); } |
sof
2016/12/02 09:30:11
nit: get() is redundant.
rune
2016/12/02 09:52:52
Done.
| |
103 void setMediaQueries(MediaQuerySet*); | 103 void setMediaQueries(MediaQuerySet*); |
104 void setTitle(const String& title) { m_title = title; } | 104 void setTitle(const String& title) { m_title = title; } |
105 // Set by LinkStyle iff CORS-enabled fetch of stylesheet succeeded from this | 105 // Set by LinkStyle iff CORS-enabled fetch of stylesheet succeeded from this |
106 // origin. | 106 // origin. |
107 void setAllowRuleAccessFromOrigin(PassRefPtr<SecurityOrigin> allowedOrigin); | 107 void setAllowRuleAccessFromOrigin(PassRefPtr<SecurityOrigin> allowedOrigin); |
108 | 108 |
109 class RuleMutationScope { | 109 class RuleMutationScope { |
110 WTF_MAKE_NONCOPYABLE(RuleMutationScope); | 110 WTF_MAKE_NONCOPYABLE(RuleMutationScope); |
111 STACK_ALLOCATED(); | 111 STACK_ALLOCATED(); |
112 | 112 |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
188 | 188 |
189 DEFINE_TYPE_CASTS(CSSStyleSheet, | 189 DEFINE_TYPE_CASTS(CSSStyleSheet, |
190 StyleSheet, | 190 StyleSheet, |
191 sheet, | 191 sheet, |
192 sheet->isCSSStyleSheet(), | 192 sheet->isCSSStyleSheet(), |
193 sheet.isCSSStyleSheet()); | 193 sheet.isCSSStyleSheet()); |
194 | 194 |
195 } // namespace blink | 195 } // namespace blink |
196 | 196 |
197 #endif | 197 #endif |
OLD | NEW |