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

Unified Diff: trunk/src/mojo/services/public/cpp/view_manager/view_manager.h

Issue 304593002: Revert 272983 "Change Shell / ShellClient to ServiceProvider" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 7 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: trunk/src/mojo/services/public/cpp/view_manager/view_manager.h
===================================================================
--- trunk/src/mojo/services/public/cpp/view_manager/view_manager.h (revision 272983)
+++ trunk/src/mojo/services/public/cpp/view_manager/view_manager.h (working copy)
@@ -13,7 +13,7 @@
#include "mojo/services/public/cpp/view_manager/view_tree_node.h"
namespace mojo {
-class ServiceProvider;
+class Shell;
namespace view_manager {
class View;
@@ -27,7 +27,7 @@
// TODO: displays
class ViewManager {
public:
- explicit ViewManager(ServiceProvider* service_provider);
+ explicit ViewManager(Shell* shell);
~ViewManager();
// Connects to the View Manager service. This method must be called before
@@ -51,7 +51,7 @@
typedef std::map<TransportNodeId, ViewTreeNode*> IdToNodeMap;
typedef std::map<TransportViewId, View*> IdToViewMap;
- ServiceProvider* service_provider_;
+ Shell* shell_;
scoped_ptr<ViewManagerSynchronizer> synchronizer_;
ViewTreeNode* tree_;

Powered by Google App Engine
This is Rietveld 408576698