| 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 28 matching lines...) Expand all Loading... |
| 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 }, | 43 }, |
| 44 { | 44 { |
| 45 "id": "ManagedDeviceStatus", | 45 "id": "ManagedDeviceStatus", |
| 46 "type": "string", | 46 "type": "string", |
| 47 "enum": ["managed", "not managed"], | 47 "enum": ["managed", "not managed"], |
| 48 "description": "Status of enterprise enrollment." | 48 "description": "Status of enterprise enrollment." |
| 49 }, |
| 50 { |
| 51 "id": "DeviceType", |
| 52 "type": "string", |
| 53 "enum": ["chromebase", "chromebit", "chromebook", "chromebox", "chromede
vice"], |
| 54 "description": "Device type." |
| 49 } | 55 } |
| 50 ], | 56 ], |
| 51 "functions": [ | 57 "functions": [ |
| 52 { | 58 { |
| 53 "name": "get", | 59 "name": "get", |
| 54 "description": "Fetches customization values for the given property name
s. See property names in the declaration of the returned dictionary.", | 60 "description": "Fetches customization values for the given property name
s. See property names in the declaration of the returned dictionary.", |
| 55 "type": "function", | 61 "type": "function", |
| 56 "parameters": [ | 62 "parameters": [ |
| 57 { | 63 { |
| 58 "name": "propertyNames", | 64 "name": "propertyNames", |
| (...skipping 12 matching lines...) Expand all Loading... |
| 71 "properties": { | 77 "properties": { |
| 72 "board" : {"type": "string", "optional": true, "description":
"Board name"}, | 78 "board" : {"type": "string", "optional": true, "description":
"Board name"}, |
| 73 "customizationId": {"type": "string", "optional": true, "descr
iption": "Customization ID"}, | 79 "customizationId": {"type": "string", "optional": true, "descr
iption": "Customization ID"}, |
| 74 "homeProvider" : {"type": "string", "optional": true, "descrip
tion": "Home provider which is used by the cellular device"}, | 80 "homeProvider" : {"type": "string", "optional": true, "descrip
tion": "Home provider which is used by the cellular device"}, |
| 75 "hwid": {"type": "string", "optional": true, "description": "H
ardware ID"}, | 81 "hwid": {"type": "string", "optional": true, "description": "H
ardware ID"}, |
| 76 "initialLocale" : {"type": "string", "optional": true, "descri
ption": "Initial locale for the device"}, | 82 "initialLocale" : {"type": "string", "optional": true, "descri
ption": "Initial locale for the device"}, |
| 77 "isOwner" : {"type": "boolean", "optional": true, "description
": "True if current logged in user is device owner"}, | 83 "isOwner" : {"type": "boolean", "optional": true, "description
": "True if current logged in user is device owner"}, |
| 78 "sessionType": {"$ref": "SessionType", "optional": true}, | 84 "sessionType": {"$ref": "SessionType", "optional": true}, |
| 79 "playStoreStatus": {"$ref": "PlayStoreStatus", "optional": tru
e}, | 85 "playStoreStatus": {"$ref": "PlayStoreStatus", "optional": tru
e}, |
| 80 "managedDeviceStatus": {"$ref": "ManagedDeviceStatus", "option
al": true}, | 86 "managedDeviceStatus": {"$ref": "ManagedDeviceStatus", "option
al": true}, |
| 87 "deviceType": {"$ref": "DeviceType", "optional": true}, |
| 81 "clientId" : {"type": "string", "optional": true, "description
": "Device client id"}, | 88 "clientId" : {"type": "string", "optional": true, "description
": "Device client id"}, |
| 82 "timezone" : {"type": "string", "optional": true, "description
": "Timezone"}, | 89 "timezone" : {"type": "string", "optional": true, "description
": "Timezone"}, |
| 83 "a11yLargeCursorEnabled" : {"type": "boolean", "optional": tru
e, "description": "If true, ChromeOS is showing enlarged cursor."}, | 90 "a11yLargeCursorEnabled" : {"type": "boolean", "optional": tru
e, "description": "If true, ChromeOS is showing enlarged cursor."}, |
| 84 "a11yStickyKeysEnabled" : {"type": "boolean", "optional": true
, "description": "If true, sticky keys are turned on."}, | 91 "a11yStickyKeysEnabled" : {"type": "boolean", "optional": true
, "description": "If true, sticky keys are turned on."}, |
| 85 "a11ySpokenFeedbackEnabled" : {"type": "boolean", "optional":
true, "description": "If enabled, ChromeOS text-to-speech feature is turned on."
}, | 92 "a11ySpokenFeedbackEnabled" : {"type": "boolean", "optional":
true, "description": "If enabled, ChromeOS text-to-speech feature is turned on."
}, |
| 86 "a11yHighContrastEnabled" : {"type": "boolean", "optional": tr
ue, "description": "If true, all displays have high contrast mode turned on."}, | 93 "a11yHighContrastEnabled" : {"type": "boolean", "optional": tr
ue, "description": "If true, all displays have high contrast mode turned on."}, |
| 87 "a11yScreenMagnifierEnabled" : {"type": "boolean", "optional":
true, "description": "If true, all displays have screen magnifier turned on."}, | 94 "a11yScreenMagnifierEnabled" : {"type": "boolean", "optional":
true, "description": "If true, all displays have screen magnifier turned on."}, |
| 88 "a11yAutoClickEnabled" : {"type": "boolean", "optional": true,
"description": "If true, auto mouse click accessibility feature is turned on."}
, | 95 "a11yAutoClickEnabled" : {"type": "boolean", "optional": true,
"description": "If true, auto mouse click accessibility feature is turned on."}
, |
| 89 "a11yVirtualKeyboardEnabled" : {"type": "boolean", "optional":
true, "description": "If true, virtual keyboard will be enabled."}, | 96 "a11yVirtualKeyboardEnabled" : {"type": "boolean", "optional":
true, "description": "If true, virtual keyboard will be enabled."}, |
| 90 "sendFunctionKeys" : {"type": "boolean", "optional": true, "de
scription": "If true, the ChromeOS top row keys send function keys."}, | 97 "sendFunctionKeys" : {"type": "boolean", "optional": true, "de
scription": "If true, the ChromeOS top row keys send function keys."}, |
| (...skipping 25 matching lines...) Expand all Loading... |
| 116 { | 123 { |
| 117 "name": "propertyValue", | 124 "name": "propertyValue", |
| 118 "type": "any", | 125 "type": "any", |
| 119 "description": "Chrome OS system property value" | 126 "description": "Chrome OS system property value" |
| 120 } | 127 } |
| 121 ] | 128 ] |
| 122 } | 129 } |
| 123 ] | 130 ] |
| 124 } | 131 } |
| 125 ] | 132 ] |
| OLD | NEW |