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

Unified Diff: chrome/common/extensions/api/windows.json

Issue 2921753002: NOT YET READY: Making chrome.windows.create establish an actual "opener" relationship.
Patch Set: Adding setSelfAsOpener parameter. Created 3 years, 6 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
« no previous file with comments | « chrome/browser/ui/browser_navigator_params.cc ('k') | content/browser/frame_host/navigator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/windows.json
diff --git a/chrome/common/extensions/api/windows.json b/chrome/common/extensions/api/windows.json
index 0e8af54caecd527552ece2be989daf2c937948b9..b21adb554eda7d1f220a7c52bfbaaaf85c4d55cf 100644
--- a/chrome/common/extensions/api/windows.json
+++ b/chrome/common/extensions/api/windows.json
@@ -224,7 +224,8 @@
"$ref": "WindowState",
"optional": true,
"description": "The initial state of the window. The 'minimized', 'maximized' and 'fullscreen' states cannot be combined with 'left', 'top', 'width' or 'height'."
- }
+ },
+ "setSelfAsOpener": {"type": "boolean", "optional": true, "description": "Whether the newly opened window will be in the same unit of related browsing contexts [1], having its window.opener set to the caller and otherwise behaving similarily to window.open. [1] - https://www.w3.org/TR/html51/browsers.html#unit-of-related-browsing-contexts"}
},
"optional": true
},
« no previous file with comments | « chrome/browser/ui/browser_navigator_params.cc ('k') | content/browser/frame_host/navigator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698