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

Issue 1864953002: ash/mash: Fix painting of status-tray bubble. (Closed)

Created:
4 years, 8 months ago by sadrul
Modified:
4 years, 8 months ago
Reviewers:
sky
CC:
chromium-reviews, tfarina, James Cook
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ash/mash: Fix painting of status-tray bubble. Change NativeWidgetMus::GetLayer() to return the correct ui::Layer, to make sure that the layer-tree for the Views in a Widget is added a child to the Layer associated with the Widget. BUG=598914 Committed: https://crrev.com/336b3700484b2fba745b756f22ea85db854e0c10 Cr-Commit-Position: refs/heads/master@{#385463}

Patch Set 1 #

Total comments: 2

Patch Set 2 : test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -2 lines) Patch
M ui/views/mus/native_widget_mus.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M ui/views/mus/native_widget_mus_unittest.cc View 1 2 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (6 generated)
sadrul
4 years, 8 months ago (2016-04-06 02:08:23 UTC) #2
sky
LGTM
4 years, 8 months ago (2016-04-06 02:59:03 UTC) #3
sky
If you can, add a test for this. It's subtle.
4 years, 8 months ago (2016-04-06 02:59:18 UTC) #4
James Cook
Awesome that you found a fix for this! https://codereview.chromium.org/1864953002/diff/1/ui/views/mus/native_widget_mus.cc File ui/views/mus/native_widget_mus.cc (right): https://codereview.chromium.org/1864953002/diff/1/ui/views/mus/native_widget_mus.cc#newcode475 ui/views/mus/native_widget_mus.cc:475: return ...
4 years, 8 months ago (2016-04-06 03:44:16 UTC) #5
sadrul
Added a test. https://codereview.chromium.org/1864953002/diff/1/ui/views/mus/native_widget_mus.cc File ui/views/mus/native_widget_mus.cc (right): https://codereview.chromium.org/1864953002/diff/1/ui/views/mus/native_widget_mus.cc#newcode475 ui/views/mus/native_widget_mus.cc:475: return window_tree_host_->window()->layer()->GetCompositor(); On 2016/04/06 03:44:16, James ...
4 years, 8 months ago (2016-04-06 14:05:44 UTC) #7
sky
SLGTM
4 years, 8 months ago (2016-04-06 14:56:27 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1864953002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1864953002/20001
4 years, 8 months ago (2016-04-06 14:57:48 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-04-06 15:02:35 UTC) #13
commit-bot: I haz the power
4 years, 8 months ago (2016-04-06 15:03:27 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/336b3700484b2fba745b756f22ea85db854e0c10
Cr-Commit-Position: refs/heads/master@{#385463}

Powered by Google App Engine
This is Rietveld 408576698