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

Unified Diff: third_party/WebKit/Source/core/page/WindowFeatures.h

Issue 1459603002: Implement the 'noopener' window feature. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nasko 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/page/WindowFeatures.h
diff --git a/third_party/WebKit/Source/core/page/WindowFeatures.h b/third_party/WebKit/Source/core/page/WindowFeatures.h
index e2845cc4c82524f580307dd16c60ab560ab288da..14d7bd152626ce7b30843b573cce48210ee359d4 100644
--- a/third_party/WebKit/Source/core/page/WindowFeatures.h
+++ b/third_party/WebKit/Source/core/page/WindowFeatures.h
@@ -29,6 +29,7 @@
#ifndef WindowFeatures_h
#define WindowFeatures_h
+#include "core/CoreExport.h"
#include "wtf/Allocator.h"
#include "wtf/HashMap.h"
#include "wtf/text/WTFString.h"
@@ -37,7 +38,7 @@ namespace blink {
class IntRect;
-struct WindowFeatures {
+struct CORE_EXPORT WindowFeatures {
DISALLOW_NEW();
WindowFeatures()
: x(0)
@@ -56,6 +57,7 @@ struct WindowFeatures {
, resizable(true)
, fullscreen(false)
, dialog(false)
+ , noopener(false)
{
}
explicit WindowFeatures(const String& windowFeaturesString);
@@ -80,6 +82,8 @@ struct WindowFeatures {
bool fullscreen;
bool dialog;
+ bool noopener;
+
Vector<String> additionalFeatures;
private:
« no previous file with comments | « third_party/WebKit/Source/core/page/CreateWindow.cpp ('k') | third_party/WebKit/Source/core/page/WindowFeatures.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698