chromium/content/test/data/mojo_bindings_web_test_types.test-mojom

// 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.

module mojo_bindings_test.mojom;

struct TestStruct {
  enum StructEnum {
    kZero = 0,
    kOne  = 1,
  };

  const int32 kStructConst = 2;

  int32 x;
  int32 y = kStructConst;
  StructEnum z = StructEnum.kOne;
  const bool isValid = false;
};

union TestUnion {
  int32 x;
  TestStruct s;
};