OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "namespace": "experimental.accessibility", | 3 "namespace": "experimental.accessibility", |
4 "nodoc": true, | 4 "nodoc": true, |
5 "types": [ | 5 "types": [ |
6 { | 6 { |
7 "id": "AccessibilityObject", | 7 "id": "AccessibilityObject", |
8 "type": "object", | 8 "type": "object", |
9 "description": "Parent class for accessibility information about an obje
ct.", | 9 "description": "Parent class for accessibility information about an obje
ct.", |
10 "properties": { | 10 "properties": { |
(...skipping 9092 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9103 } | 9103 } |
9104 ] | 9104 ] |
9105 } | 9105 } |
9106 ] | 9106 ] |
9107 } | 9107 } |
9108 ] | 9108 ] |
9109 }, | 9109 }, |
9110 { | 9110 { |
9111 "namespace": "systemPrivate", | 9111 "namespace": "systemPrivate", |
9112 "nodoc": true, | 9112 "nodoc": true, |
9113 "types": [], | 9113 "types": [ |
| 9114 { |
| 9115 "id": "UpdateStatus", |
| 9116 "type": "object", |
| 9117 "description": "Information about the system update.", |
| 9118 "properties": { |
| 9119 "state": { |
| 9120 "type": "string", |
| 9121 "enum": ["NotAvailable", "Updating", "NeedRestart"], |
| 9122 "description": "State of system update. NotAvailable when there is
no available update or the update system is in error state, Updating when a syst
em update is in progress, NeedRestart when a system update is finished and resta
rt is needed." |
| 9123 }, |
| 9124 "download_progress": { |
| 9125 "type": "number", |
| 9126 "description": "Value between 0 and 1 describing the progress of sys
tem update download. This value will be set to 0 when |state| is NotAvailable,
1 when NeedRestart." |
| 9127 } |
| 9128 } |
| 9129 } |
| 9130 ], |
9114 "functions": [ | 9131 "functions": [ |
9115 { | 9132 { |
9116 "name": "getIncognitoModeAvailability", | 9133 "name": "getIncognitoModeAvailability", |
9117 "type": "function", | 9134 "type": "function", |
9118 "description": "Returns whether the incognito mode is enabled, disabled
or forced", | 9135 "description": "Returns whether the incognito mode is enabled, disabled
or forced", |
9119 "parameters": [ | 9136 "parameters": [ |
9120 { | 9137 { |
9121 "name": "callback", | 9138 "name": "callback", |
9122 "type": "function", | 9139 "type": "function", |
9123 "description": "Called with the result.", | 9140 "description": "Called with the result.", |
9124 "parameters": [ | 9141 "parameters": [ |
9125 { | 9142 { |
9126 "name": "value", | 9143 "name": "value", |
9127 "type": "string", | 9144 "type": "string", |
9128 "enum": ["enabled", "disabled", "forced"], | 9145 "enum": ["enabled", "disabled", "forced"], |
9129 "description": "Exposes whether the incognito mode is available
to windows. One of 'enabled', 'disabled' (user cannot browse pages in Incognito
mode), 'forced' (all pages/sessions are forced into Incognito mode)." | 9146 "description": "Exposes whether the incognito mode is available
to windows. One of 'enabled', 'disabled' (user cannot browse pages in Incognito
mode), 'forced' (all pages/sessions are forced into Incognito mode)." |
9130 } | 9147 } |
9131 ] | 9148 ] |
9132 } | 9149 } |
9133 ] | 9150 ] |
| 9151 }, |
| 9152 { |
| 9153 "name": "getUpdateStatus", |
| 9154 "type": "function", |
| 9155 "description": "Gets information about the system update.", |
| 9156 "parameters": [ |
| 9157 { |
| 9158 "type": "function", |
| 9159 "name": "callback", |
| 9160 "parameters": [ |
| 9161 { |
| 9162 "$ref": "UpdateStatus", |
| 9163 "name": "status", |
| 9164 "description": "Details of the system update" |
| 9165 } |
| 9166 ] |
| 9167 } |
| 9168 ] |
9134 } | 9169 } |
9135 ] | 9170 ] |
9136 } | 9171 } |
9137 ] | 9172 ] |
OLD | NEW |