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

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

Issue 2209053004: Enhance chrome.app.window API with icon property (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review v5 Created 4 years, 4 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.cc ('k') | ui/gfx/image/image_skia_operations.h » ('j') | 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 07ac8fca01ab31566b55eb4082692ecb90e1cd19..9e3ba8c2488cea44ee5db6244103786dfa524cb2 100644
--- a/extensions/common/api/app_window.idl
+++ b/extensions/common/api/app_window.idl
@@ -231,6 +231,10 @@ namespace app.window {
// specify an id for the window.
boolean? showInShelf;
+ // URL of the window icon. A window can have its own icon when showInShelf
+ // is set to true. The URL should be a global or an extension local URL.
+ DOMString? icon;
+
// 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.cc ('k') | ui/gfx/image/image_skia_operations.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698