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

Unified Diff: mash/wm/root_window_controller.h

Issue 2018823002: Eliminate WindowTreeConnection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@connection
Patch Set: . Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mash/wm/frame/non_client_frame_view_mash.cc ('k') | mash/wm/root_window_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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:
« no previous file with comments | « mash/wm/frame/non_client_frame_view_mash.cc ('k') | mash/wm/root_window_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698