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

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

Issue 11316292: Add app.window.setIcon (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add comments to .idl Created 8 years 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: 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 7f88000cda72aa7b84bea0e5f1d83d5d2ef7d4ef..e719362e6a6c7daf40cfd1eb7d54b39436ccff20 100644
--- a/chrome/common/extensions/api/app_window.idl
+++ b/chrome/common/extensions/api/app_window.idl
@@ -121,6 +121,11 @@ namespace app.window {
// Set the window's bounds.
static void setBounds(Bounds bounds);
+ // Set the app icon for the window (experimental).
+ // Currently this is only being implemented on Ash.
+ // TODO(stevenjb): Investigate implementing this on Windows and OSX.
+ [nodoc] static void setIcon(DOMString icon_url);
+
// The JavaScript 'window' object for the created child.
[instanceOf=global] object contentWindow;
};

Powered by Google App Engine
This is Rietveld 408576698