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

Unified Diff: components/mus/ws/connection_manager.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/client_connection.cc ('k') | components/mus/ws/connection_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/connection_manager.h
diff --git a/components/mus/ws/connection_manager.h b/components/mus/ws/connection_manager.h
index 713deaff066cfcdebaa70fe43ccf8dbe86e0cf1e..da217549efd9ba1ef8ae8c918341223d523f4f43 100644
--- a/components/mus/ws/connection_manager.h
+++ b/components/mus/ws/connection_manager.h
@@ -11,8 +11,8 @@
#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
#include "base/timer/timer.h"
-#include "components/mus/public/interfaces/view_tree.mojom.h"
-#include "components/mus/public/interfaces/view_tree_host.mojom.h"
+#include "components/mus/public/interfaces/window_tree.mojom.h"
+#include "components/mus/public/interfaces/window_tree_host.mojom.h"
#include "components/mus/surfaces/surfaces_state.h"
#include "components/mus/ws/focus_controller_delegate.h"
#include "components/mus/ws/ids.h"
@@ -101,7 +101,7 @@ class ConnectionManager : public ServerViewDelegate, public ServerViewObserver {
ViewTreeImpl* EmbedAtView(ConnectionSpecificId creator_id,
const ViewId& view_id,
uint32_t policy_bitmask,
- mojo::ViewTreeClientPtr client);
+ mojom::WindowTreeClientPtr client);
// Returns the connection by id.
ViewTreeImpl* GetConnection(ConnectionSpecificId connection_id);
@@ -133,7 +133,7 @@ class ConnectionManager : public ServerViewDelegate, public ServerViewObserver {
bool DidConnectionMessageClient(ConnectionSpecificId id) const;
// Returns the metrics of the viewport where the provided |view| is displayed.
- mojo::ViewportMetricsPtr GetViewportMetricsForView(const ServerView* view);
+ mojom::ViewportMetricsPtr GetViewportMetricsForView(const ServerView* view);
// Returns the ViewTreeImpl that has |id| as a root.
ViewTreeImpl* GetConnectionWithRoot(const ViewId& id) {
@@ -142,8 +142,8 @@ class ConnectionManager : public ServerViewDelegate, public ServerViewObserver {
}
const ViewTreeImpl* GetConnectionWithRoot(const ViewId& id) const;
- ViewTreeHostImpl* GetViewTreeHostByView(const ServerView* view);
- const ViewTreeHostImpl* GetViewTreeHostByView(const ServerView* view) const;
+ ViewTreeHostImpl* GetWindowTreeHostByView(const ServerView* view);
+ const ViewTreeHostImpl* GetWindowTreeHostByView(const ServerView* view) const;
// Returns the first ancestor of |service| that is marked as an embed root.
ViewTreeImpl* GetEmbedRoot(ViewTreeImpl* service);
@@ -160,8 +160,8 @@ class ConnectionManager : public ServerViewDelegate, public ServerViewObserver {
void ProcessClientAreaChanged(const ServerView* window,
const gfx::Rect& old_client_area,
const gfx::Rect& new_client_area);
- void ProcessViewportMetricsChanged(const mojo::ViewportMetrics& old_metrics,
- const mojo::ViewportMetrics& new_metrics);
+ void ProcessViewportMetricsChanged(const mojom::ViewportMetrics& old_metrics,
+ const mojom::ViewportMetrics& new_metrics);
void ProcessWillChangeViewHierarchy(const ServerView* view,
const ServerView* new_parent,
const ServerView* old_parent);
@@ -170,7 +170,7 @@ class ConnectionManager : public ServerViewDelegate, public ServerViewObserver {
const ServerView* old_parent);
void ProcessViewReorder(const ServerView* view,
const ServerView* relative_view,
- const mojo::OrderDirection direction);
+ const mojom::OrderDirection direction);
void ProcessViewDeleted(const ViewId& view);
private:
@@ -218,7 +218,7 @@ class ConnectionManager : public ServerViewDelegate, public ServerViewObserver {
const gfx::Rect& new_client_area) override;
void OnViewReordered(ServerView* view,
ServerView* relative,
- mojo::OrderDirection direction) override;
+ mojom::OrderDirection direction) override;
void OnWillChangeViewVisibility(ServerView* view) override;
void OnViewSharedPropertyChanged(
ServerView* view,
« no previous file with comments | « components/mus/ws/client_connection.cc ('k') | components/mus/ws/connection_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698