Chromium Code Reviews| Index: chrome/test/data/extensions/platform_apps/windows_api_set_launcher_icon/background.js |
| diff --git a/chrome/browser/resources/apps_debugger/background.js b/chrome/test/data/extensions/platform_apps/windows_api_set_launcher_icon/background.js |
| similarity index 63% |
| copy from chrome/browser/resources/apps_debugger/background.js |
| copy to chrome/test/data/extensions/platform_apps/windows_api_set_launcher_icon/background.js |
| index fc106f2b4f78ee98e6cd495de8b63f13fb78e3b2..b3bb8edd8eb6a7205d6b786090b2b67f55adf0eb 100644 |
| --- a/chrome/browser/resources/apps_debugger/background.js |
| +++ b/chrome/test/data/extensions/platform_apps/windows_api_set_launcher_icon/background.js |
| @@ -3,8 +3,8 @@ |
| // found in the LICENSE file. |
| chrome.app.runtime.onLaunched.addListener(function() { |
| - chrome.app.window.create('main.html', { |
| - 'width': 600, |
| - 'height': 600 |
| + chrome.app.window.create('test.html', {}, function(win) { |
| + win.setLauncherIcon("icon.png"); |
|
jeremya
2012/12/03 00:09:34
Is this allowed to be a remote resource?
stevenjb
2012/12/03 19:02:41
No, a remote resource would have to be fetched wit
|
| + chrome.test.sendMessage('IconSet'); |
| }); |
| }); |