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

Unified Diff: components/mus/public/interfaces/surface_id.mojom

Issue 2014233002: Implement cc::SurfaceId StructTraits (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 7 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 | « components/mus/public/interfaces/quads.mojom ('k') | components/mus/public/interfaces/window_tree.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/public/interfaces/surface_id.mojom
diff --git a/components/mus/public/interfaces/surface_id.mojom b/components/mus/public/interfaces/surface_id.mojom
deleted file mode 100644
index 6142365c0bfad4512e25f7b65bf900cad604984d..0000000000000000000000000000000000000000
--- a/components/mus/public/interfaces/surface_id.mojom
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-module mus.mojom;
-
-// A surface ID is composed of three parts: a namespace, a local ID, and a
-// nonce. The local part and nonce are allocated by the client using any scheme
-// that avoids duplicates and makes IDs unguessable respectively. The namespace
-// is allocated by the service and will be different for each client.
-//
-// The special id_namespace value 0 is equivalent to the namespace of the
-// client. This can be used to create, destroy and submit frames to
-// surfaces before learning the namespace and to reference other surfaces
-// owned by the same client. The actual id namespace must be used to pass
-// surface ids to other clients for them to reference.
-struct SurfaceId {
- // A service allocated ID identifying a client.
- uint32 id_namespace;
-
- // An identifier allocated by the client uniquely identifying a surface within
- // a client process.
- uint32 local_id;
-
- // A cryptographically secure random int chosen to make the SurfaceId
- // unguessable by other clients.
- uint64 nonce;
-};
« no previous file with comments | « components/mus/public/interfaces/quads.mojom ('k') | components/mus/public/interfaces/window_tree.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698