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

Unified Diff: chrome/common/extensions/api/app_window.idl

Issue 53973003: Deprecate 'singleton' option in chrome.apps.window.create(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments Created 7 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
« no previous file with comments | « chrome/browser/extensions/api/app_window/app_window_api.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/app_window.idl
diff --git a/chrome/common/extensions/api/app_window.idl b/chrome/common/extensions/api/app_window.idl
index 6c0b5f06442db9c3e8617b93481867319ee0469c..e2ccc3908cf65fa900f329906798005453ac32ae 100644
--- a/chrome/common/extensions/api/app_window.idl
+++ b/chrome/common/extensions/api/app_window.idl
@@ -24,6 +24,9 @@ namespace app.window {
// Id to identify the window. This will be used to remember the size
// and position of the window and restore that geometry when a window
// with the same id is later opened.
+ // If a window with a given id is created while another window with the same
+ // id already exists, the currently opened window will be focused instead of
+ // creating a new window.
DOMString? id;
// Default width of the window. (Deprecated; regular bounds act like this
@@ -102,7 +105,8 @@ namespace app.window {
// window with the same id already exists that window is activated instead.
// If you do want to create multiple windows with the same id, you can
// set this property to false.
- boolean? singleton;
+ // (Deprecated; multiple windows with the same id is no longer supported.)
+ [nodoc] boolean? singleton;
// If true, the window will stay above most other windows. If there are
// multiple windows of this kind, the currently focused window will be in
« no previous file with comments | « chrome/browser/extensions/api/app_window/app_window_api.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698