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

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: modified as per review comment 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..b20bd1bd7f384399fc9952b9612e0b5adc89b91d 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"
Inactive 2014/07/25 12:55:51 Cannot this be forward-declared?
#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; }
@@ -207,6 +209,7 @@ private:
RefPtrWillBeMember<DOMSettableTokenList> m_sizes;
Vector<IntSize> m_iconSizes;
LinkRelAttribute m_relAttribute;
+ OwnPtrWillBeMember<RelList> m_relList;
bool m_createdByParser;
bool m_isInShadowTree;

Powered by Google App Engine
This is Rietveld 408576698