Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(484)

Unified Diff: Source/core/html/HTMLLinkElement.h

Issue 400763002: Adding relList attr to link and anchor element Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/html/HTMLLinkElement.h
diff --git a/Source/core/html/HTMLLinkElement.h b/Source/core/html/HTMLLinkElement.h
index f8a7878b5901dc7f8b61f2d66c8538249763f58b..2426db5da65ac0068b6420cc490ebe729ec5826f 100644
--- a/Source/core/html/HTMLLinkElement.h
+++ b/Source/core/html/HTMLLinkElement.h
@@ -30,6 +30,7 @@
#include "core/fetch/ResourceOwner.h"
#include "core/fetch/StyleSheetResource.h"
#include "core/fetch/StyleSheetResourceClient.h"
+#include "core/html/ClassList.h"
#include "core/html/HTMLElement.h"
#include "core/html/LinkRelAttribute.h"
#include "core/html/LinkResource.h"
@@ -121,6 +122,7 @@ public:
KURL href() const;
const AtomicString& rel() const;
+ DOMTokenList* relList() const;
String media() const { return m_media; }
String typeValue() const { return m_type; }
const LinkRelAttribute& relAttribute() const { return m_relAttribute; }
@@ -207,6 +209,7 @@ private:
RefPtrWillBeMember<DOMSettableTokenList> m_sizes;
Vector<IntSize> m_iconSizes;
LinkRelAttribute m_relAttribute;
+ OwnPtrWillBeMember<ClassList> m_relList;
bool m_createdByParser;
bool m_isInShadowTree;

Powered by Google App Engine
This is Rietveld 408576698