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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 | 98 |
99 virtual bool isURLAttribute(const Attribute&) const OVERRIDE; | 99 virtual bool isURLAttribute(const Attribute&) const OVERRIDE; |
100 | 100 |
101 private: | 101 private: |
102 virtual void addSubresourceAttributeURLs(ListHashSet<KURL>&) const; | 102 virtual void addSubresourceAttributeURLs(ListHashSet<KURL>&) const; |
103 | 103 |
104 virtual void finishParsingChildren(); | 104 virtual void finishParsingChildren(); |
105 | 105 |
106 enum PendingSheetType { None, NonBlocking, Blocking }; | 106 enum PendingSheetType { None, NonBlocking, Blocking }; |
107 void addPendingSheet(PendingSheetType); | 107 void addPendingSheet(PendingSheetType); |
108 void removePendingSheet(); | 108 |
| 109 enum RemovePendingSheetNotificationType { |
| 110 RemovePendingSheetNotifyImmediately, |
| 111 RemovePendingSheetNotifyLater |
| 112 }; |
| 113 |
| 114 void removePendingSheet(RemovePendingSheetNotificationType = RemovePendingSh
eetNotifyImmediately); |
109 | 115 |
110 #if ENABLE(MICRODATA) | 116 #if ENABLE(MICRODATA) |
111 virtual String itemValueText() const OVERRIDE; | 117 virtual String itemValueText() const OVERRIDE; |
112 virtual void setItemValueText(const String&, ExceptionCode&) OVERRIDE; | 118 virtual void setItemValueText(const String&, ExceptionCode&) OVERRIDE; |
113 #endif | 119 #endif |
114 | 120 |
115 private: | 121 private: |
116 HTMLLinkElement(const QualifiedName&, Document*, bool createdByParser); | 122 HTMLLinkElement(const QualifiedName&, Document*, bool createdByParser); |
117 | 123 |
118 LinkLoader m_linkLoader; | 124 LinkLoader m_linkLoader; |
(...skipping 16 matching lines...) Expand all Loading... |
135 bool m_isInShadowTree; | 141 bool m_isInShadowTree; |
136 bool m_firedLoad; | 142 bool m_firedLoad; |
137 bool m_loadedSheet; | 143 bool m_loadedSheet; |
138 | 144 |
139 PendingSheetType m_pendingSheetType; | 145 PendingSheetType m_pendingSheetType; |
140 }; | 146 }; |
141 | 147 |
142 } //namespace | 148 } //namespace |
143 | 149 |
144 #endif | 150 #endif |
OLD | NEW |