You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
677 B
31 lines
677 B
// 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.test_structs"]
|
|
module mojo.test;
|
|
|
|
struct Rect {
|
|
int32 x;
|
|
int32 y;
|
|
int32 width;
|
|
int32 height;
|
|
};
|
|
|
|
// A copy of Rect that is typemapped differently in the chromium and blink
|
|
// variants.
|
|
struct TypemappedRect {
|
|
int32 x;
|
|
int32 y;
|
|
int32 width;
|
|
int32 height;
|
|
};
|
|
|
|
// A copy of Rect that is typemapped to the same custom type in the chromium and
|
|
// blink variants.
|
|
struct SharedTypemappedRect {
|
|
int32 x;
|
|
int32 y;
|
|
int32 width;
|
|
int32 height;
|
|
}; |