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

Unified Diff: components/mus/ws/view_tree_host_impl.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_host_delegate.h ('k') | components/mus/ws/view_tree_host_impl.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_impl.h
diff --git a/components/mus/ws/view_tree_host_impl.h b/components/mus/ws/view_tree_host_impl.h
index 5d6968c275e980ef0b84c267072f9a1cb60e46f0..c57c97fedb1e166db4f598af22cbf55d75c9f147 100644
--- a/components/mus/ws/view_tree_host_impl.h
+++ b/components/mus/ws/view_tree_host_impl.h
@@ -7,7 +7,7 @@
#include "base/memory/scoped_ptr.h"
#include "components/mus/public/cpp/types.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/display_manager.h"
#include "components/mus/ws/event_dispatcher.h"
#include "components/mus/ws/focus_controller_delegate.h"
@@ -34,13 +34,13 @@ class ViewTreeImpl;
// closes the associated window, then this object and related state will be
// deleted.
class ViewTreeHostImpl : public DisplayManagerDelegate,
- public mojo::ViewTreeHost,
+ public mojom::WindowTreeHost,
public FocusControllerDelegate {
public:
// TODO(fsamuel): All these parameters are just plumbing for creating
// DisplayManagers. We should probably just store these common parameters
// in the DisplayManagerFactory and pass them along on DisplayManager::Create.
- ViewTreeHostImpl(mojo::ViewTreeHostClientPtr client,
+ ViewTreeHostImpl(mojom::WindowTreeHostClientPtr client,
ConnectionManager* connection_manager,
mojo::ApplicationImpl* app_impl,
const scoped_refptr<GpuState>& gpu_state,
@@ -50,9 +50,9 @@ class ViewTreeHostImpl : public DisplayManagerDelegate,
// Initializes state that depends on the existence of a ViewTreeHostImpl.
void Init(ViewTreeHostDelegate* delegate);
- ViewTreeImpl* GetViewTree();
+ ViewTreeImpl* GetWindowTree();
- mojo::ViewTreeHostClient* client() const { return client_.get(); }
+ mojom::WindowTreeHostClient* client() const { return client_.get(); }
cc::SurfaceId surface_id() const { return surface_id_; }
@@ -66,7 +66,7 @@ class ViewTreeHostImpl : public DisplayManagerDelegate,
const gfx::Rect& bounds);
// Returns the metrics for this viewport.
- const mojo::ViewportMetrics& GetViewportMetrics() const;
+ const mojom::ViewportMetrics& GetViewportMetrics() const;
ConnectionManager* connection_manager() { return connection_manager_; }
@@ -100,8 +100,8 @@ class ViewTreeHostImpl : public DisplayManagerDelegate,
void OnEvent(mojo::EventPtr event) override;
void OnDisplayClosed() override;
void OnViewportMetricsChanged(
- const mojo::ViewportMetrics& old_metrics,
- const mojo::ViewportMetrics& new_metrics) override;
+ const mojom::ViewportMetrics& old_metrics,
+ const mojom::ViewportMetrics& new_metrics) override;
void OnTopLevelSurfaceChanged(cc::SurfaceId surface_id) override;
// FocusControllerDelegate:
@@ -110,7 +110,7 @@ class ViewTreeHostImpl : public DisplayManagerDelegate,
ViewTreeHostDelegate* delegate_;
ConnectionManager* const connection_manager_;
- mojo::ViewTreeHostClientPtr client_;
+ mojom::WindowTreeHostClientPtr client_;
EventDispatcher event_dispatcher_;
scoped_ptr<ServerView> root_;
scoped_ptr<DisplayManager> display_manager_;
« no previous file with comments | « components/mus/ws/view_tree_host_delegate.h ('k') | components/mus/ws/view_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698