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

Unified Diff: chrome/test/data/extensions/platform_apps/geometry/test.js

Issue 14576003: PlatformAppBrowserTest.ShellWindowRestorePosition: Test create after window close (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make frame component of GetRestoredBounds platform dependent Created 7 years, 8 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
« no previous file with comments | « chrome/browser/ui/views/extensions/native_app_window_views.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/extensions/platform_apps/geometry/test.js
diff --git a/chrome/test/data/extensions/platform_apps/geometry/test.js b/chrome/test/data/extensions/platform_apps/geometry/test.js
index 17a188015b95a86505d62fceb1a03ab4be7da948..8ddeaef9ccb06858a27bc7438ce30cb12b3a38f5 100644
--- a/chrome/test/data/extensions/platform_apps/geometry/test.js
+++ b/chrome/test/data/extensions/platform_apps/geometry/test.js
@@ -24,7 +24,10 @@ var testRestoreSize = function(id, frameType) {
win.setBounds(newBounds);
function boundsChanged() {
assertBoundsEqual(newBounds, win.getBounds());
+ win.onClosed.addListener(callbackPass(windowClosed));
win.close();
+ }
+ function windowClosed() {
chrome.app.window.create('empty.html',
{ id: id,
left: 113, top: 117, width: 314, height: 271,
« no previous file with comments | « chrome/browser/ui/views/extensions/native_app_window_views.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698