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

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

Issue 9894001: Make the maximize button behave the same for Panels as other windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Don't use WorkspaceEventFilter for the AlwaysOnTopContainer. Created 8 years, 9 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/frame/browser_non_client_frame_view_aura.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 2625ca741ee0529e23cafc43851edb9ff78ed725..b093e86d577348e25262fafa9267e39c4836cca8 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
@@ -19,7 +19,9 @@ BrowserNonClientFrameView* CreateBrowserNonClientFrameView(
}
// If this is an app window and it's maximized, use the special frame_view.
- if (browser_view->browser()->is_app() && browser_view->IsMaximized())
+ if (browser_view->browser()->is_app() &&
+ browser_view->browser()->app_type() != Browser::APP_TYPE_CHILD &&
+ browser_view->IsMaximized())
return new AppNonClientFrameViewAura(frame, browser_view);
// Default is potentially translucent fancy frames.
« no previous file with comments | « chrome/browser/ui/views/frame/browser_non_client_frame_view_aura.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698