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

Unified Diff: services/navigation/view_impl.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/window_manager_unittest.cc ('k') | services/navigation/view_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/navigation/view_impl.h
diff --git a/services/navigation/view_impl.h b/services/navigation/view_impl.h
index 426185f7c9c9bad71a407478a5556da597c68af8..bec580b6f3c0c76b6122e2f09e4471262032e059 100644
--- a/services/navigation/view_impl.h
+++ b/services/navigation/view_impl.h
@@ -6,7 +6,7 @@
#define SERVICES_NAVIGATION_VIEW_IMPL_H_
#include "base/macros.h"
-#include "components/mus/public/cpp/window_tree_delegate.h"
+#include "components/mus/public/cpp/window_tree_client_delegate.h"
#include "content/public/browser/web_contents_delegate.h"
#include "mojo/public/cpp/bindings/binding_set.h"
#include "mojo/public/cpp/bindings/strong_binding.h"
@@ -25,7 +25,7 @@ namespace navigation {
class ViewImpl : public mojom::View,
public content::WebContentsDelegate,
- public mus::WindowTreeDelegate,
+ public mus::WindowTreeClientDelegate,
public views::WidgetDelegate {
public:
ViewImpl(shell::Connector* connector,
@@ -60,9 +60,9 @@ class ViewImpl : public mojom::View,
void LoadProgressChanged(content::WebContents* source,
double progress) override;
- // mus::WindowTreeDelegate:
+ // mus::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;
// views::WidgetDelegate:
« no previous file with comments | « mash/wm/window_manager_unittest.cc ('k') | services/navigation/view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698