| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * Copyright (C) 2003, 2008, 2010 Apple Inc. All rights reserved. | 4 * Copyright (C) 2003, 2008, 2010 Apple Inc. All rights 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 virtual String target() const; | 72 virtual String target() const; |
| 73 | 73 |
| 74 String type() const; | 74 String type() const; |
| 75 | 75 |
| 76 StyleSheet* sheet() const; | 76 StyleSheet* sheet() const; |
| 77 | 77 |
| 78 bool isLoading() const; | 78 bool isLoading() const; |
| 79 | 79 |
| 80 bool isDisabled() const { return m_disabledState == Disabled; } | 80 bool isDisabled() const { return m_disabledState == Disabled; } |
| 81 bool isEnabledViaScript() const { return m_disabledState == EnabledViaScript
; } | 81 bool isEnabledViaScript() const { return m_disabledState == EnabledViaScript
; } |
| 82 bool disabled() const; | |
| 83 void setDisabled(bool); | |
| 84 | 82 |
| 85 private: | 83 private: |
| 86 virtual void parseMappedAttribute(Attribute*); | 84 virtual void parseMappedAttribute(Attribute*); |
| 87 | 85 |
| 88 #if ENABLE(LINK_PREFETCH) | 86 #if ENABLE(LINK_PREFETCH) |
| 89 void onloadTimerFired(Timer<HTMLLinkElement>*); | 87 void onloadTimerFired(Timer<HTMLLinkElement>*); |
| 90 #endif | 88 #endif |
| 91 bool checkBeforeLoadEvent(); | 89 bool checkBeforeLoadEvent(); |
| 92 void process(); | 90 void process(); |
| 93 static void processCallback(Node*); | 91 static void processCallback(Node*); |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 bool m_loading; | 141 bool m_loading; |
| 144 bool m_createdByParser; | 142 bool m_createdByParser; |
| 145 bool m_isInShadowTree; | 143 bool m_isInShadowTree; |
| 146 | 144 |
| 147 PendingSheetType m_pendingSheetType; | 145 PendingSheetType m_pendingSheetType; |
| 148 }; | 146 }; |
| 149 | 147 |
| 150 } //namespace | 148 } //namespace |
| 151 | 149 |
| 152 #endif | 150 #endif |
| OLD | NEW |