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

Issue 98793009: Linux Aura: Hide title bar when CustomFrameView maximized on Unity. (Closed)

Created:
7 years ago by Matt Giuca
Modified:
6 years, 11 months ago
CC:
chromium-reviews, tfarina, James Cook, chrome-apps-syd-reviews_chromium.org
Visibility:
Public.

Description

Linux Aura: Hide title bar when CustomFrameView maximized on Unity. This avoids showing a double title bar on Task Manager and V2 app windows. BUG=330090 TEST=On Unity, maximize Task Manager and V2 app window. There should be only the Unity title and caption buttons, no blue custom title bar. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=246544

Patch Set 1 #

Total comments: 4

Patch Set 2 : Moved unity detection logic for CustomFrameView and OpaqueBrowserFrameView to ViewsDelegate. #

Patch Set 3 : Added comment. #

Patch Set 4 : Rebase. #

Patch Set 5 : Rebase. Note: kUseSystemTitleBar check moved to OpaqueBrowserFrameView. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -53 lines) Patch
M chrome/browser/ui/views/chrome_views_delegate.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/chrome_views_delegate.cc View 1 2 chunks +15 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/opaque_browser_frame_view.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/opaque_browser_frame_view.cc View 1 2 3 4 5 chunks +17 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/frame/opaque_browser_frame_view_linux.h View 1 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/frame/opaque_browser_frame_view_linux.cc View 1 2 3 4 2 chunks +0 lines, -24 lines 0 comments Download
M chrome/browser/ui/views/frame/opaque_browser_frame_view_platform_specific.h View 1 1 chunk +0 lines, -10 lines 0 comments Download
M chrome/browser/ui/views/frame/opaque_browser_frame_view_platform_specific.cc View 1 1 chunk +0 lines, -8 lines 0 comments Download
M ui/views/views_delegate.h View 1 1 chunk +6 lines, -0 lines 0 comments Download
M ui/views/views_delegate.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M ui/views/window/custom_frame_view.h View 1 chunk +4 lines, -0 lines 0 comments Download
M ui/views/window/custom_frame_view.cc View 1 6 chunks +25 lines, -4 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Matt Giuca
FYI: Sister CL to do the same thing for browser windows: https://codereview.chromium.org/117233008
7 years ago (2013-12-20 04:28:40 UTC) #1
Matt Giuca
Ping.
6 years, 11 months ago (2014-01-08 23:14:35 UTC) #2
Ben Goodger (Google)
https://codereview.chromium.org/98793009/diff/1/ui/views/window/custom_frame_view.cc File ui/views/window/custom_frame_view.cc (right): https://codereview.chromium.org/98793009/diff/1/ui/views/window/custom_frame_view.cc#newcode35 ui/views/window/custom_frame_view.cc:35: #include "ui/views/linux_ui/linux_ui.h" Hrm... I would actually like to not ...
6 years, 11 months ago (2014-01-09 23:03:27 UTC) #3
Matt Giuca
https://codereview.chromium.org/98793009/diff/1/ui/views/window/custom_frame_view.cc File ui/views/window/custom_frame_view.cc (right): https://codereview.chromium.org/98793009/diff/1/ui/views/window/custom_frame_view.cc#newcode35 ui/views/window/custom_frame_view.cc:35: #include "ui/views/linux_ui/linux_ui.h" Is the style used by OpaqueBrowserFrameView (having ...
6 years, 11 months ago (2014-01-10 01:07:49 UTC) #4
Ben Goodger (Google)
https://codereview.chromium.org/98793009/diff/1/ui/views/window/custom_frame_view.cc File ui/views/window/custom_frame_view.cc (right): https://codereview.chromium.org/98793009/diff/1/ui/views/window/custom_frame_view.cc#newcode339 ui/views/window/custom_frame_view.cc:339: // title and caption buttons, so we should not ...
6 years, 11 months ago (2014-01-10 16:41:50 UTC) #5
Matt Giuca
Hi Ben, Sorry for the long delay. Since your comment required a refactor I made ...
6 years, 11 months ago (2014-01-17 01:29:51 UTC) #6
Ben Goodger (Google)
It's OK to add random methods to ViewsDelegate. It's not a perfect solution and I'd ...
6 years, 11 months ago (2014-01-21 17:34:20 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mgiuca@chromium.org/98793009/390001
6 years, 11 months ago (2014-01-23 03:37:30 UTC) #8
commit-bot: I haz the power
6 years, 11 months ago (2014-01-23 09:27:04 UTC) #9
Message was sent while issue was closed.
Change committed as 246544

Powered by Google App Engine
This is Rietveld 408576698