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

Unified Diff: trunk/src/mojo/services/view_manager/node.h

Issue 250733003: Revert 266159 "Adds more to viewmanager" (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
« no previous file with comments | « trunk/src/mojo/services/view_manager/ids.h ('k') | trunk/src/mojo/services/view_manager/node.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/mojo/services/view_manager/node.h
===================================================================
--- trunk/src/mojo/services/view_manager/node.h (revision 266161)
+++ trunk/src/mojo/services/view_manager/node.h (working copy)
@@ -5,8 +5,6 @@
#ifndef MOJO_SERVICES_VIEW_MANAGER_NODE_H_
#define MOJO_SERVICES_VIEW_MANAGER_NODE_H_
-#include <vector>
-
#include "base/logging.h"
#include "mojo/services/view_manager/ids.h"
#include "mojo/services/view_manager/view_manager_export.h"
@@ -18,7 +16,6 @@
namespace view_manager {
class NodeDelegate;
-class View;
// Represents a node in the graph. Delegate is informed of interesting events.
class MOJO_VIEW_MANAGER_EXPORT Node : public aura::WindowObserver {
@@ -36,12 +33,6 @@
Node* GetParent();
- std::vector<Node*> GetChildren();
-
- // Sets the view associated with this node. Node does not own its View.
- void SetView(View* view);
- View* view() { return view_; }
-
private:
// WindowObserver overrides:
virtual void OnWindowHierarchyChanged(
@@ -49,12 +40,7 @@
NodeDelegate* delegate_;
const NodeId id_;
-
- // Weak pointer to view associated with this node.
- View* view_;
-
ViewId view_id_;
-
aura::Window window_;
DISALLOW_COPY_AND_ASSIGN(Node);
« no previous file with comments | « trunk/src/mojo/services/view_manager/ids.h ('k') | trunk/src/mojo/services/view_manager/node.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698