| // gpu/ipc/common/context_result.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 ContextResultSpec = { $: mojo.internal.Enum() }; |
| |
| /** |
| * @enum {number} |
| */ |
| export const ContextResult = { |
| |
| Success: 0, |
| TransientFailure: 1, |
| FatalFailure: 2, |
| SurfaceFailure: 3, |
| MIN_VALUE: 0, |
| MAX_VALUE: 3, |
| }; |
| |
| |
| |