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

Unified Diff: trunk/src/mojo/services/view_manager/root_node_manager.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
Index: trunk/src/mojo/services/view_manager/root_node_manager.h
===================================================================
--- trunk/src/mojo/services/view_manager/root_node_manager.h (revision 266161)
+++ trunk/src/mojo/services/view_manager/root_node_manager.h (working copy)
@@ -50,23 +50,13 @@
void AddConnection(ViewManagerConnection* connection);
void RemoveConnection(ViewManagerConnection* connection);
- // Returns the connection by id.
- ViewManagerConnection* GetConnection(uint16_t connection_id);
-
// Returns the Node identified by |id|.
Node* GetNode(const NodeId& id);
- // Returns the View identified by |id|.
- View* GetView(const ViewId& id);
-
- // These functions trivially delegate to all ViewManagerConnections, which in
- // term notify their clients.
+ // Notifies all ViewManagerConnections of a hierarchy change.
void NotifyNodeHierarchyChanged(const NodeId& node,
const NodeId& new_parent,
const NodeId& old_parent);
- void NotifyNodeViewReplaced(const NodeId& node,
- const ViewId& new_view_id,
- const ViewId& old_view_id);
private:
// Tracks a change.
@@ -104,9 +94,6 @@
virtual void OnNodeHierarchyChanged(const NodeId& node,
const NodeId& new_parent,
const NodeId& old_parent) OVERRIDE;
- virtual void OnNodeViewReplaced(const NodeId& node,
- const ViewId& new_view_id,
- const ViewId& old_view_id) OVERRIDE;
// ID to use for next ViewManagerConnection.
uint16_t next_connection_id_;
« no previous file with comments | « trunk/src/mojo/services/view_manager/node_delegate.h ('k') | trunk/src/mojo/services/view_manager/root_node_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698