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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 | 166 |
167 void dispatchPendingEvent(LinkEventSender*); | 167 void dispatchPendingEvent(LinkEventSender*); |
168 void scheduleEvent(); | 168 void scheduleEvent(); |
169 void dispatchEventImmediately(); | 169 void dispatchEventImmediately(); |
170 static void dispatchPendingLoadEvents(); | 170 static void dispatchPendingLoadEvents(); |
171 | 171 |
172 // From LinkLoaderClient | 172 // From LinkLoaderClient |
173 bool shouldLoadLink() override; | 173 bool shouldLoadLink() override; |
174 | 174 |
175 // For LinkStyle | 175 // For LinkStyle |
176 bool loadLink(const String& type, const String& as, const KURL&); | 176 bool loadLink(const String& type, const String& as, const String& media, con
st KURL&); |
177 bool isAlternate() const { return linkStyle()->isUnset() && m_relAttribute.i
sAlternate(); } | 177 bool isAlternate() const { return linkStyle()->isUnset() && m_relAttribute.i
sAlternate(); } |
178 bool shouldProcessStyle() { return linkResourceToProcess() && linkStyle(); } | 178 bool shouldProcessStyle() { return linkResourceToProcess() && linkStyle(); } |
179 bool isCreatedByParser() const { return m_createdByParser; } | 179 bool isCreatedByParser() const { return m_createdByParser; } |
180 | 180 |
181 // Parse the icon size attribute into |iconSizes|, make this method public | 181 // Parse the icon size attribute into |iconSizes|, make this method public |
182 // visible for testing purpose. | 182 // visible for testing purpose. |
183 static void parseSizesAttribute(const AtomicString& value, Vector<IntSize>&
iconSizes); | 183 static void parseSizesAttribute(const AtomicString& value, Vector<IntSize>&
iconSizes); |
184 | 184 |
185 DECLARE_VIRTUAL_TRACE(); | 185 DECLARE_VIRTUAL_TRACE(); |
186 | 186 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 RawPtrWillBeMember<RelList> m_relList; | 228 RawPtrWillBeMember<RelList> m_relList; |
229 LinkRelAttribute m_relAttribute; | 229 LinkRelAttribute m_relAttribute; |
230 | 230 |
231 bool m_createdByParser; | 231 bool m_createdByParser; |
232 bool m_isInShadowTree; | 232 bool m_isInShadowTree; |
233 }; | 233 }; |
234 | 234 |
235 } // namespace blink | 235 } // namespace blink |
236 | 236 |
237 #endif // HTMLLinkElement_h | 237 #endif // HTMLLinkElement_h |
OLD | NEW |