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

Issue 9618022: Ash: Use translucent frames by default (Closed)

Created:
8 years, 9 months ago by James Cook
Modified:
8 years, 9 months ago
CC:
chromium-reviews, dhollowa+watch_chromium.org, sadrul, ben+watch_chromium.org
Visibility:
Public.

Description

Ash: Use translucent frames by default Remove --aura-translucent-frames switch. Tie old-style frames to the existing --aura-window-mode=compact flag. Also fix a couple of cases where views::Widget wasn't be flagged as transparent, which would lead to black pixels in the window corners and incorrect headers in the inactive state. (Edit: I had to back out the conversion of constrained windows -- it breaks some unit tests and needs to be changed slightly.) BUG=113075 TEST=visual, look at active and inactive browser windows, popup windows, task manager (general dialog) Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=125251 Reverted: http://src.chromium.org/viewvc/chrome?view=rev&revision=125266 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=125333

Patch Set 1 #

Total comments: 2

Patch Set 2 : add TODO #

Patch Set 3 : fix unit tests that don't have an ash::Shell #

Patch Set 4 : leak in CustomFrameViewAsh #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -32 lines) Patch
M ash/ash_switches.h View 1 chunk +0 lines, -1 line 0 comments Download
M ash/ash_switches.cc View 2 chunks +1 line, -3 lines 0 comments Download
M ash/shell.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M ash/wm/custom_frame_view_ash.cc View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/about_flags.cc View 1 chunk +0 lines, -7 lines 0 comments Download
M chrome/browser/ui/views/constrained_window_views.cc View 1 2 2 chunks +8 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_frame.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_non_client_frame_view_factory_aura.cc View 3 chunks +7 lines, -11 lines 0 comments Download
M chrome/browser/ui/views/window.cc View 1 2 3 chunks +30 lines, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
James Cook
Ben, PTAL. This gets us the new-style frames by default.
8 years, 9 months ago (2012-03-06 19:51:05 UTC) #1
Ben Goodger (Google)
lgtm http://codereview.chromium.org/9618022/diff/1/chrome/browser/ui/views/window.cc File chrome/browser/ui/views/window.cc (right): http://codereview.chromium.org/9618022/diff/1/chrome/browser/ui/views/window.cc#newcode47 chrome/browser/ui/views/window.cc:47: // Outside of compact mode, dialog windows may ...
8 years, 9 months ago (2012-03-06 21:14:19 UTC) #2
James Cook
Thanks. I'll fix the graphical issues with the dialog box headers in a subsequent patch. ...
8 years, 9 months ago (2012-03-06 21:48:16 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamescook@chromium.org/9618022/1
8 years, 9 months ago (2012-03-06 21:48:28 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamescook@chromium.org/9618022/7001
8 years, 9 months ago (2012-03-06 21:49:30 UTC) #5
commit-bot: I haz the power
Change committed as 125251
8 years, 9 months ago (2012-03-06 23:43:21 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamescook@chromium.org/9618022/14
8 years, 9 months ago (2012-03-07 03:40:50 UTC) #7
commit-bot: I haz the power
8 years, 9 months ago (2012-03-07 05:28:36 UTC) #8
Change committed as 125333

Powered by Google App Engine
This is Rietveld 408576698