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

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

Issue 2553263002: Remove code to defer app window appearance until first paint. (Closed)
Patch Set: nit Created 4 years 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/active_test/test.js
diff --git a/chrome/test/data/extensions/platform_apps/active_test/test.js b/chrome/test/data/extensions/platform_apps/active_test/test.js
index b2671c5661710277fd376016d12238d57dfb76be..984c49748ec695674bacb9db61f2fde0d47daea7 100644
--- a/chrome/test/data/extensions/platform_apps/active_test/test.js
+++ b/chrome/test/data/extensions/platform_apps/active_test/test.js
@@ -33,16 +33,9 @@ function processNextCommand() {
chrome.app.window.create('empty.html', createOptions,
function(createdWindow) {
- handleWindowReady = function() {
- createdWindow.onClosed.addListener(windowClosed);
- windows.push(createdWindow);
- processNextCommand();
- }
-
- if (createOptions.hidden)
- handleWindowReady();
- else
- createdWindow.handleWindowFirstShownForTests(handleWindowReady);
+ createdWindow.onClosed.addListener(windowClosed);
+ windows.push(createdWindow);
+ processNextCommand();
});
});
}
« no previous file with comments | « chrome/browser/extensions/api/tabs/ash_panel_contents.cc ('k') | extensions/browser/api/app_window/app_window_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698