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

Unified Diff: Source/core/html/HTMLAnchorElement.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/HTMLAnchorElement.h
diff --git a/Source/core/html/HTMLAnchorElement.h b/Source/core/html/HTMLAnchorElement.h
index b90dce74a4831bf4e5d0eb4d9d2c95ca79da34ff..6f8ca505b5b121696675839bdd382396eaa53c36 100644
--- a/Source/core/html/HTMLAnchorElement.h
+++ b/Source/core/html/HTMLAnchorElement.h
@@ -28,6 +28,7 @@
#include "core/dom/DOMURLUtils.h"
#include "core/dom/Document.h"
#include "core/html/HTMLElement.h"
+#include "core/html/RelList.h"
Inactive 2014/07/25 12:55:51 Cannot this be forward-declared?
#include "platform/LinkHash.h"
namespace WebCore {
@@ -79,6 +80,8 @@ public:
bool hasRel(uint32_t relation) const;
void setRel(const AtomicString&);
+ DOMTokenList& relList();
+
LinkHash visitedLinkHash() const;
void invalidateCachedVisitedLinkHash() { m_cachedVisitedLinkHash = 0; }
@@ -108,6 +111,7 @@ private:
uint32_t m_linkRelations;
mutable LinkHash m_cachedVisitedLinkHash;
+ OwnPtrWillBeMember<RelList> m_relList;
};
inline LinkHash HTMLAnchorElement::visitedLinkHash() const

Powered by Google App Engine
This is Rietveld 408576698