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

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

Issue 1914993002: Enhance chrome.app.window API with better shelf integration (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase + Fixes Created 4 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
Index: extensions/common/api/app_window.idl
diff --git a/extensions/common/api/app_window.idl b/extensions/common/api/app_window.idl
index f75978ec2688f6bf9c394d7e99f461214023fdd8..7ae4d0d7616298d9b3bbb76d790b66e77a780d60 100644
--- a/extensions/common/api/app_window.idl
+++ b/extensions/common/api/app_window.idl
@@ -225,6 +225,11 @@ namespace app.window {
// Requires the <code>app.window.ime</code> API permission.
[nodoc] boolean? ime;
+ // If true, the window will have its own shelf icon. Otherwise the window
+ // will be grouped in the shelf with other windows that are associated with
+ // the app. Defaults to false.
+ boolean? showInShelf;
+
// Frame type: <code>none</code> or <code>chrome</code> (defaults to
// <code>chrome</code>). For <code>none</code>, the
// <code>-webkit-app-region</code> CSS property can be used to apply

Powered by Google App Engine
This is Rietveld 408576698