// components/browser_apis/ui_controllers/toolbar/icon_handle.mojom-webui.ts is auto generated by mojom_bindings_generator.py, do not edit
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import { mojo } from '//resources/mojo/mojo/public/js/bindings.js';
import { SkColorSpec as skia_mojom_SkColorSpec } from '//resources/mojo/skia/public/mojom/skcolor.mojom-webui.js';
export const IconTypeSpec = { $: mojo.internal.Enum() };
export var IconType;
(function (IconType) {
    IconType[IconType["MIN_VALUE"] = 0] = "MIN_VALUE";
    IconType[IconType["MAX_VALUE"] = 2] = "MAX_VALUE";
    IconType[IconType["kIconSet"] = 0] = "kIconSet";
    IconType[IconType["kMaskUrl"] = 1] = "kMaskUrl";
    IconType[IconType["kFullColorUrl"] = 2] = "kFullColorUrl";
})(IconType || (IconType = {}));
export const IconHandleSpec = { $: {} };
export const IconUpdateSpec = { $: {} };
mojo.internal.Struct(IconHandleSpec.$, 'IconHandle', [
    mojo.internal.StructField('handleId', 0, 0, mojo.internal.Uint64, BigInt(0), false /* nullable */, 0, undefined, undefined),
], [[0, 16],]);
mojo.internal.Struct(IconUpdateSpec.$, 'IconUpdate', [
    mojo.internal.StructField('handleId', 0, 0, mojo.internal.Uint64, BigInt(0), false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('iconUrlOrName', 8, 0, mojo.internal.String, null, true /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('iconType', 16, 0, IconTypeSpec.$, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('color', 24, 0, skia_mojom_SkColorSpec.$, null, true /* nullable */, 0, undefined, undefined),
], [[0, 40],]);
