Chromium Code Reviews| Index: chrome/browser/resources/apps_debugger/background.js |
| diff --git a/chrome/browser/resources/apps_debugger/background.js b/chrome/browser/resources/apps_debugger/background.js |
| index d5042da674f96253b73ca5b698473784f320f2cd..1061f747bd0b0755b449a6a6b643f26be736701b 100644 |
| --- a/chrome/browser/resources/apps_debugger/background.js |
| +++ b/chrome/browser/resources/apps_debugger/background.js |
| @@ -4,17 +4,11 @@ |
| var mainWindow = null; |
| chrome.app.runtime.onLaunched.addListener(function() { |
| - if (mainWindow && !mainWindow.contentWindow.closed) { |
| - mainWindow.focus(); |
| - } else { |
| - chrome.app.window.create('main.html', { |
| - id: 'apps_debugger', |
| - minHeight: 600, |
| - minWidth: 800, |
| - height: 600, |
| - width: 800, |
| - }, function(win) { |
| - mainWindow = win; |
| - }); |
| - } |
| + chrome.app.window.create('main.html', { |
| + id: 'apps_debugger', |
|
Gaurav
2013/05/23 17:15:27
Please rename this to apps_devtool.
|
| + minHeight: 600, |
| + minWidth: 800, |
| + height: 600, |
| + width: 800, |
| + }); |
| }); |