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

Unified Diff: components/mus/ws/view_tree_host_connection.h

Issue 1406153004: components/mus/public/interfaces View => Window (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Yet another rebase Created 5 years, 2 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 | « components/mus/ws/view_tree_apptest.cc ('k') | components/mus/ws/view_tree_host_connection.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/view_tree_host_connection.h
diff --git a/components/mus/ws/view_tree_host_connection.h b/components/mus/ws/view_tree_host_connection.h
index 62f4d93547ec1f64bc86cf6db189c33ea45d45f4..6bcf444c02cf5b27cf5e54fa6f0380831f464661 100644
--- a/components/mus/ws/view_tree_host_connection.h
+++ b/components/mus/ws/view_tree_host_connection.h
@@ -6,7 +6,7 @@
#define COMPONENTS_MUS_WS_VIEW_TREE_HOST_CONNECTION_H_
#include "base/memory/scoped_ptr.h"
-#include "components/mus/public/interfaces/view_tree_host.mojom.h"
+#include "components/mus/public/interfaces/window_tree_host.mojom.h"
#include "components/mus/ws/view_tree_host_delegate.h"
#include "components/mus/ws/view_tree_host_impl.h"
#include "third_party/mojo/src/mojo/public/cpp/bindings/binding.h"
@@ -46,7 +46,7 @@ class ViewTreeHostConnection : public ViewTreeHostDelegate {
// ViewTreeHostDelegate:
void OnDisplayInitialized() override;
void OnDisplayClosed() override;
- ViewTreeImpl* GetViewTree() override;
+ ViewTreeImpl* GetWindowTree() override;
private:
scoped_ptr<ViewTreeHostImpl> host_;
@@ -60,10 +60,11 @@ class ViewTreeHostConnection : public ViewTreeHostDelegate {
// Live implementation of ViewTreeHostConnection.
class ViewTreeHostConnectionImpl : public ViewTreeHostConnection {
public:
- ViewTreeHostConnectionImpl(mojo::InterfaceRequest<mojo::ViewTreeHost> request,
- scoped_ptr<ViewTreeHostImpl> host_impl,
- mojo::ViewTreeClientPtr client,
- ConnectionManager* connection_manager);
+ ViewTreeHostConnectionImpl(
+ mojo::InterfaceRequest<mojom::WindowTreeHost> request,
+ scoped_ptr<ViewTreeHostImpl> host_impl,
+ mojom::WindowTreeClientPtr client,
+ ConnectionManager* connection_manager);
private:
~ViewTreeHostConnectionImpl() override;
@@ -71,8 +72,8 @@ class ViewTreeHostConnectionImpl : public ViewTreeHostConnection {
// ViewTreeHostDelegate:
void OnDisplayInitialized() override;
- mojo::Binding<mojo::ViewTreeHost> binding_;
- mojo::ViewTreeClientPtr client_;
+ mojo::Binding<mojom::WindowTreeHost> binding_;
+ mojom::WindowTreeClientPtr client_;
DISALLOW_COPY_AND_ASSIGN(ViewTreeHostConnectionImpl);
};
« no previous file with comments | « components/mus/ws/view_tree_apptest.cc ('k') | components/mus/ws/view_tree_host_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698