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

Unified Diff: mojo/services/public/cpp/view_manager/view_manager_types.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
Index: mojo/services/public/cpp/view_manager/view_manager_types.h
diff --git a/mojo/services/public/cpp/view_manager/view_manager_types.h b/mojo/services/public/cpp/view_manager/view_manager_types.h
index 204f08117a5f6b02619a65544758adaeb030c427..09f48f47716dce6076cfb4bdd211b49dd0346e5f 100644
--- a/mojo/services/public/cpp/view_manager/view_manager_types.h
+++ b/mojo/services/public/cpp/view_manager/view_manager_types.h
@@ -13,13 +13,13 @@
namespace mojo {
namespace view_manager {
-typedef uint32_t TransportChangeId;
-typedef uint16_t TransportConnectionId;
-typedef uint32_t TransportNodeId;
-typedef uint32_t TransportViewId;
+// Used to identify nodes, views and change ids.
+typedef uint32_t Id;
-typedef uint16_t TransportConnectionSpecificNodeId;
-typedef uint16_t TransportConnectionSpecificViewId;
+// Used to identify a connection as well as a connection specific view or node
+// id. For example, the Id for a node consists of the ConnectionSpecificId of
+// the connection and the ConnectionSpecificId of the node.
+typedef uint16_t ConnectionSpecificId;
} // namespace view_manager
} // namespace mojo
« no previous file with comments | « mojo/services/public/cpp/view_manager/view_manager.h ('k') | mojo/services/public/cpp/view_manager/view_tree_node.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698