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

Unified Diff: chrome/browser/ui/extensions/application_launch.cc

Issue 1209033008: Restore App window's size and maximized state from before it was closed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address oshima's comments. Created 5 years, 5 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/browser/ui/extensions/application_launch.cc
diff --git a/chrome/browser/ui/extensions/application_launch.cc b/chrome/browser/ui/extensions/application_launch.cc
index 93584756b9fed9251d4816357f9c64aad4c83ed5..b17f495a5d8334238abc671b0c5e0566d62ca6d3 100644
--- a/chrome/browser/ui/extensions/application_launch.cc
+++ b/chrome/browser/ui/extensions/application_launch.cc
@@ -166,7 +166,7 @@ ui::WindowShowState DetermineWindowShowState(
if (launch_type == extensions::LAUNCH_TYPE_FULLSCREEN)
return ui::SHOW_STATE_MAXIMIZED;
else if (launch_type == extensions::LAUNCH_TYPE_WINDOW)
- return ui::SHOW_STATE_NORMAL;
+ return ui::SHOW_STATE_DEFAULT;
#endif
return ui::SHOW_STATE_DEFAULT;

Powered by Google App Engine
This is Rietveld 408576698