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

Unified Diff: components/view_manager/view_manager_root_connection.cc

Issue 1314953002: Rename ViewManagerService,ViewManagerClient -> ViewTree,ViewTreeClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 4 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
Index: components/view_manager/view_manager_root_connection.cc
diff --git a/components/view_manager/view_manager_root_connection.cc b/components/view_manager/view_manager_root_connection.cc
index 017ccbe0a58cf8450e3797644a7534cdc2610617..9f9987429bdc6111b51e69c31774e3b1b2220846 100644
--- a/components/view_manager/view_manager_root_connection.cc
+++ b/components/view_manager/view_manager_root_connection.cc
@@ -13,7 +13,7 @@ ViewManagerRootConnection::ViewManagerRootConnection(
scoped_ptr<ViewManagerRootImpl> view_manager_root,
ConnectionManager* manager)
: root_(view_manager_root.Pass()),
- service_(nullptr),
+ tree_(nullptr),
connection_manager_(manager),
connection_closed_(false) {
}
@@ -35,8 +35,8 @@ void ViewManagerRootConnection::CloseConnection() {
delete this;
}
-ViewManagerServiceImpl* ViewManagerRootConnection::GetViewManagerService() {
- return service_;
+ViewTreeImpl* ViewManagerRootConnection::GetViewTree() {
+ return tree_;
}
void ViewManagerRootConnection::OnDisplayInitialized() {
@@ -49,7 +49,7 @@ void ViewManagerRootConnection::OnDisplayClosed() {
ViewManagerRootConnectionImpl::ViewManagerRootConnectionImpl(
mojo::InterfaceRequest<mojo::ViewManagerRoot> request,
scoped_ptr<ViewManagerRootImpl> root,
- mojo::ViewManagerClientPtr client,
+ mojo::ViewTreeClientPtr client,
ConnectionManager* manager)
: ViewManagerRootConnection(root.Pass(), manager),
binding_(view_manager_root(), request.Pass()),
@@ -61,7 +61,7 @@ ViewManagerRootConnectionImpl::~ViewManagerRootConnectionImpl() {
void ViewManagerRootConnectionImpl::OnDisplayInitialized() {
connection_manager()->AddRoot(this);
- set_view_manager_service(connection_manager()->EmbedAtView(
+ set_view_tree(connection_manager()->EmbedAtView(
kInvalidConnectionId, view_manager_root()->root_view()->id(),
client_.Pass()));
}
« no previous file with comments | « components/view_manager/view_manager_root_connection.h ('k') | components/view_manager/view_manager_root_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698