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

Unified Diff: mojo/services/surfaces/public/interfaces/surface_id.mojom

Issue 795593004: Update mojo sdk to rev cc531b32182099a5a034a99daff35ed5d38a61c8 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More workarounds for MSVC Created 6 years 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/surfaces/public/interfaces/surface_id.mojom
diff --git a/mojo/services/surfaces/public/interfaces/surface_id.mojom b/mojo/services/surfaces/public/interfaces/surface_id.mojom
index eb40242c50566ee607ce1893e34ea399ef0b8b3e..d68e2e7b69b65381e39e9c37398fb0cb69152da6 100644
--- a/mojo/services/surfaces/public/interfaces/surface_id.mojom
+++ b/mojo/services/surfaces/public/interfaces/surface_id.mojom
@@ -4,6 +4,11 @@
module mojo;
+// A surface ID is composed of two parts, a local part and a namespace. The
+// local part is allocated by the client using any scheme that avoids
+// duplicates. The namespace is allocated by the service and will be different
+// for each client (aka each connection to mojo.Surface).
struct SurfaceId {
- uint64 id;
+ uint32 local;
+ uint32 id_namespace;
};
« no previous file with comments | « mojo/services/surfaces/public/interfaces/quads.mojom ('k') | mojo/services/surfaces/public/interfaces/surfaces.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698