| 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 10 matching lines...) Expand all Loading... |
| 21 "a11yScreenMagnifierEnabled", | 21 "a11yScreenMagnifierEnabled", |
| 22 "a11yAutoClickEnabled", | 22 "a11yAutoClickEnabled", |
| 23 "a11yVirtualKeyboardEnabled", | 23 "a11yVirtualKeyboardEnabled", |
| 24 "a11yCaretHighlightEnabled", | 24 "a11yCaretHighlightEnabled", |
| 25 "a11yCursorHighlightEnabled", | 25 "a11yCursorHighlightEnabled", |
| 26 "a11yFocusHighlightEnabled", | 26 "a11yFocusHighlightEnabled", |
| 27 "a11ySelectToSpeakEnabled", | 27 "a11ySelectToSpeakEnabled", |
| 28 "a11ySwitchAccessEnabled", | 28 "a11ySwitchAccessEnabled", |
| 29 "sendFunctionKeys"], | 29 "sendFunctionKeys"], |
| 30 "description": "Chrome OS system property name" | 30 "description": "Chrome OS system property name" |
| 31 }, |
| 32 { |
| 33 "id": "SessionType", |
| 34 "type": "string", |
| 35 "enum": ["normal", "kiosk", "public session"], |
| 36 "description": "Current session type." |
| 37 }, |
| 38 { |
| 39 "id": "PlayStoreStatus", |
| 40 "type": "string", |
| 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." |
| 31 } | 43 } |
| 32 ], | 44 ], |
| 33 "functions": [ | 45 "functions": [ |
| 34 { | 46 { |
| 35 "name": "get", | 47 "name": "get", |
| 36 "description": "Fetches customization values for the given property name
s. See property names in the declaration of the returned dictionary.", | 48 "description": "Fetches customization values for the given property name
s. See property names in the declaration of the returned dictionary.", |
| 37 "type": "function", | 49 "type": "function", |
| 38 "parameters": [ | 50 "parameters": [ |
| 39 { | 51 { |
| 40 "name": "propertyNames", | 52 "name": "propertyNames", |
| 41 "type": "array", | 53 "type": "array", |
| 42 "description": "Chrome OS Property names", | 54 "description": "Chrome OS Property names", |
| 43 "items": {"type": "string"} | 55 "items": {"type": "string"} |
| 44 }, | 56 }, |
| 45 { | 57 { |
| 46 "name": "callback", | 58 "name": "callback", |
| 47 "type": "function", | 59 "type": "function", |
| 48 "parameters": [ | 60 "parameters": [ |
| 49 { | 61 { |
| 50 "name": "propertiesDictionary", | 62 "name": "propertiesDictionary", |
| 51 "type": "object", | 63 "type": "object", |
| 52 "description": "Dictionary which contains all requested properti
es", | 64 "description": "Dictionary which contains all requested properti
es", |
| 53 "properties": { | 65 "properties": { |
| 54 "board" : {"type": "string", "optional": true, "description":
"Board name"}, | 66 "board" : {"type": "string", "optional": true, "description":
"Board name"}, |
| 55 "customizationId": {"type": "string", "optional": true, "descr
iption": "Customization ID"}, | 67 "customizationId": {"type": "string", "optional": true, "descr
iption": "Customization ID"}, |
| 56 "homeProvider" : {"type": "string", "optional": true, "descrip
tion": "Home provider which is used by the cellular device"}, | 68 "homeProvider" : {"type": "string", "optional": true, "descrip
tion": "Home provider which is used by the cellular device"}, |
| 57 "hwid": {"type": "string", "optional": true, "description": "H
ardware ID"}, | 69 "hwid": {"type": "string", "optional": true, "description": "H
ardware ID"}, |
| 58 "initialLocale" : {"type": "string", "optional": true, "descri
ption": "Initial locale for the device"}, | 70 "initialLocale" : {"type": "string", "optional": true, "descri
ption": "Initial locale for the device"}, |
| 59 "isOwner" : {"type": "boolean", "optional": true, "description
": "True if current logged in user is device owner"}, | 71 "isOwner" : {"type": "boolean", "optional": true, "description
": "True if current logged in user is device owner"}, |
| 72 "sessionType": {"$ref": "SessionType", "optional": true}, |
| 73 "playStoreStatus": {"$ref": "PlayStoreStatus", "optional": tru
e}, |
| 60 "clientId" : {"type": "string", "optional": true, "description
": "Device client id"}, | 74 "clientId" : {"type": "string", "optional": true, "description
": "Device client id"}, |
| 61 "timezone" : {"type": "string", "optional": true, "description
": "Timezone"}, | 75 "timezone" : {"type": "string", "optional": true, "description
": "Timezone"}, |
| 62 "a11yLargeCursorEnabled" : {"type": "boolean", "optional": tru
e, "description": "If true, ChromeOS is showing enlarged cursor."}, | 76 "a11yLargeCursorEnabled" : {"type": "boolean", "optional": tru
e, "description": "If true, ChromeOS is showing enlarged cursor."}, |
| 63 "a11yStickyKeysEnabled" : {"type": "boolean", "optional": true
, "description": "If true, sticky keys are turned on."}, | 77 "a11yStickyKeysEnabled" : {"type": "boolean", "optional": true
, "description": "If true, sticky keys are turned on."}, |
| 64 "a11ySpokenFeedbackEnabled" : {"type": "boolean", "optional":
true, "description": "If enabled, ChromeOS text-to-speech feature is turned on."
}, | 78 "a11ySpokenFeedbackEnabled" : {"type": "boolean", "optional":
true, "description": "If enabled, ChromeOS text-to-speech feature is turned on."
}, |
| 65 "a11yHighContrastEnabled" : {"type": "boolean", "optional": tr
ue, "description": "If true, all displays have high contrast mode turned on."}, | 79 "a11yHighContrastEnabled" : {"type": "boolean", "optional": tr
ue, "description": "If true, all displays have high contrast mode turned on."}, |
| 66 "a11yScreenMagnifierEnabled" : {"type": "boolean", "optional":
true, "description": "If true, all displays have screen magnifier turned on."}, | 80 "a11yScreenMagnifierEnabled" : {"type": "boolean", "optional":
true, "description": "If true, all displays have screen magnifier turned on."}, |
| 67 "a11yAutoClickEnabled" : {"type": "boolean", "optional": true,
"description": "If true, auto mouse click accessibility feature is turned on."}
, | 81 "a11yAutoClickEnabled" : {"type": "boolean", "optional": true,
"description": "If true, auto mouse click accessibility feature is turned on."}
, |
| 68 "a11yVirtualKeyboardEnabled" : {"type": "boolean", "optional":
true, "description": "If true, virtual keyboard will be enabled."}, | 82 "a11yVirtualKeyboardEnabled" : {"type": "boolean", "optional":
true, "description": "If true, virtual keyboard will be enabled."}, |
| 69 "sendFunctionKeys" : {"type": "boolean", "optional": true, "de
scription": "If true, the ChromeOS top row keys send function keys."}, | 83 "sendFunctionKeys" : {"type": "boolean", "optional": true, "de
scription": "If true, the ChromeOS top row keys send function keys."}, |
| (...skipping 25 matching lines...) Expand all Loading... |
| 95 { | 109 { |
| 96 "name": "propertyValue", | 110 "name": "propertyValue", |
| 97 "type": "any", | 111 "type": "any", |
| 98 "description": "Chrome OS system property value" | 112 "description": "Chrome OS system property value" |
| 99 } | 113 } |
| 100 ] | 114 ] |
| 101 } | 115 } |
| 102 ] | 116 ] |
| 103 } | 117 } |
| 104 ] | 118 ] |
| OLD | NEW |