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

Unified Diff: trunk/src/mojo/services/public/cpp/view_manager/view_tree_node.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_tree_node.h
===================================================================
--- trunk/src/mojo/services/public/cpp/view_manager/view_tree_node.h (revision 268224)
+++ trunk/src/mojo/services/public/cpp/view_manager/view_tree_node.h (working copy)
@@ -9,7 +9,6 @@
#include "base/basictypes.h"
#include "base/observer_list.h"
-#include "mojo/services/public/cpp/view_manager/view_manager_types.h"
namespace mojo {
namespace services {
@@ -27,7 +26,7 @@
~ViewTreeNode();
// Configuration.
- TransportNodeId id() const { return id_; }
+ uint16_t id() const { return id_; }
void set_owned_by_parent(bool owned_by_parent) {
owned_by_parent_ = owned_by_parent;
}
@@ -49,11 +48,8 @@
private:
friend class ViewTreeNodePrivate;
- void LocalAddChild(ViewTreeNode* child);
- void LocalRemoveChild(ViewTreeNode* child);
-
ViewManager* manager_;
- TransportNodeId id_;
+ uint16_t id_;
bool owned_by_parent_;
ViewTreeNode* parent_;
Children children_;
« no previous file with comments | « trunk/src/mojo/services/public/cpp/view_manager/view_manager.h ('k') | trunk/src/mojo/services/view_manager/ids.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698