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

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

Issue 261513002: Revert 266940 "First step at synchronizing client model changes ..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 8 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 266943)
+++ trunk/src/mojo/services/public/cpp/view_manager/view_tree_node.h (working copy)
@@ -14,19 +14,16 @@
namespace services {
namespace view_manager {
-class ViewManager;
class ViewTreeNodeObserver;
class ViewTreeNode {
public:
typedef std::vector<ViewTreeNode*> Children;
- explicit ViewTreeNode(ViewManager* manager);
- ViewTreeNode(); // Used for tests.
+ ViewTreeNode();
~ViewTreeNode();
// Configuration.
- uint16_t id() const { return id_; }
void set_owned_by_parent(bool owned_by_parent) {
owned_by_parent_ = owned_by_parent;
}
@@ -48,8 +45,6 @@
private:
friend class ViewTreeNodePrivate;
- ViewManager* manager_;
- uint16_t id_;
bool owned_by_parent_;
ViewTreeNode* parent_;
Children children_;

Powered by Google App Engine
This is Rietveld 408576698