blob: 3fb8a7af94e6014e20e0a31e57a08146d7bc9dc6 [file] [log] [blame]
Doug Horn1427b6a2018-12-11 13:19:16 -08001// Copyright 2016 The Fuchsia 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
5library fuchsia.ui.viewsv1;
6
7// A view tree token is an opaque transferable reference to a view tree.
8//
9// The ViewManager provides each view tree with a unique view tree token when
10// it is registered. The token can subsequently be passed to other
11// applications and used as a way to refer to the tree.
12//
13// View tree tokens should be kept secret and should only be shared with
14// trusted services.
15//
16// TODO(jeffbrown): This implementation is a temporary placeholder until
17// we provide a way to create tokens which cannot be forged.
18struct ViewTreeToken {
19 uint32 value;
20};