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

Side by Side Diff: mojo/services/view_manager/root_node_manager.h

Issue 327073003: Reorder (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « mojo/services/view_manager/node.cc ('k') | mojo/services/view_manager/root_node_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MOJO_SERVICES_VIEW_MANAGER_ROOT_NODE_MANAGER_H_ 5 #ifndef MOJO_SERVICES_VIEW_MANAGER_ROOT_NODE_MANAGER_H_
6 #define MOJO_SERVICES_VIEW_MANAGER_ROOT_NODE_MANAGER_H_ 6 #define MOJO_SERVICES_VIEW_MANAGER_ROOT_NODE_MANAGER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 10
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 const std::string& url) const; 130 const std::string& url) const;
131 131
132 // These functions trivially delegate to all ViewManagerConnections, which in 132 // These functions trivially delegate to all ViewManagerConnections, which in
133 // term notify their clients. 133 // term notify their clients.
134 void ProcessNodeBoundsChanged(const Node* node, 134 void ProcessNodeBoundsChanged(const Node* node,
135 const gfx::Rect& old_bounds, 135 const gfx::Rect& old_bounds,
136 const gfx::Rect& new_bounds); 136 const gfx::Rect& new_bounds);
137 void ProcessNodeHierarchyChanged(const Node* node, 137 void ProcessNodeHierarchyChanged(const Node* node,
138 const Node* new_parent, 138 const Node* new_parent,
139 const Node* old_parent); 139 const Node* old_parent);
140 void ProcessNodeReorder(const Node* node,
141 const Node* relative_node,
142 const OrderDirection direction);
140 void ProcessNodeViewReplaced(const Node* node, 143 void ProcessNodeViewReplaced(const Node* node,
141 const View* new_view_id, 144 const View* new_view_id,
142 const View* old_view_id); 145 const View* old_view_id);
143 void ProcessNodeDeleted(const NodeId& node); 146 void ProcessNodeDeleted(const NodeId& node);
144 void ProcessViewDeleted(const ViewId& view); 147 void ProcessViewDeleted(const ViewId& view);
145 148
146 private: 149 private:
147 // Used to setup any static state needed by RootNodeManager. 150 // Used to setup any static state needed by RootNodeManager.
148 struct Context { 151 struct Context {
149 Context(); 152 Context();
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 ScopedChange* current_change_; 212 ScopedChange* current_change_;
210 213
211 DISALLOW_COPY_AND_ASSIGN(RootNodeManager); 214 DISALLOW_COPY_AND_ASSIGN(RootNodeManager);
212 }; 215 };
213 216
214 } // namespace service 217 } // namespace service
215 } // namespace view_manager 218 } // namespace view_manager
216 } // namespace mojo 219 } // namespace mojo
217 220
218 #endif // MOJO_SERVICES_VIEW_MANAGER_ROOT_NODE_MANAGER_H_ 221 #endif // MOJO_SERVICES_VIEW_MANAGER_ROOT_NODE_MANAGER_H_
OLDNEW
« no previous file with comments | « mojo/services/view_manager/node.cc ('k') | mojo/services/view_manager/root_node_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698