blob: 7f6bcadf456ed6d44444624b3510dc7968937a4e [file] [log] [blame]
// 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.
import "sample_import.mojom"
[JavaPackage="org.chromium.mojo.bindings.test.imported"]
module imported {
// 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 {
COLOR_RED,
COLOR_BLACK,
};
struct Size {
int32 width;
int32 height;
};
struct Thing {
imported.Shape shape = SHAPE_RECTANGLE;
int32 color = COLOR_BLACK;
Point location;
Size size;
};
} // module imported