| 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
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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 | 58 |
| 59 bool parseString(const String&); | 59 bool parseString(const String&); |
| 60 bool parseStringAtPosition(const String&, const TextPosition&, bool); | 60 bool parseStringAtPosition(const String&, const TextPosition&, bool); |
| 61 | 61 |
| 62 bool isCacheable() const; | 62 bool isCacheable() const; |
| 63 | 63 |
| 64 bool hasSingleOwnerNode() const; | 64 bool hasSingleOwnerNode() const; |
| 65 Node* singleOwnerNode() const; | 65 Node* singleOwnerNode() const; |
| 66 Document* singleOwnerDocument() const; | 66 Document* singleOwnerDocument() const; |
| 67 | 67 |
| 68 bool hasFailedOrCanceledSubresources() const; | |
| 69 | |
| 70 KURL completeURL(const String& url) const; | 68 KURL completeURL(const String& url) const; |
| 71 | 69 |
| 72 void setHasSyntacticallyValidCSSHeader(bool isValidCss); | 70 void setHasSyntacticallyValidCSSHeader(bool isValidCss); |
| 73 bool hasSyntacticallyValidCSSHeader() const { return m_hasSyntacticallyValid
CSSHeader; } | 71 bool hasSyntacticallyValidCSSHeader() const { return m_hasSyntacticallyValid
CSSHeader; } |
| 74 | 72 |
| 75 void parserAppendRule(PassRefPtr<StyleRuleBase>); | 73 void parserAppendRule(PassRefPtr<StyleRuleBase>); |
| 76 void parserSetUsesRemUnits(bool b) { m_usesRemUnits = b; } | 74 void parserSetUsesRemUnits(bool b) { m_usesRemUnits = b; } |
| 77 | 75 |
| 78 void clearRules(); | 76 void clearRules(); |
| 79 | 77 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 CSSParserContext m_parserContext; | 122 CSSParserContext m_parserContext; |
| 125 | 123 |
| 126 HashSet<RawPtr<CSSStyleSheet> > m_loadingClients; | 124 HashSet<RawPtr<CSSStyleSheet> > m_loadingClients; |
| 127 HashSet<RawPtr<CSSStyleSheet> > m_completedClients; | 125 HashSet<RawPtr<CSSStyleSheet> > m_completedClients; |
| 128 typedef HashSet<RawPtr<CSSStyleSheet> >::iterator ClientsIterator; | 126 typedef HashSet<RawPtr<CSSStyleSheet> >::iterator ClientsIterator; |
| 129 }; | 127 }; |
| 130 | 128 |
| 131 } // namespace | 129 } // namespace |
| 132 | 130 |
| 133 #endif // SKY_ENGINE_CORE_CSS_STYLESHEETCONTENTS_H_ | 131 #endif // SKY_ENGINE_CORE_CSS_STYLESHEETCONTENTS_H_ |
| OLD | NEW |