OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 [ | 5 [ |
6 { | 6 { |
7 "namespace": "dependencyTester", | 7 "namespace": "dependencyTester", |
| 8 "description": "An API for testing dependencies.", |
8 "dependencies": [ "browserAction", "fontSettings" ], | 9 "dependencies": [ "browserAction", "fontSettings" ], |
9 "types": [], | 10 "types": [], |
10 "functions": [ | 11 "functions": [ |
11 { | 12 { |
12 "name": "setTitle", | 13 "name": "setTitle", |
13 "type": "function", | 14 "type": "function", |
14 "description": "hi", | 15 "description": "hi", |
15 "parameters": [ | 16 "parameters": [ |
16 { | 17 { |
17 "name": "details", | 18 "name": "details", |
18 "type": "object", | 19 "type": "object", |
19 "properties": { | 20 "properties": { |
20 "color": { | 21 "color": { |
21 "$ref": "browserAction.ColorArray" | 22 "$ref": "browserAction.ColorArray" |
22 }, | 23 }, |
23 "scriptCode": { | 24 "scriptCode": { |
24 "$ref": "fontSettings.FakeStringType" | 25 "$ref": "fontSettings.FakeStringType" |
25 } | 26 } |
26 } | 27 } |
27 } | 28 } |
28 ] | 29 ] |
29 } | 30 } |
30 ] | 31 ] |
31 } | 32 } |
32 ] | 33 ] |
OLD | NEW |