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": "systemPrivate", | 7 "namespace": "systemPrivate", |
8 "description": "none", | 8 "description": "none", |
9 "types": [ | 9 "types": [ |
10 { | 10 { |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 "name": "callback", | 79 "name": "callback", |
80 "parameters": [ | 80 "parameters": [ |
81 { | 81 { |
82 "$ref": "UpdateStatus", | 82 "$ref": "UpdateStatus", |
83 "name": "status", | 83 "name": "status", |
84 "description": "Details of the system update" | 84 "description": "Details of the system update" |
85 } | 85 } |
86 ] | 86 ] |
87 } | 87 } |
88 ] | 88 ] |
89 }, | |
90 { | |
91 "name": "getApiKey", | |
92 "type": "function", | |
93 "description": "Gets Chrome's API key to use for requests to Google serv
ices.", | |
94 "parameters": [ | |
95 { | |
96 "type": "function", | |
97 "name": "callback", | |
98 "parameters": [ | |
99 { | |
100 "name": "key", | |
101 "type": "string", | |
102 "description": "The API key." | |
103 } | |
104 ] | |
105 } | |
106 ] | |
107 } | 89 } |
108 ], | 90 ], |
109 "events": [ | 91 "events": [ |
110 { | 92 { |
111 "name": "onVolumeChanged", | 93 "name": "onVolumeChanged", |
112 "type": "function", | 94 "type": "function", |
113 "description": "Fired when the volume is changed.", | 95 "description": "Fired when the volume is changed.", |
114 "parameters": [ | 96 "parameters": [ |
115 { | 97 { |
116 "$ref": "VolumeInfo", | 98 "$ref": "VolumeInfo", |
(...skipping 22 matching lines...) Expand all Loading... |
139 }, | 121 }, |
140 { | 122 { |
141 "name": "onWokeUp", | 123 "name": "onWokeUp", |
142 "type": "function", | 124 "type": "function", |
143 "description": "Fired when the device wakes up from sleep.", | 125 "description": "Fired when the device wakes up from sleep.", |
144 "parameters": [] | 126 "parameters": [] |
145 } | 127 } |
146 ] | 128 ] |
147 } | 129 } |
148 ] | 130 ] |
OLD | NEW |