Delete chrome.mediaGalleriesPrivate because the functionality unique to it has since...
[chromium-blink-merge.git] / third_party / closure_compiler / externs / system_private.js
blob0ea24761dbdc3f5814e23e4f7b24ab7e44004265
1 // Copyright 2014 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.
5 /** @fileoverview Externs generated from namespace: systemPrivate */
7 /**
8 * Information about the system update.
9 * @typedef {{
10 * state: string,
11 * downloadProgress: number
12 * }}
14 var UpdateStatus;
16 /**
17 * Information about the volume.
18 * @typedef {{
19 * volume: number,
20 * isVolumeMuted: boolean
21 * }}
23 var VolumeInfo;
25 /**
26 * Information about a change to the screen brightness.
27 * @typedef {{
28 * brightness: number,
29 * userInitiated: boolean
30 * }}
32 var BrightnessChangeInfo;
34 /**
35 * @const
37 chrome.systemPrivate = {};
39 /**
40 * Returns whether the incognito mode is enabled, disabled or forced
41 * @param {Function} callback Called with the result.
43 chrome.systemPrivate.getIncognitoModeAvailability = function(callback) {};
45 /**
46 * Gets information about the system update.
47 * @param {Function} callback
49 chrome.systemPrivate.getUpdateStatus = function(callback) {};
51 /**
52 * Gets Chrome's API key to use for requests to Google services.
53 * @param {Function} callback
55 chrome.systemPrivate.getApiKey = function(callback) {};
57 /** @type {!ChromeEvent} */
58 chrome.systemPrivate.onVolumeChanged;
60 /** @type {!ChromeEvent} */
61 chrome.systemPrivate.onBrightnessChanged;
63 /** @type {!ChromeEvent} */
64 chrome.systemPrivate.onScreenUnlocked;
66 /** @type {!ChromeEvent} */
67 chrome.systemPrivate.onWokeUp;