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

Side by Side Diff: chrome/test/data/extensions/platform_apps/outer_bounds/test.js

Issue 405323002: [Win Aero] Correctly set the minimum window size. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add outer bounds test. Actually fix this. Created 6 years, 4 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 | Annotate | Revision Log
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 chrome.test.sendMessage("app_launched");
6
7 chrome.app.runtime.onLaunched.addListener(function() { 5 chrome.app.runtime.onLaunched.addListener(function() {
8 chrome.app.window.create('main.html', { 6 chrome.app.window.create('main.html', {
9 'width': 600, 7 // frame: {color: '#ff0000'},
benwells 2014/08/12 03:51:40 Can we test for no frame, standard frame and color
jackhou1 2014/08/12 06:12:07 Done.
10 'height': 600 8 outerBounds: {
11 }); 9 left: 10,
10 top: 11,
11 width: 300,
12 height: 301,
13 minWidth: 200,
14 minHeight: 201,
15 maxWidth: 400,
16 maxHeight: 401
17 }
18 }, function () {});
benwells 2014/08/12 03:51:40 Nit: You can send the Launched message in this cal
jackhou1 2014/08/12 06:12:07 Done.
12 }); 19 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698