| 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 CSSRule* item(unsigned index); | 93 CSSRule* item(unsigned index); |
| 94 | 94 |
| 95 void clearOwnerNode() override; | 95 void clearOwnerNode() override; |
| 96 | 96 |
| 97 CSSRule* ownerRule() const override { return m_ownerRule; } | 97 CSSRule* ownerRule() const override { return m_ownerRule; } |
| 98 KURL baseURL() const override; | 98 KURL baseURL() const override; |
| 99 bool isLoading() const override; | 99 bool isLoading() const override; |
| 100 | 100 |
| 101 void clearOwnerRule() { m_ownerRule = nullptr; } | 101 void clearOwnerRule() { m_ownerRule = nullptr; } |
| 102 Document* ownerDocument() const; | 102 Document* ownerDocument() const; |
| 103 MediaQuerySet* mediaQueries() const { return m_mediaQueries.get(); } | 103 const MediaQuerySet* mediaQueries() const { return m_mediaQueries; } |
| 104 void setMediaQueries(MediaQuerySet*); | 104 void setMediaQueries(MediaQuerySet*); |
| 105 bool matchesMediaQueries(const MediaQueryEvaluator&); | 105 bool matchesMediaQueries(const MediaQueryEvaluator&); |
| 106 const MediaQueryResultList& viewportDependentMediaQueryResults() const { | 106 const MediaQueryResultList& viewportDependentMediaQueryResults() const { |
| 107 return m_viewportDependentMediaQueryResults; | 107 return m_viewportDependentMediaQueryResults; |
| 108 } | 108 } |
| 109 const MediaQueryResultList& deviceDependentMediaQueryResults() const { | 109 const MediaQueryResultList& deviceDependentMediaQueryResults() const { |
| 110 return m_deviceDependentMediaQueryResults; | 110 return m_deviceDependentMediaQueryResults; |
| 111 } | 111 } |
| 112 void setTitle(const String& title) { m_title = title; } | 112 void setTitle(const String& title) { m_title = title; } |
| 113 // Set by LinkStyle iff CORS-enabled fetch of stylesheet succeeded from this | 113 // Set by LinkStyle iff CORS-enabled fetch of stylesheet succeeded from this |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 | 198 |
| 199 DEFINE_TYPE_CASTS(CSSStyleSheet, | 199 DEFINE_TYPE_CASTS(CSSStyleSheet, |
| 200 StyleSheet, | 200 StyleSheet, |
| 201 sheet, | 201 sheet, |
| 202 sheet->isCSSStyleSheet(), | 202 sheet->isCSSStyleSheet(), |
| 203 sheet.isCSSStyleSheet()); | 203 sheet.isCSSStyleSheet()); |
| 204 | 204 |
| 205 } // namespace blink | 205 } // namespace blink |
| 206 | 206 |
| 207 #endif | 207 #endif |
| OLD | NEW |