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

Side by Side Diff: mojo/services/surfaces/public/interfaces/surface_id.mojom

Issue 807733002: Split surface id and simplify connecting to surfaces service (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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 unified diff | Download patch
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 module mojo; 5 module mojo;
6 6
7 // A surface ID is composed of two parts, a local part and a namespace. The
8 // local part is allocated by the client using any scheme that avoids
9 // duplicates. The namespace is allocated by the service and will be different
10 // for each client (aka each connection to mojo.Surface).
7 struct SurfaceId { 11 struct SurfaceId {
8 uint64 id; 12 uint32 local;
13 uint32 id_namespace;
9 }; 14 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698