| 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 * Copyright (C) 2011 Google Inc. All rights reserved. | 5 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 // the icon size string as parsed from the HTML attribute | 138 // the icon size string as parsed from the HTML attribute |
| 139 String iconSizes() const; | 139 String iconSizes() const; |
| 140 | 140 |
| 141 CSSStyleSheet* sheet() const { return linkStyle() ? linkStyle()->sheet() : 0
; } | 141 CSSStyleSheet* sheet() const { return linkStyle() ? linkStyle()->sheet() : 0
; } |
| 142 Document* import() const; | 142 Document* import() const; |
| 143 | 143 |
| 144 bool styleSheetIsLoading() const; | 144 bool styleSheetIsLoading() const; |
| 145 | 145 |
| 146 bool isDisabled() const { return linkStyle() && linkStyle()->isDisabled(); } | 146 bool isDisabled() const { return linkStyle() && linkStyle()->isDisabled(); } |
| 147 bool isEnabledViaScript() const { return linkStyle() && linkStyle()->isEnabl
edViaScript(); } | 147 bool isEnabledViaScript() const { return linkStyle() && linkStyle()->isEnabl
edViaScript(); } |
| 148 void setSizes(const String&); | |
| 149 DOMSettableTokenList* sizes() const; | 148 DOMSettableTokenList* sizes() const; |
| 150 | 149 |
| 151 void dispatchPendingEvent(LinkEventSender*); | 150 void dispatchPendingEvent(LinkEventSender*); |
| 152 void scheduleEvent(); | 151 void scheduleEvent(); |
| 153 static void dispatchPendingLoadEvents(); | 152 static void dispatchPendingLoadEvents(); |
| 154 | 153 |
| 155 // From LinkLoaderClient | 154 // From LinkLoaderClient |
| 156 virtual bool shouldLoadLink() OVERRIDE; | 155 virtual bool shouldLoadLink() OVERRIDE; |
| 157 | 156 |
| 158 // For LinkStyle | 157 // For LinkStyle |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 bool m_createdByParser; | 201 bool m_createdByParser; |
| 203 bool m_isInShadowTree; | 202 bool m_isInShadowTree; |
| 204 int m_beforeLoadRecurseCount; | 203 int m_beforeLoadRecurseCount; |
| 205 }; | 204 }; |
| 206 | 205 |
| 207 DEFINE_NODE_TYPE_CASTS(HTMLLinkElement, hasTagName(HTMLNames::linkTag)); | 206 DEFINE_NODE_TYPE_CASTS(HTMLLinkElement, hasTagName(HTMLNames::linkTag)); |
| 208 | 207 |
| 209 } //namespace | 208 } //namespace |
| 210 | 209 |
| 211 #endif | 210 #endif |
| OLD | NEW |