| Index: ui/views/mus/desktop_window_tree_host_mus.cc
|
| diff --git a/ui/views/mus/desktop_window_tree_host_mus.cc b/ui/views/mus/desktop_window_tree_host_mus.cc
|
| index 26389b854b63277f398c351ed06a4e1e3b6a0313..3bd57d5dc174975b108ba1bb20130ecec810aab6 100644
|
| --- a/ui/views/mus/desktop_window_tree_host_mus.cc
|
| +++ b/ui/views/mus/desktop_window_tree_host_mus.cc
|
| @@ -287,6 +287,8 @@ void DesktopWindowTreeHostMus::Init(aura::Window* content_window,
|
| aura::client::SetCursorClient(window(), cursor_manager_.get());
|
| InitHost();
|
|
|
| + NativeWidgetAura::SetShadowElevationFromInitParams(window(), params);
|
| +
|
| // Transient parents are connected using the Window created by WindowTreeHost,
|
| // which is owned by the window manager. This way the window manager can
|
| // properly identify and honor transients.
|
| @@ -717,6 +719,11 @@ bool DesktopWindowTreeHostMus::ShouldUseDesktopNativeCursorManager() const {
|
| return false;
|
| }
|
|
|
| +bool DesktopWindowTreeHostMus::ShouldCreateVisibilityController() const {
|
| + // Window manager takes care of all top-level window animations.
|
| + return false;
|
| +}
|
| +
|
| void DesktopWindowTreeHostMus::OnWindowManagerFrameValuesChanged() {
|
| NonClientView* non_client_view =
|
| native_widget_delegate_->AsWidget()->non_client_view();
|
|
|