| // gpu/ipc/common/mailbox.mojom.m.js is auto generated by mojom_bindings_generator.py, do not edit |
| |
| // Copyright 2020 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. |
| |
| import {mojo} from '../../../mojo/public/js/bindings.js'; |
| |
| |
| |
| /** |
| * @const { {$:!mojo.internal.MojomType}} |
| */ |
| export const MailboxSpec = |
| { $: /** @type {!mojo.internal.MojomType} */ ({}) }; |
| |
| |
| |
| |
| mojo.internal.Struct( |
| MailboxSpec.$, |
| 'Mailbox', |
| [ |
| mojo.internal.StructField( |
| 'name', 0, |
| 0, |
| mojo.internal.Array(mojo.internal.Int8, false), |
| null, |
| false /* nullable */, |
| 0), |
| ], |
| [[0, 16],]); |
| |
| |
| |
| /** |
| * @record |
| */ |
| export class Mailbox { |
| constructor() { |
| /** @type { !Array<!number> } */ |
| this.name; |
| } |
| } |
| |