- add sources.
[platform/framework/web/crosswalk.git] / src / tools / json_schema_compiler / test / idl_object_types.idl
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Tests 'object' types in various places in IDL.
6
7 namespace idl_object_types {
8   dictionary FooType {
9     long x;
10     object y;
11     [instanceOf=Window]object z;
12   };
13
14   dictionary BarType {
15     any x;
16   };
17
18   interface Functions {
19     static void objectFunction1([instanceOf=ImageData]object icon);
20     static void objectFunction2(any some_arg);
21   };
22 };