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

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

Issue 269973002: Revert 268218 "Add support for mapping node tree on the client." (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 268224)
+++ trunk/src/mojo/services/public/cpp/view_manager/view_manager.h (working copy)
@@ -7,18 +7,13 @@
#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
-#include "base/observer_list.h"
-#include "mojo/public/cpp/bindings/callback.h"
-#include "mojo/services/public/cpp/view_manager/view_tree_node.h"
namespace mojo {
class Shell;
namespace services {
namespace view_manager {
-class ViewManagerObserver;
class ViewManagerSynchronizer;
-class ViewTreeNode;
// Approximately encapsulates the View Manager service.
// Owns a synchronizer that keeps a client model in sync with the service.
@@ -30,22 +25,12 @@
explicit ViewManager(Shell* shell);
~ViewManager();
- void BuildNodeTree(const mojo::Callback<void()>& callback);
-
- ViewTreeNode* tree() { return tree_.get(); }
-
private:
friend class ViewManagerPrivate;
- void AddObserver(ViewManagerObserver* observer);
- void RemoveObserver(ViewManagerObserver* observer);
-
Shell* shell_;
scoped_ptr<ViewManagerSynchronizer> synchronizer_;
- scoped_ptr<ViewTreeNode> tree_;
- ObserverList<ViewManagerObserver> observers_;
-
DISALLOW_COPY_AND_ASSIGN(ViewManager);
};

Powered by Google App Engine
This is Rietveld 408576698