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

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 v10 Created 4 years, 5 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 | « extensions/browser/app_window/app_window_interactive_uitest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..07ac8fca01ab31566b55eb4082692ecb90e1cd19 100644
--- a/extensions/common/api/app_window.idl
+++ b/extensions/common/api/app_window.idl
@@ -225,6 +225,12 @@ 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. If showInShelf is set to true you need to
+ // specify an id for the window.
+ 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
« no previous file with comments | « extensions/browser/app_window/app_window_interactive_uitest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698