diff options
author | stevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-05 05:25:26 +0000 |
---|---|---|
committer | stevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-05 05:25:26 +0000 |
commit | 424f705e4033596200145ac7e3113fcfbb606a88 (patch) | |
tree | 7aad361ab30542874511e9cbae12bf3cef1a4c5f /chrome/common/extensions/api/app_window.idl | |
parent | 6d17f6396d15aefa7c26790019bf8ece2cfd9112 (diff) | |
download | chromium_src-424f705e4033596200145ac7e3113fcfbb606a88.zip chromium_src-424f705e4033596200145ac7e3113fcfbb606a88.tar.gz chromium_src-424f705e4033596200145ac7e3113fcfbb606a88.tar.bz2 |
Add app.window.setLauncherIcon
All this does currently is set a member of ShellWindow and notify ShellWindowLauncherController listeners.
BUG=136895
Review URL: https://chromiumcodereview.appspot.com/11316292
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171163 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/api/app_window.idl')
-rw-r--r-- | chrome/common/extensions/api/app_window.idl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/common/extensions/api/app_window.idl b/chrome/common/extensions/api/app_window.idl index 7f88000..e719362 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; }; |