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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/extensions/platform_apps/outer_bounds/test.js
diff --git a/chrome/test/data/extensions/api_test/developer/packaged_app/main.js b/chrome/test/data/extensions/platform_apps/outer_bounds/test.js
similarity index 53%
copy from chrome/test/data/extensions/api_test/developer/packaged_app/main.js
copy to chrome/test/data/extensions/platform_apps/outer_bounds/test.js
index d6a03fe14ea1f3b360a9095c432d967625116f65..10439e5d371ef79e38c3a3fa044dce6e5c7be57c 100644
--- a/chrome/test/data/extensions/api_test/developer/packaged_app/main.js
+++ b/chrome/test/data/extensions/platform_apps/outer_bounds/test.js
@@ -2,11 +2,18 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-chrome.test.sendMessage("app_launched");
-
chrome.app.runtime.onLaunched.addListener(function() {
chrome.app.window.create('main.html', {
- 'width': 600,
- 'height': 600
- });
+// 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.
+ outerBounds: {
+ left: 10,
+ top: 11,
+ width: 300,
+ height: 301,
+ minWidth: 200,
+ minHeight: 201,
+ maxWidth: 400,
+ maxHeight: 401
+ }
+ }, 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.
});

Powered by Google App Engine
This is Rietveld 408576698