| Index: third_party/chrome/tools/test/idl_object_types.idl
|
| diff --git a/third_party/chrome/tools/test/idl_object_types.idl b/third_party/chrome/tools/test/idl_object_types.idl
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..fd416cedfe9a05aa1165bd072220043d21ca4640
|
| --- /dev/null
|
| +++ b/third_party/chrome/tools/test/idl_object_types.idl
|
| @@ -0,0 +1,22 @@
|
| +// Copyright (c) 2012 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.
|
| +
|
| +// Tests 'object' types in various places in IDL.
|
| +
|
| +namespace idl_object_types {
|
| + dictionary FooType {
|
| + long x;
|
| + object y;
|
| + [instanceOf=Window]object z;
|
| + };
|
| +
|
| + dictionary BarType {
|
| + any x;
|
| + };
|
| +
|
| + interface Functions {
|
| + static void objectFunction1([instanceOf=ImageData]object icon);
|
| + static void objectFunction2(any some_arg);
|
| + };
|
| +};
|
|
|