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

Side by Side Diff: components/view_manager/public/interfaces/surface_id.mojom

Issue 1344573002: Mandoline: Rename components/view_manager to components/mus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years, 3 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 module mojo;
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).
11 //
12 // The special id_namespace value 0 is equivalent to the namespace of the
13 // client. This can be used to create, destroy and submit frames to
14 // surfaces before learning the namespace and to reference other surfaces
15 // owned by the same client. The actual id namespace must be used to pass
16 // surface ids to other clients for them to reference.
17 struct SurfaceId {
18 uint32 local;
19 uint32 id_namespace;
20 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698