Chromium Code Reviews| Index: Source/core/html/HTMLLinkElement.h |
| diff --git a/Source/core/html/HTMLLinkElement.h b/Source/core/html/HTMLLinkElement.h |
| index f8a7878b5901dc7f8b61f2d66c8538249763f58b..2c77b844f954ea15f65e669c4eb9894a46b3dfb2 100644 |
| --- a/Source/core/html/HTMLLinkElement.h |
| +++ b/Source/core/html/HTMLLinkElement.h |
| @@ -33,6 +33,7 @@ |
| #include "core/html/HTMLElement.h" |
| #include "core/html/LinkRelAttribute.h" |
| #include "core/html/LinkResource.h" |
| +#include "core/html/RelList.h" |
| #include "core/loader/LinkLoader.h" |
| #include "core/loader/LinkLoaderClient.h" |
| @@ -121,6 +122,7 @@ public: |
| KURL href() const; |
| const AtomicString& rel() const; |
| + DOMTokenList& relList(); |
| String media() const { return m_media; } |
| String typeValue() const { return m_type; } |
| const LinkRelAttribute& relAttribute() const { return m_relAttribute; } |
| @@ -151,6 +153,8 @@ public: |
| void dispatchEventImmediately(); |
| static void dispatchPendingLoadEvents(); |
| + void setRelList(PassOwnPtrWillBeRawPtr<RelList> relList) { m_relList = relList; } |
|
Inactive
2014/07/23 13:26:44
We don't really need this getter. Especially not a
|
| + |
| // From LinkLoaderClient |
| virtual bool shouldLoadLink() OVERRIDE; |
| @@ -207,6 +211,7 @@ private: |
| RefPtrWillBeMember<DOMSettableTokenList> m_sizes; |
| Vector<IntSize> m_iconSizes; |
| LinkRelAttribute m_relAttribute; |
| + OwnPtrWillBeMember<RelList> m_relList; |
| bool m_createdByParser; |
| bool m_isInShadowTree; |