| 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" |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 "id": "SessionType", | 33 "id": "SessionType", |
| 34 "type": "string", | 34 "type": "string", |
| 35 "enum": ["normal", "kiosk", "public session"], | 35 "enum": ["normal", "kiosk", "public session"], |
| 36 "description": "Current session type." | 36 "description": "Current session type." |
| 37 }, | 37 }, |
| 38 { | 38 { |
| 39 "id": "PlayStoreStatus", | 39 "id": "PlayStoreStatus", |
| 40 "type": "string", | 40 "type": "string", |
| 41 "enum": ["not available", "available", "enabled"], | 41 "enum": ["not available", "available", "enabled"], |
| 42 "description": "Status of the play store. Note: 'available' means that t
he device supports the playstore but it is not enabled." | 42 "description": "Status of the play store. Note: 'available' means that t
he device supports the playstore but it is not enabled." |
| 43 }, |
| 44 { |
| 45 "id": "ManagedDeviceStatus", |
| 46 "type": "string", |
| 47 "enum": ["managed", "not managed"], |
| 48 "description": "Status of enterprise enrollment." |
| 43 } | 49 } |
| 44 ], | 50 ], |
| 45 "functions": [ | 51 "functions": [ |
| 46 { | 52 { |
| 47 "name": "get", | 53 "name": "get", |
| 48 "description": "Fetches customization values for the given property name
s. See property names in the declaration of the returned dictionary.", | 54 "description": "Fetches customization values for the given property name
s. See property names in the declaration of the returned dictionary.", |
| 49 "type": "function", | 55 "type": "function", |
| 50 "parameters": [ | 56 "parameters": [ |
| 51 { | 57 { |
| 52 "name": "propertyNames", | 58 "name": "propertyNames", |
| (...skipping 11 matching lines...) Expand all Loading... |
| 64 "description": "Dictionary which contains all requested properti
es", | 70 "description": "Dictionary which contains all requested properti
es", |
| 65 "properties": { | 71 "properties": { |
| 66 "board" : {"type": "string", "optional": true, "description":
"Board name"}, | 72 "board" : {"type": "string", "optional": true, "description":
"Board name"}, |
| 67 "customizationId": {"type": "string", "optional": true, "descr
iption": "Customization ID"}, | 73 "customizationId": {"type": "string", "optional": true, "descr
iption": "Customization ID"}, |
| 68 "homeProvider" : {"type": "string", "optional": true, "descrip
tion": "Home provider which is used by the cellular device"}, | 74 "homeProvider" : {"type": "string", "optional": true, "descrip
tion": "Home provider which is used by the cellular device"}, |
| 69 "hwid": {"type": "string", "optional": true, "description": "H
ardware ID"}, | 75 "hwid": {"type": "string", "optional": true, "description": "H
ardware ID"}, |
| 70 "initialLocale" : {"type": "string", "optional": true, "descri
ption": "Initial locale for the device"}, | 76 "initialLocale" : {"type": "string", "optional": true, "descri
ption": "Initial locale for the device"}, |
| 71 "isOwner" : {"type": "boolean", "optional": true, "description
": "True if current logged in user is device owner"}, | 77 "isOwner" : {"type": "boolean", "optional": true, "description
": "True if current logged in user is device owner"}, |
| 72 "sessionType": {"$ref": "SessionType", "optional": true}, | 78 "sessionType": {"$ref": "SessionType", "optional": true}, |
| 73 "playStoreStatus": {"$ref": "PlayStoreStatus", "optional": tru
e}, | 79 "playStoreStatus": {"$ref": "PlayStoreStatus", "optional": tru
e}, |
| 80 "managedDeviceStatus": {"$ref": "ManagedDeviceStatus", "option
al": true}, |
| 74 "clientId" : {"type": "string", "optional": true, "description
": "Device client id"}, | 81 "clientId" : {"type": "string", "optional": true, "description
": "Device client id"}, |
| 75 "timezone" : {"type": "string", "optional": true, "description
": "Timezone"}, | 82 "timezone" : {"type": "string", "optional": true, "description
": "Timezone"}, |
| 76 "a11yLargeCursorEnabled" : {"type": "boolean", "optional": tru
e, "description": "If true, ChromeOS is showing enlarged cursor."}, | 83 "a11yLargeCursorEnabled" : {"type": "boolean", "optional": tru
e, "description": "If true, ChromeOS is showing enlarged cursor."}, |
| 77 "a11yStickyKeysEnabled" : {"type": "boolean", "optional": true
, "description": "If true, sticky keys are turned on."}, | 84 "a11yStickyKeysEnabled" : {"type": "boolean", "optional": true
, "description": "If true, sticky keys are turned on."}, |
| 78 "a11ySpokenFeedbackEnabled" : {"type": "boolean", "optional":
true, "description": "If enabled, ChromeOS text-to-speech feature is turned on."
}, | 85 "a11ySpokenFeedbackEnabled" : {"type": "boolean", "optional":
true, "description": "If enabled, ChromeOS text-to-speech feature is turned on."
}, |
| 79 "a11yHighContrastEnabled" : {"type": "boolean", "optional": tr
ue, "description": "If true, all displays have high contrast mode turned on."}, | 86 "a11yHighContrastEnabled" : {"type": "boolean", "optional": tr
ue, "description": "If true, all displays have high contrast mode turned on."}, |
| 80 "a11yScreenMagnifierEnabled" : {"type": "boolean", "optional":
true, "description": "If true, all displays have screen magnifier turned on."}, | 87 "a11yScreenMagnifierEnabled" : {"type": "boolean", "optional":
true, "description": "If true, all displays have screen magnifier turned on."}, |
| 81 "a11yAutoClickEnabled" : {"type": "boolean", "optional": true,
"description": "If true, auto mouse click accessibility feature is turned on."}
, | 88 "a11yAutoClickEnabled" : {"type": "boolean", "optional": true,
"description": "If true, auto mouse click accessibility feature is turned on."}
, |
| 82 "a11yVirtualKeyboardEnabled" : {"type": "boolean", "optional":
true, "description": "If true, virtual keyboard will be enabled."}, | 89 "a11yVirtualKeyboardEnabled" : {"type": "boolean", "optional":
true, "description": "If true, virtual keyboard will be enabled."}, |
| 83 "sendFunctionKeys" : {"type": "boolean", "optional": true, "de
scription": "If true, the ChromeOS top row keys send function keys."}, | 90 "sendFunctionKeys" : {"type": "boolean", "optional": true, "de
scription": "If true, the ChromeOS top row keys send function keys."}, |
| (...skipping 25 matching lines...) Expand all Loading... |
| 109 { | 116 { |
| 110 "name": "propertyValue", | 117 "name": "propertyValue", |
| 111 "type": "any", | 118 "type": "any", |
| 112 "description": "Chrome OS system property value" | 119 "description": "Chrome OS system property value" |
| 113 } | 120 } |
| 114 ] | 121 ] |
| 115 } | 122 } |
| 116 ] | 123 ] |
| 117 } | 124 } |
| 118 ] | 125 ] |
| OLD | NEW |