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": "chromeosInfoPrivate", | 7 "namespace": "chromeosInfoPrivate", |
8 "description": "none", | 8 "description": "none", |
9 "compiler_options": { | 9 "compiler_options": { |
10 "implemented_in": "chrome/browser/chromeos/extensions/info_private_api.h" | 10 "implemented_in": "chrome/browser/chromeos/extensions/info_private_api.h" |
11 }, | 11 }, |
| 12 "types": [ |
| 13 { |
| 14 "id": "PropertyName", |
| 15 "type": "string", |
| 16 "enum": ["timezone", |
| 17 "a11yLargeCursorEnabled", |
| 18 "a11yStickyKeysEnabled", |
| 19 "a11ySpokenFeedbackEnabled", |
| 20 "a11yHighContrastEnabled", |
| 21 "a11yScreenMagnifierEnabled", |
| 22 "a11yAutoClickEnabled", |
| 23 "a11yVirtualKeyboardEnabled", |
| 24 "sendFunctionKeys"], |
| 25 "description": "Chrome OS system property name" |
| 26 } |
| 27 ], |
12 "functions": [ | 28 "functions": [ |
13 { | 29 { |
14 "name": "get", | 30 "name": "get", |
15 "description": "Fetches customization values for the given property name
s. See property names in the declaration of the returned dictionary.", | 31 "description": "Fetches customization values for the given property name
s. See property names in the declaration of the returned dictionary.", |
16 "type": "function", | 32 "type": "function", |
17 "parameters": [ | 33 "parameters": [ |
18 { | 34 { |
19 "name": "propertyNames", | 35 "name": "propertyNames", |
20 "type": "array", | 36 "type": "array", |
21 "description": "Chrome OS Property names", | 37 "description": "Chrome OS Property names", |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 } | 77 } |
62 ] | 78 ] |
63 }, | 79 }, |
64 { | 80 { |
65 "name": "set", | 81 "name": "set", |
66 "description": "Sets values for the given system property.", | 82 "description": "Sets values for the given system property.", |
67 "type": "function", | 83 "type": "function", |
68 "parameters": [ | 84 "parameters": [ |
69 { | 85 { |
70 "name": "propertyName", | 86 "name": "propertyName", |
71 "type": "string", | 87 "$ref": "PropertyName", |
72 "enum": ["timezone", | |
73 "a11yLargeCursorEnabled", | |
74 "a11yStickyKeysEnabled", | |
75 "a11ySpokenFeedbackEnabled", | |
76 "a11yHighContrastEnabled", | |
77 "a11yScreenMagnifierEnabled", | |
78 "a11yAutoClickEnabled", | |
79 "a11yVirtualKeyboardEnabled", | |
80 "sendFunctionKeys"], | |
81 "description": "Chrome OS system property name" | 88 "description": "Chrome OS system property name" |
82 }, | 89 }, |
83 { | 90 { |
84 "name": "propertyValue", | 91 "name": "propertyValue", |
85 "type": "any", | 92 "type": "any", |
86 "description": "Chrome OS system property value" | 93 "description": "Chrome OS system property value" |
87 } | 94 } |
88 ] | 95 ] |
89 } | 96 } |
90 ] | 97 ] |
91 } | 98 } |
92 ] | 99 ] |
OLD | NEW |