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

Unified Diff: mash/wm/bridge/wm_globals_mus.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/webtest/webtest.cc ('k') | mash/wm/bridge/wm_globals_mus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/wm/bridge/wm_globals_mus.h
diff --git a/mash/wm/bridge/wm_globals_mus.h b/mash/wm/bridge/wm_globals_mus.h
index 8f5f2e9fb767f241d68ef89a9a2b687ab4b390e1..553086226316a97b416b915f6e243f00e4592e29 100644
--- a/mash/wm/bridge/wm_globals_mus.h
+++ b/mash/wm/bridge/wm_globals_mus.h
@@ -12,10 +12,10 @@
#include "ash/wm/common/wm_globals.h"
#include "base/macros.h"
#include "base/observer_list.h"
-#include "components/mus/public/cpp/window_tree_connection_observer.h"
+#include "components/mus/public/cpp/window_tree_client_observer.h"
namespace mus {
-class WindowTreeConnection;
+class WindowTreeClient;
}
namespace mash {
@@ -26,9 +26,9 @@ class WmWindowMus;
// WmGlobals implementation for mus.
class WmGlobalsMus : public ash::wm::WmGlobals,
- public mus::WindowTreeConnectionObserver {
+ public mus::WindowTreeClientObserver {
public:
- explicit WmGlobalsMus(mus::WindowTreeConnection* connection);
+ explicit WmGlobalsMus(mus::WindowTreeClient* client);
~WmGlobalsMus() override;
static WmGlobalsMus* Get();
@@ -76,14 +76,14 @@ class WmGlobalsMus : public ash::wm::WmGlobals,
// Returns true if |window| is a window that can have active children.
static bool IsActivationParent(mus::Window* window);
- void RemoveConnectionObserver();
+ void RemoveClientObserver();
- // mus::WindowTreeConnectionObserver:
+ // mus::WindowTreeClientObserver:
void OnWindowTreeFocusChanged(mus::Window* gained_focus,
mus::Window* lost_focus) override;
- void OnWillDestroyConnection(mus::WindowTreeConnection* connection) override;
+ void OnWillDestroyClient(mus::WindowTreeClient* client) override;
- mus::WindowTreeConnection* connection_;
+ mus::WindowTreeClient* client_;
std::vector<WmRootWindowControllerMus*> root_window_controllers_;
« no previous file with comments | « mash/webtest/webtest.cc ('k') | mash/wm/bridge/wm_globals_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698