huangcm
2025-08-30 0269911b91ed7e03c24005924cc6423abf245fb8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
 
library fuchsia.ui.views;
 
union Command {
  CreateViewCmd create_view;
  CreateViewHolderCmd create_view_holder;
 
  AddChildViewCmd add_child_view;
  RemoveChildViewCmd remove_child_view;
};
 
struct CreateViewCmd {
  uint32 id;
  handle<eventpair> token;
};
 
struct CreateViewHolderCmd {
  uint32 id;
  handle<eventpair> token;
};
 
struct AddChildViewCmd {
  uint32 view_id;
  uint32 view_holder_id;
};
 
struct RemoveChildViewCmd {
  uint32 view_id;
  uint32 view_holder_id;
};