1// Copyright 2017 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
5module viz.mojom;
6
7import "mojo/public/mojom/base/unguessable_token.mojom";
8
9struct LocalSurfaceId {
10  // An identifier to uniquely identify a surface.
11  // Prior to surface synchronization, this is allocated by the child.
12  // With surface synchronization enabled, this is allocated by the parent.
13  uint32 parent_sequence_number;
14
15  // An identifier allocated by the client for when the client wants to allocate
16  // its own surface.
17  uint32 child_sequence_number;
18
19  mojo_base.mojom.UnguessableToken embed_token;
20};
21
22