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": "idle", | 7 "namespace": "idle", |
8 "description": "Use the <code>chrome.idle</code> API to detect when the mach
ine's idle state changes.", | 8 "description": "Use the <code>chrome.idle</code> API to detect when the mach
ine's idle state changes.", |
| 9 "compiler_options": {"use_movable_types": true}, |
9 "types": [ | 10 "types": [ |
10 { | 11 { |
11 "id": "IdleState", | 12 "id": "IdleState", |
12 "type": "string", | 13 "type": "string", |
13 "enum": ["active", "idle", "locked"] | 14 "enum": ["active", "idle", "locked"] |
14 } | 15 } |
15 ], | 16 ], |
16 "functions": [ | 17 "functions": [ |
17 { | 18 { |
18 "name": "queryState", | 19 "name": "queryState", |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 "parameters": [ | 60 "parameters": [ |
60 { | 61 { |
61 "name": "newState", | 62 "name": "newState", |
62 "$ref": "IdleState" | 63 "$ref": "IdleState" |
63 } | 64 } |
64 ] | 65 ] |
65 } | 66 } |
66 ] | 67 ] |
67 } | 68 } |
68 ] | 69 ] |
OLD | NEW |