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

Unified Diff: trunk/src/mojo/services/public/cpp/view_manager/lib/view_manager_private.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/lib/view_manager_private.h
===================================================================
--- trunk/src/mojo/services/public/cpp/view_manager/lib/view_manager_private.h (revision 268224)
+++ trunk/src/mojo/services/public/cpp/view_manager/lib/view_manager_private.h (working copy)
@@ -6,14 +6,12 @@
#define MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_VIEW_MANAGER_PRIVATE_H_
#include "base/basictypes.h"
-#include "mojo/services/public/cpp/view_manager/lib/view_manager_synchronizer.h"
#include "mojo/services/public/cpp/view_manager/view_manager.h"
namespace mojo {
namespace services {
namespace view_manager {
-class ViewManagerObserver;
class ViewManagerSynchronizer;
class ViewManagerPrivate {
@@ -26,21 +24,6 @@
}
Shell* shell() { return manager_->shell_; }
- void set_tree(ViewTreeNode* root) { manager_->tree_.reset(root); }
-
- // Returns true if the ViewManager's synchronizer is connected to the service.
- bool connected() { return manager_->synchronizer_->connected(); }
-
- void AddObserver(ViewManagerObserver* observer) {
- manager_->AddObserver(observer);
- }
- void RemoveObserver(ViewManagerObserver* observer) {
- manager_->RemoveObserver(observer);
- }
- ObserverList<ViewManagerObserver>* observers() {
- return &manager_->observers_;
- }
-
private:
ViewManager* manager_;

Powered by Google App Engine
This is Rietveld 408576698