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

Unified Diff: chrome/browser/ui/views/frame/browser_non_client_frame_view_factory_aura.cc

Issue 25565002: Make all v1 app windows use the same maximized window frame (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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/ash/chrome_shell_delegate_browsertest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/frame/browser_non_client_frame_view_factory_aura.cc
diff --git a/chrome/browser/ui/views/frame/browser_non_client_frame_view_factory_aura.cc b/chrome/browser/ui/views/frame/browser_non_client_frame_view_factory_aura.cc
index 0d9e8efc64205d94f5da6c4d5849c2e4dcdc7351..6e2db833df7e3d75d75d0119b5a441af0505a81a 100644
--- a/chrome/browser/ui/views/frame/browser_non_client_frame_view_factory_aura.cc
+++ b/chrome/browser/ui/views/frame/browser_non_client_frame_view_factory_aura.cc
@@ -30,9 +30,7 @@ BrowserNonClientFrameView* CreateBrowserNonClientFrameView(
#endif
#if defined(USE_ASH)
// If this is an app window and it's maximized, use the special frame_view.
- if (browser_view->browser()->is_app() &&
- browser_view->browser()->app_type() != Browser::APP_TYPE_CHILD &&
- browser_view->IsMaximized())
+ if (browser_view->browser()->is_app() && browser_view->IsMaximized())
return new AppNonClientFrameViewAsh(frame, browser_view);
// Default is potentially translucent fancy frames.
« no previous file with comments | « chrome/browser/ui/ash/chrome_shell_delegate_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698