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
3 // found in the LICENSE file.
7 "namespace": "systemPrivate",
13 "description": "Information about the system update.",
17 "enum": ["NotAvailable", "Updating", "NeedRestart"],
18 "description": "State of system update. NotAvailable when there is no available update or the update system is in error state, Updating when a system update is in progress, NeedRestart when a system update is finished and restart is needed."
22 "description": "Value between 0 and 1 describing the progress of system update download. This value will be set to 0 when |state| is NotAvailable, 1 when NeedRestart."
29 "description": "Information about the volume.",
31 "volume": {"type": "number", "description": "The value of the volume percent. This must be between 0.0 and 100.0."},
32 "isVolumeMuted": {"type": "boolean", "description": "True if the volume is muted."}
36 "id": "BrightnessChangeInfo",
38 "description": "Information about a change to the screen brightness.",
42 "description": "The value of the current screen brightness in percent, between 0.0 and 100.0."
46 "description": "Whether this change was initiated by user."
53 "name": "getIncognitoModeAvailability",
55 "description": "Returns whether the incognito mode is enabled, disabled or forced",
60 "description": "Called with the result.",
65 "enum": ["enabled", "disabled", "forced"],
66 "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)."
73 "name": "getUpdateStatus",
75 "description": "Gets information about the system update.",
82 "$ref": "UpdateStatus",
84 "description": "Details of the system update"
93 "description": "Gets Chrome's API key to use for requests to Google services.",
102 "description": "The API key."
111 "name": "onVolumeChanged",
113 "description": "Fired when the volume is changed.",
116 "$ref": "VolumeInfo",
118 "description": "Information about the current state of the system volume control, including whether it is muted."
123 "name": "onBrightnessChanged",
125 "description": "Fired when the screen brightness is changed.",
128 "$ref": "BrightnessChangeInfo",
129 "name": "brightness",
130 "description": "Information about a change to the screen brightness."
135 "name": "onScreenUnlocked",
137 "description": "Fired when the screen is unlocked.",
143 "description": "Fired when the device wakes up from sleep.",