Chromium Code Reviews| Index: ash/desktop_background/desktop_background_view.cc |
| diff --git a/ash/desktop_background/desktop_background_view.cc b/ash/desktop_background/desktop_background_view.cc |
| index be85e5e6c455a2eee9371ae8a9dff93a4aca2cc5..d2a85c2e02b5b3fc7a85943669ab0333427f8f2c 100644 |
| --- a/ash/desktop_background/desktop_background_view.cc |
| +++ b/ash/desktop_background/desktop_background_view.cc |
| @@ -41,6 +41,9 @@ class LayerControlView : public views::View { |
| // Overrides views::View. |
| void Layout() override { |
| WmWindow* window = WmLookup::Get()->GetWindowForWidget(GetWidget()); |
| + // Keep |this| at the bottom since there may be other windows on top of the |
| + // background view such as an overivew mode shield. |
|
James Cook
2016/08/25 18:32:12
nit: overview
varkha
2016/08/25 19:56:42
Done.
|
| + window->GetParent()->StackChildAtBottom(window); |
| display::Display display = window->GetDisplayNearestWindow(); |
| DisplayInfo info = WmShell::Get()->GetDisplayInfo(display.id()); |
| float ui_scale = info.GetEffectiveUIScale(); |