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

Issue 2824613002: Mac: Remove white CALayers (Closed)

Created:
3 years, 8 months ago by ccameron
Modified:
3 years, 8 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, shuchen+watch_chromium.org, jam, nona+watch_chromium.org, darin-cc_chromium.org, mac-reviews_chromium.org, James Su
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Mac: Remove white CALayers These cause white flashes on otherwise dark themes. Leave them transparent, so that the theme color shows through. There are comments in the code that, without these layers being white, some parts of UI appear wrong. I haven't been able to find the associated bugs, and haven't been able to reproduce this (with profile switcher, extensions, etc). Should bugs appear, where a different background color was expected, we should change the embedding view to have the expected background color. BUG=470669 Review-Url: https://codereview.chromium.org/2824613002 Cr-Commit-Position: refs/heads/master@{#464962} Committed: https://chromium.googlesource.com/chromium/src/+/e1979f60524da9dab9d8cc19a23910f8d5dcf180

Patch Set 1 #

Patch Set 2 : Fix unit test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -32 lines) Patch
M chrome/browser/ui/cocoa/fast_resize_view.mm View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/tab_contents/tab_contents_controller.mm View 1 chunk +0 lines, -11 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.h View 1 chunk +3 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 5 chunks +5 lines, -8 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac_unittest.mm View 1 1 chunk +11 lines, -10 lines 0 comments Download

Messages

Total messages: 20 (10 generated)
ccameron
This is likely to cause bugs ... but I'll go fix those bugs when we ...
3 years, 8 months ago (2017-04-14 22:54:04 UTC) #2
Avi (use Gerrit)
RenderWidgetHostViewMacTest.Background is failing, and that sounds relevant.
3 years, 8 months ago (2017-04-15 00:02:44 UTC) #7
ccameron
On 2017/04/15 00:02:44, Avi wrote: > RenderWidgetHostViewMacTest.Background is failing, and that sounds relevant. Updated the ...
3 years, 8 months ago (2017-04-15 20:54:19 UTC) #10
Avi (use Gerrit)
On 2017/04/15 20:54:19, ccameron wrote: > On 2017/04/15 00:02:44, Avi wrote: > > RenderWidgetHostViewMacTest.Background is ...
3 years, 8 months ago (2017-04-16 03:50:06 UTC) #11
Avi (use Gerrit)
On 2017/04/15 20:54:19, ccameron wrote: > On 2017/04/15 00:02:44, Avi wrote: > > RenderWidgetHostViewMacTest.Background is ...
3 years, 8 months ago (2017-04-16 03:50:41 UTC) #12
ccameron
On 2017/04/16 03:50:41, Avi wrote: > On 2017/04/15 20:54:19, ccameron wrote: > > On 2017/04/15 ...
3 years, 8 months ago (2017-04-16 07:47:05 UTC) #13
Avi (use Gerrit)
So this change LGTM, and clarification on the issues you raise would be great too.
3 years, 8 months ago (2017-04-16 22:26:02 UTC) #14
ccameron
On 2017/04/16 22:26:02, Avi (concussion NO REVIEWS) wrote: > So this change LGTM, and clarification ...
3 years, 8 months ago (2017-04-17 18:35:56 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2824613002/20001
3 years, 8 months ago (2017-04-17 18:36:40 UTC) #17
commit-bot: I haz the power
3 years, 8 months ago (2017-04-17 18:57:02 UTC) #20
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/e1979f60524da9dab9d8cc19a239...

Powered by Google App Engine
This is Rietveld 408576698