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

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

Issue 123043002: Use the tall header for restored browser popups (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 12 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 | « ash/wm/caption_buttons/frame_caption_button.h ('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_ash.cc
diff --git a/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc b/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc
index dbcb07ac022e2115e2cc2d84d468b46c25202154..2988394f5ebdc447867a5006560954eb5a86d823 100644
--- a/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc
+++ b/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc
@@ -366,11 +366,11 @@ int BrowserNonClientFrameViewAsh::GetTabStripRightInset() const {
}
bool BrowserNonClientFrameViewAsh::UseShortHeader() const {
- // Restored tabbed browser windows use the tall header. All other windows use
- // the short header.
+ // Restored browser windows use the tall header. All other windows use the
+ // short header.
return frame()->IsMaximized() ||
frame()->IsFullscreen() ||
- !browser_view()->IsBrowserTypeNormal();
+ browser_view()->browser()->is_app();
}
bool BrowserNonClientFrameViewAsh::UseImmersiveLightbarHeaderStyle() const {
« no previous file with comments | « ash/wm/caption_buttons/frame_caption_button.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698