Chromium Code Reviews| 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", | |
|
Devlin
2016/09/06 23:04:54
nit: we don't need to line wrap these
Rahul Chaturvedi
2016/09/06 23:19:35
Done.
| |
| 36 "kiosk", | |
| 37 "public session"], | |
| 38 "description": "Current session type" | |
|
Devlin
2016/09/06 23:04:53
Can we describe the different values?
Rahul Chaturvedi
2016/09/06 23:19:35
I am not sure if adding a description here will co
Devlin
2016/09/07 16:12:28
What is a "normal" session? Signed-in? Not signe
Rahul Chaturvedi
2016/09/07 20:13:23
Aren't these things that we'd typically put in API
Devlin
2016/09/07 20:23:27
This is the API documentation. :) If we want to h
| |
| 39 }, | |
| 40 { | |
| 41 "id": "PlayStoreStatus", | |
| 42 "type": "string", | |
| 43 "enum": ["not available", | |
|
Devlin
2016/09/06 23:04:53
ditto re line wrapping
Rahul Chaturvedi
2016/09/06 23:19:35
Done.
| |
| 44 "available", | |
| 45 "enabled"], | |
| 46 "description": "Status of the play store" | |
|
Devlin
2016/09/06 23:04:53
ditto - esp given "available" and "enabled" sound
Rahul Chaturvedi
2016/09/06 23:19:35
Clarified the difference between available and ena
Devlin
2016/09/07 16:12:28
What is the play store in this context? Why would
Rahul Chaturvedi
2016/09/07 20:13:23
Same explanation as above.
| |
| 31 } | 47 } |
| 32 ], | 48 ], |
| 33 "functions": [ | 49 "functions": [ |
| 34 { | 50 { |
| 35 "name": "get", | 51 "name": "get", |
| 36 "description": "Fetches customization values for the given property name s. See property names in the declaration of the returned dictionary.", | 52 "description": "Fetches customization values for the given property name s. See property names in the declaration of the returned dictionary.", |
| 37 "type": "function", | 53 "type": "function", |
| 38 "parameters": [ | 54 "parameters": [ |
| 39 { | 55 { |
| 40 "name": "propertyNames", | 56 "name": "propertyNames", |
| 41 "type": "array", | 57 "type": "array", |
| 42 "description": "Chrome OS Property names", | 58 "description": "Chrome OS Property names", |
| 43 "items": {"type": "string"} | 59 "items": {"type": "string"} |
| 44 }, | 60 }, |
| 45 { | 61 { |
| 46 "name": "callback", | 62 "name": "callback", |
| 47 "type": "function", | 63 "type": "function", |
| 48 "parameters": [ | 64 "parameters": [ |
| 49 { | 65 { |
| 50 "name": "propertiesDictionary", | 66 "name": "propertiesDictionary", |
| 51 "type": "object", | 67 "type": "object", |
| 52 "description": "Dictionary which contains all requested properti es", | 68 "description": "Dictionary which contains all requested properti es", |
| 53 "properties": { | 69 "properties": { |
| 54 "board" : {"type": "string", "optional": true, "description": "Board name"}, | 70 "board" : {"type": "string", "optional": true, "description": "Board name"}, |
| 55 "customizationId": {"type": "string", "optional": true, "descr iption": "Customization ID"}, | 71 "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"}, | 72 "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"}, | 73 "hwid": {"type": "string", "optional": true, "description": "H ardware ID"}, |
| 58 "initialLocale" : {"type": "string", "optional": true, "descri ption": "Initial locale for the device"}, | 74 "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"}, | 75 "isOwner" : {"type": "boolean", "optional": true, "description ": "True if current logged in user is device owner"}, |
| 76 "sessionType": {"$ref": "SessionType", "optional": true}, | |
| 77 "playStoreStatus": {"$ref": "PlayStoreStatus", "optional": tru e}, | |
| 60 "clientId" : {"type": "string", "optional": true, "description ": "Device client id"}, | 78 "clientId" : {"type": "string", "optional": true, "description ": "Device client id"}, |
| 61 "timezone" : {"type": "string", "optional": true, "description ": "Timezone"}, | 79 "timezone" : {"type": "string", "optional": true, "description ": "Timezone"}, |
| 62 "a11yLargeCursorEnabled" : {"type": "boolean", "optional": tru e, "description": "If true, ChromeOS is showing enlarged cursor."}, | 80 "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."}, | 81 "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." }, | 82 "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."}, | 83 "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."}, | 84 "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."} , | 85 "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."}, | 86 "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."}, | 87 "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 { | 113 { |
| 96 "name": "propertyValue", | 114 "name": "propertyValue", |
| 97 "type": "any", | 115 "type": "any", |
| 98 "description": "Chrome OS system property value" | 116 "description": "Chrome OS system property value" |
| 99 } | 117 } |
| 100 ] | 118 ] |
| 101 } | 119 } |
| 102 ] | 120 ] |
| 103 } | 121 } |
| 104 ] | 122 ] |
| OLD | NEW |