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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 static PassRefPtrWillBeRawPtr<HTMLLinkElement> create(Document&, bool create
dByParser); | 136 static PassRefPtrWillBeRawPtr<HTMLLinkElement> create(Document&, bool create
dByParser); |
137 ~HTMLLinkElement() override; | 137 ~HTMLLinkElement() override; |
138 | 138 |
139 KURL href() const; | 139 KURL href() const; |
140 const AtomicString& rel() const; | 140 const AtomicString& rel() const; |
141 String media() const { return m_media; } | 141 String media() const { return m_media; } |
142 String typeValue() const { return m_type; } | 142 String typeValue() const { return m_type; } |
143 String asValue() const { return m_as; } | 143 String asValue() const { return m_as; } |
144 const LinkRelAttribute& relAttribute() const { return m_relAttribute; } | 144 const LinkRelAttribute& relAttribute() const { return m_relAttribute; } |
145 DOMTokenList& relList() const { return static_cast<DOMTokenList&>(*m_relList
); } | 145 DOMTokenList& relList() const { return static_cast<DOMTokenList&>(*m_relList
); } |
| 146 String scope() const { return m_scope; } |
146 | 147 |
147 const AtomicString& type() const; | 148 const AtomicString& type() const; |
148 | 149 |
149 IconType getIconType() const; | 150 IconType getIconType() const; |
150 | 151 |
151 // the icon sizes as parsed from the HTML attribute | 152 // the icon sizes as parsed from the HTML attribute |
152 const Vector<IntSize>& iconSizes() const; | 153 const Vector<IntSize>& iconSizes() const; |
153 | 154 |
154 bool async() const; | 155 bool async() const; |
155 | 156 |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 OwnPtrWillBeMember<LinkResource> m_link; | 221 OwnPtrWillBeMember<LinkResource> m_link; |
221 OwnPtrWillBeMember<LinkLoader> m_linkLoader; | 222 OwnPtrWillBeMember<LinkLoader> m_linkLoader; |
222 | 223 |
223 String m_type; | 224 String m_type; |
224 String m_as; | 225 String m_as; |
225 String m_media; | 226 String m_media; |
226 RefPtrWillBeMember<DOMTokenList> m_sizes; | 227 RefPtrWillBeMember<DOMTokenList> m_sizes; |
227 Vector<IntSize> m_iconSizes; | 228 Vector<IntSize> m_iconSizes; |
228 RawPtrWillBeMember<RelList> m_relList; | 229 RawPtrWillBeMember<RelList> m_relList; |
229 LinkRelAttribute m_relAttribute; | 230 LinkRelAttribute m_relAttribute; |
| 231 String m_scope; |
230 | 232 |
231 bool m_createdByParser; | 233 bool m_createdByParser; |
232 bool m_isInShadowTree; | 234 bool m_isInShadowTree; |
233 }; | 235 }; |
234 | 236 |
235 } // namespace blink | 237 } // namespace blink |
236 | 238 |
237 #endif // HTMLLinkElement_h | 239 #endif // HTMLLinkElement_h |
OLD | NEW |