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

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

Issue 9359022: Aura: Support hovering restore & close buttons for full screen apps (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup Created 8 years, 10 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/browser.cc
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index 8c71cbf8becf8aeea41f4564b3d6e8673d457dd4..afd024e803ae8a217438cf8ba119973cfb6b9f43 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -506,6 +506,10 @@ Browser* Browser::CreateForApp(Type type,
#endif // TOOLKIT_GTK
#endif // !OS_CHROMEOS || USE_AURA
+#if defined(USE_AURA)
+ type = TYPE_APP;
+#endif
+
CreateParams params(type, profile);
params.app_name = app_name;
params.initial_bounds = window_bounds;

Powered by Google App Engine
This is Rietveld 408576698