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

Unified Diff: third_party/WebKit/Source/core/html/HTMLAnchorElement.h

Issue 1443663003: Implement the 'noopener' link relation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: browsertest Created 5 years, 1 month 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: third_party/WebKit/Source/core/html/HTMLAnchorElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLAnchorElement.h b/third_party/WebKit/Source/core/html/HTMLAnchorElement.h
index 17161225c936aa4128728b58dca51fd4aa26b120..9eb662eb965eedb1ce8dbbeaab3b2d17012d5231 100644
--- a/third_party/WebKit/Source/core/html/HTMLAnchorElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLAnchorElement.h
@@ -36,24 +36,25 @@ namespace blink {
// Link relation bitmask values.
// FIXME: Uncomment as the various link relations are implemented.
enum {
-// RelationAlternate = 0x00000001,
-// RelationArchives = 0x00000002,
-// RelationAuthor = 0x00000004,
-// RelationBoomark = 0x00000008,
-// RelationExternal = 0x00000010,
-// RelationFirst = 0x00000020,
-// RelationHelp = 0x00000040,
-// RelationIndex = 0x00000080,
-// RelationLast = 0x00000100,
-// RelationLicense = 0x00000200,
-// RelationNext = 0x00000400,
-// RelationNoFolow = 0x00000800,
- RelationNoReferrer = 0x00001000,
-// RelationPrev = 0x00002000,
-// RelationSearch = 0x00004000,
-// RelationSidebar = 0x00008000,
-// RelationTag = 0x00010000,
-// RelationUp = 0x00020000,
+ // RelationAlternate = 0x00000001,
+ // RelationArchives = 0x00000002,
+ // RelationAuthor = 0x00000004,
+ // RelationBoomark = 0x00000008,
+ // RelationExternal = 0x00000010,
+ // RelationFirst = 0x00000020,
+ // RelationHelp = 0x00000040,
+ // RelationIndex = 0x00000080,
+ // RelationLast = 0x00000100,
+ // RelationLicense = 0x00000200,
+ // RelationNext = 0x00000400,
+ // RelationNoFolow = 0x00000800,
+ RelationNoReferrer = 0x00001000,
+ // RelationPrev = 0x00002000,
+ // RelationSearch = 0x00004000,
+ // RelationSidebar = 0x00008000,
+ // RelationTag = 0x00010000,
+ // RelationUp = 0x00020000,
+ RelationNoOpener = 0x00040000,
Mike West 2015/11/15 08:17:39 `git cl format`.
};
class CORE_EXPORT HTMLAnchorElement : public HTMLElement, public DOMURLUtils {
« no previous file with comments | « content/test/data/click-noreferrer-links.html ('k') | third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698