mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 22:36:09 +03:00
29 lines
670 B
Plaintext
29 lines
670 B
Plaintext
// Copyright 2014 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.
|
|
|
|
[JavaPackage="org.chromium.mojo.bindings.test.mojom.imported"]
|
|
module imported;
|
|
|
|
import "mojo/public/interfaces/bindings/tests/sample_import.mojom";
|
|
|
|
// This sample adds more types and constants to the "imported" namespace,
|
|
// to test a bug with importing multiple modules with the same namespace.
|
|
|
|
enum Color {
|
|
RED,
|
|
BLACK,
|
|
};
|
|
|
|
struct Size {
|
|
int32 width;
|
|
int32 height;
|
|
};
|
|
|
|
struct Thing {
|
|
imported.Shape shape = RECTANGLE;
|
|
imported.Color color = Color.BLACK;
|
|
Point location;
|
|
Size size;
|
|
};
|