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

Side by Side Diff: chrome/browser/resources/apps_debugger/background.js

Issue 15389003: Loosen a bit the HTML hierarchy required for Tabs to work, Improved UX of the dev tools (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Introduce RTL, changed non-selected tab color, applied feedback from dbeam. Created 7 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 var mainWindow = null; 5 var mainWindow = null;
6 chrome.app.runtime.onLaunched.addListener(function() { 6 chrome.app.runtime.onLaunched.addListener(function() {
7 if (mainWindow && !mainWindow.contentWindow.closed) { 7 if (mainWindow && !mainWindow.contentWindow.closed) {
8 mainWindow.focus(); 8 mainWindow.focus();
9 } else { 9 } else {
10 chrome.app.window.create('main.html', { 10 chrome.app.window.create('main.html', {
11 width: 768, 11 id: 'apps_debugger',
12 height: 1024, 12 minHeight: 600,
13 minWidth: 800,
14 height: 600,
15 width: 800,
13 }, function(win) { 16 }, function(win) {
14 mainWindow = win; 17 mainWindow = win;
15 }); 18 });
16 } 19 }
17 }); 20 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698