Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1719)

Unified Diff: third_party/closure_compiler/externs/system_private.js

Issue 543863002: Typecheck chrome://bookmarks using Closure Compiler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@true_master
Patch Set: debug warns Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/closure_compiler/externs/system_private.js
diff --git a/third_party/closure_compiler/externs/system_private.js b/third_party/closure_compiler/externs/system_private.js
new file mode 100644
index 0000000000000000000000000000000000000000..0ea24761dbdc3f5814e23e4f7b24ab7e44004265
--- /dev/null
+++ b/third_party/closure_compiler/externs/system_private.js
@@ -0,0 +1,69 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+/** @fileoverview Externs generated from namespace: systemPrivate */
+
+/**
+ * Information about the system update.
+ * @typedef {{
+ * state: string,
+ * downloadProgress: number
+ * }}
+ */
+var UpdateStatus;
+
+/**
+ * Information about the volume.
+ * @typedef {{
+ * volume: number,
+ * isVolumeMuted: boolean
+ * }}
+ */
+var VolumeInfo;
+
+/**
+ * Information about a change to the screen brightness.
+ * @typedef {{
+ * brightness: number,
+ * userInitiated: boolean
+ * }}
+ */
+var BrightnessChangeInfo;
+
+/**
+ * @const
+ */
+chrome.systemPrivate = {};
+
+/**
+ * Returns whether the incognito mode is enabled, disabled or forced
+ * @param {Function} callback Called with the result.
+ */
+chrome.systemPrivate.getIncognitoModeAvailability = function(callback) {};
+
+/**
+ * Gets information about the system update.
+ * @param {Function} callback
+ */
+chrome.systemPrivate.getUpdateStatus = function(callback) {};
+
+/**
+ * Gets Chrome's API key to use for requests to Google services.
+ * @param {Function} callback
+ */
+chrome.systemPrivate.getApiKey = function(callback) {};
+
+/** @type {!ChromeEvent} */
+chrome.systemPrivate.onVolumeChanged;
+
+/** @type {!ChromeEvent} */
+chrome.systemPrivate.onBrightnessChanged;
+
+/** @type {!ChromeEvent} */
+chrome.systemPrivate.onScreenUnlocked;
+
+/** @type {!ChromeEvent} */
+chrome.systemPrivate.onWokeUp;
+
+

Powered by Google App Engine
This is Rietveld 408576698