| Index: mash/wm/root_window_controller.h
|
| diff --git a/mash/wm/root_window_controller.h b/mash/wm/root_window_controller.h
|
| index b1f0291ce2965b53adef191489742963c60f07a6..da8afb623f5625c3efd71c3f6a44f8468d5bb6ab 100644
|
| --- a/mash/wm/root_window_controller.h
|
| +++ b/mash/wm/root_window_controller.h
|
| @@ -8,7 +8,8 @@
|
| #include <memory>
|
|
|
| #include "components/mus/public/cpp/window_observer.h"
|
| -#include "components/mus/public/cpp/window_tree_delegate.h"
|
| +#include "components/mus/public/cpp/window_tree_client.h"
|
| +#include "components/mus/public/cpp/window_tree_client_delegate.h"
|
| #include "components/mus/public/interfaces/window_manager_constants.mojom.h"
|
| #include "components/mus/public/interfaces/window_tree_host.mojom.h"
|
| #include "mash/wm/public/interfaces/container.mojom.h"
|
| @@ -51,7 +52,7 @@ class WmTestHelper;
|
| // RootWindowController deletes itself when the root mus::Window is destroyed.
|
| // You can trigger deletion explicitly by way of Destroy().
|
| class RootWindowController : public mus::WindowObserver,
|
| - public mus::WindowTreeDelegate,
|
| + public mus::WindowTreeClientDelegate,
|
| public ShelfLayoutManagerDelegate {
|
| public:
|
| static RootWindowController* CreateFromDisplay(
|
| @@ -98,9 +99,9 @@ class RootWindowController : public mus::WindowObserver,
|
|
|
| void AddAccelerators();
|
|
|
| - // WindowTreeDelegate:
|
| + // WindowTreeClientDelegate:
|
| void OnEmbed(mus::Window* root) override;
|
| - void OnConnectionLost(mus::WindowTreeConnection* connection) override;
|
| + void OnWindowTreeClientDestroyed(mus::WindowTreeClient* client) override;
|
| void OnEventObserved(const ui::Event& event, mus::Window* target) override;
|
|
|
| // mus::WindowObserver:
|
|
|