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

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

Issue 320193002: Consolidates view_manager typedefs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: formatting 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/services/public/cpp/view_manager/view_manager_types.h ('k') | mojo/services/view_manager/ids.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/public/cpp/view_manager/view_tree_node.h
diff --git a/mojo/services/public/cpp/view_manager/view_tree_node.h b/mojo/services/public/cpp/view_manager/view_tree_node.h
index 913a354fb1093d416912e8955779b6a8d5671b35..d3e6ddf60d75827957e171803baa94442d4a5b65 100644
--- a/mojo/services/public/cpp/view_manager/view_tree_node.h
+++ b/mojo/services/public/cpp/view_manager/view_tree_node.h
@@ -34,7 +34,7 @@ class ViewTreeNode {
void Destroy();
// Configuration.
- TransportNodeId id() const { return id_; }
+ Id id() const { return id_; }
// Geometric disposition.
const gfx::Rect& bounds() { return bounds_; }
@@ -54,7 +54,7 @@ class ViewTreeNode {
bool Contains(ViewTreeNode* child) const;
- ViewTreeNode* GetChildById(TransportNodeId id);
+ ViewTreeNode* GetChildById(Id id);
// View.
void SetActiveView(View* view);
@@ -80,7 +80,7 @@ class ViewTreeNode {
void LocalSetBounds(const gfx::Rect& old_bounds, const gfx::Rect& new_bounds);
ViewManager* manager_;
- TransportNodeId id_;
+ Id id_;
ViewTreeNode* parent_;
Children children_;
« no previous file with comments | « mojo/services/public/cpp/view_manager/view_manager_types.h ('k') | mojo/services/view_manager/ids.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698