| 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 enum PendingSheetType { None, NonBlocking, Blocking }; | 112 enum PendingSheetType { None, NonBlocking, Blocking }; |
| 113 void addPendingSheet(PendingSheetType); | 113 void addPendingSheet(PendingSheetType); |
| 114 | 114 |
| 115 enum RemovePendingSheetNotificationType { | 115 enum RemovePendingSheetNotificationType { |
| 116 RemovePendingSheetNotifyImmediately, | 116 RemovePendingSheetNotifyImmediately, |
| 117 RemovePendingSheetNotifyLater | 117 RemovePendingSheetNotifyLater |
| 118 }; | 118 }; |
| 119 | 119 |
| 120 void removePendingSheet(RemovePendingSheetNotificationType = RemovePendingSh
eetNotifyImmediately); | 120 void removePendingSheet(RemovePendingSheetNotificationType = RemovePendingSh
eetNotifyImmediately); |
| 121 | 121 |
| 122 #if ENABLE(MICRODATA) | |
| 123 virtual String itemValueText() const OVERRIDE; | |
| 124 virtual void setItemValueText(const String&, ExceptionCode&) OVERRIDE; | |
| 125 #endif | |
| 126 | |
| 127 private: | 122 private: |
| 128 HTMLLinkElement(const QualifiedName&, Document*, bool createdByParser); | 123 HTMLLinkElement(const QualifiedName&, Document*, bool createdByParser); |
| 129 | 124 |
| 130 LinkLoader m_linkLoader; | 125 LinkLoader m_linkLoader; |
| 131 CachedResourceHandle<CachedCSSStyleSheet> m_cachedSheet; | 126 CachedResourceHandle<CachedCSSStyleSheet> m_cachedSheet; |
| 132 RefPtr<CSSStyleSheet> m_sheet; | 127 RefPtr<CSSStyleSheet> m_sheet; |
| 133 enum DisabledState { | 128 enum DisabledState { |
| 134 Unset, | 129 Unset, |
| 135 EnabledViaScript, | 130 EnabledViaScript, |
| 136 Disabled | 131 Disabled |
| (...skipping 11 matching lines...) Expand all Loading... |
| 148 bool m_loadedSheet; | 143 bool m_loadedSheet; |
| 149 | 144 |
| 150 PendingSheetType m_pendingSheetType; | 145 PendingSheetType m_pendingSheetType; |
| 151 | 146 |
| 152 int m_beforeLoadRecurseCount; | 147 int m_beforeLoadRecurseCount; |
| 153 }; | 148 }; |
| 154 | 149 |
| 155 } //namespace | 150 } //namespace |
| 156 | 151 |
| 157 #endif | 152 #endif |
| OLD | NEW |