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

Unified Diff: components/view_manager/view_manager_root_connection.h

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.h
diff --git a/components/view_manager/view_manager_root_connection.h b/components/view_manager/view_manager_root_connection.h
index cc89c2206cc5de707970bb8982edad25cab44667..b141e148cbe3b19a656d084dd7f22f73a7be9e8d 100644
--- a/components/view_manager/view_manager_root_connection.h
+++ b/components/view_manager/view_manager_root_connection.h
@@ -14,7 +14,7 @@
namespace view_manager {
class ConnectionManager;
-class ViewManagerServiceImpl;
+class ViewTreeImpl;
// ViewManagerRootConnection is a server-side object that encapsulates the
// connection between a client of the ViewManagerRoot and its implementation.
@@ -29,8 +29,8 @@ class ViewManagerRootConnection : public ViewManagerRootDelegate {
scoped_ptr<ViewManagerRootImpl> view_manager_root,
ConnectionManager* connection_manager);
- void set_view_manager_service(ViewManagerServiceImpl* service) {
- service_ = service;
+ void set_view_tree(ViewTreeImpl* tree) {
+ tree_ = tree;
}
ViewManagerRootImpl* view_manager_root() { return root_.get();}
@@ -49,11 +49,11 @@ class ViewManagerRootConnection : public ViewManagerRootDelegate {
// ViewManagerRootDelegate:
void OnDisplayInitialized() override;
void OnDisplayClosed() override;
- ViewManagerServiceImpl* GetViewManagerService() override;
+ ViewTreeImpl* GetViewTree() override;
private:
scoped_ptr<ViewManagerRootImpl> root_;
- ViewManagerServiceImpl* service_;
+ ViewTreeImpl* tree_;
ConnectionManager* connection_manager_;
bool connection_closed_;
@@ -66,7 +66,7 @@ class ViewManagerRootConnectionImpl : public ViewManagerRootConnection {
ViewManagerRootConnectionImpl(
mojo::InterfaceRequest<mojo::ViewManagerRoot> request,
scoped_ptr<ViewManagerRootImpl> root,
- mojo::ViewManagerClientPtr client,
+ mojo::ViewTreeClientPtr client,
ConnectionManager* connection_manager);
private:
@@ -76,7 +76,7 @@ class ViewManagerRootConnectionImpl : public ViewManagerRootConnection {
void OnDisplayInitialized() override;
mojo::Binding<mojo::ViewManagerRoot> binding_;
- mojo::ViewManagerClientPtr client_;
+ mojo::ViewTreeClientPtr client_;
DISALLOW_COPY_AND_ASSIGN(ViewManagerRootConnectionImpl);
};
« no previous file with comments | « components/view_manager/view_manager_client_apptest.cc ('k') | components/view_manager/view_manager_root_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698