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

Unified Diff: mash/example/common/mus_views_init.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/browser/browser.cc ('k') | mash/webtest/webtest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/example/common/mus_views_init.h
diff --git a/mash/example/common/mus_views_init.h b/mash/example/common/mus_views_init.h
index 1f983926f75f7c64bb43644cd222fb46daa89b36..5ea347ef2d613d86979459745b8f6929a57ef66b 100644
--- a/mash/example/common/mus_views_init.h
+++ b/mash/example/common/mus_views_init.h
@@ -8,7 +8,7 @@
#include <memory>
#include "base/macros.h"
-#include "components/mus/public/cpp/window_tree_delegate.h"
+#include "components/mus/public/cpp/window_tree_client_delegate.h"
#include "components/mus/public/interfaces/window_manager.mojom.h"
#include "ui/views/mus/aura_init.h"
#include "ui/views/views_delegate.h"
@@ -23,7 +23,7 @@ class AuraInit;
// Does the necessary setup to use mus, views and the example wm.
class MUSViewsInit : public views::ViewsDelegate,
- public mus::WindowTreeDelegate {
+ public mus::WindowTreeClientDelegate {
public:
explicit MUSViewsInit(shell::ShellConnection* app);
~MUSViewsInit() override;
@@ -38,9 +38,9 @@ class MUSViewsInit : public views::ViewsDelegate,
views::Widget::InitParams* params,
views::internal::NativeWidgetDelegate* delegate) override;
- // mus::WindowTreeDelegate:
+ // mus::WindowTreeClientDelegate:
void OnEmbed(mus::Window* root) override;
- void OnConnectionLost(mus::WindowTreeConnection* connection) override;
+ void OnWindowTreeClientDestroyed(mus::WindowTreeClient* client) override;
#if defined(OS_WIN)
HICON GetSmallWindowIcon() const override;
#endif
« no previous file with comments | « mash/browser/browser.cc ('k') | mash/webtest/webtest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698