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

Side by Side Diff: third_party/closure_compiler/externs/developer_private.js

Issue 1051273002: Update chrome://extensions for supervised users (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update test data Created 5 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 /** @fileoverview Externs generated from namespace: developerPrivate */ 5 /** @fileoverview Externs generated from namespace: developerPrivate */
6 6
7 /** 7 /**
8 * @const 8 * @const
9 */ 9 */
10 chrome.developerPrivate = {}; 10 chrome.developerPrivate = {};
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 * renderProcessId: number, 210 * renderProcessId: number,
211 * renderViewId: number, 211 * renderViewId: number,
212 * incognito: boolean, 212 * incognito: boolean,
213 * type: !chrome.developerPrivate.ViewType 213 * type: !chrome.developerPrivate.ViewType
214 * }} 214 * }}
215 * @see https://developer.chrome.com/extensions/developerPrivate#type-ExtensionV iew 215 * @see https://developer.chrome.com/extensions/developerPrivate#type-ExtensionV iew
216 */ 216 */
217 var ExtensionView; 217 var ExtensionView;
218 218
219 /** 219 /**
220 * @enum {string}
221 */
222 chrome.developerPrivate.ControllerType = {
223 POLICY: 'POLICY',
224 CHILD_CUSTODIAN: 'CHILD_CUSTODIAN',
225 SUPERVISED_USER_CUSTODIAN: 'SUPERVISED_USER_CUSTODIAN',
226 };
227
228 /**
229 * @typedef {{
230 * type: !chrome.developerPrivate.ControllerType,
231 * text: string
232 * }}
233 */
234 var ControlledInfo;
235
236 /**
220 * @typedef {{ 237 * @typedef {{
221 * actionButtonHidden: boolean, 238 * actionButtonHidden: boolean,
222 * blacklistText: (string|undefined), 239 * blacklistText: (string|undefined),
240 * controlledInfo: (ControlledInfo|undefined),
223 * dependentExtensions: !Array<string>, 241 * dependentExtensions: !Array<string>,
224 * description: string, 242 * description: string,
225 * disableReasons: DisableReasons, 243 * disableReasons: DisableReasons,
226 * errorCollection: AccessModifier, 244 * errorCollection: AccessModifier,
227 * fileAccess: AccessModifier, 245 * fileAccess: AccessModifier,
228 * homePage: HomePage, 246 * homePage: HomePage,
229 * iconUrl: string, 247 * iconUrl: string,
230 * id: string, 248 * id: string,
231 * incognitoAccess: AccessModifier, 249 * incognitoAccess: AccessModifier,
232 * installedByCustodian: boolean,
233 * installWarnings: !Array<string>, 250 * installWarnings: !Array<string>,
234 * launchUrl: (string|undefined), 251 * launchUrl: (string|undefined),
235 * location: !chrome.developerPrivate.Location, 252 * location: !chrome.developerPrivate.Location,
236 * locationText: (string|undefined), 253 * locationText: (string|undefined),
237 * manifestErrors: !Array<ManifestError>, 254 * manifestErrors: !Array<ManifestError>,
238 * mustRemainInstalled: boolean, 255 * mustRemainInstalled: boolean,
239 * name: string, 256 * name: string,
240 * offlineEnabled: boolean, 257 * offlineEnabled: boolean,
241 * optionsPage: (OptionsPage|undefined), 258 * optionsPage: (OptionsPage|undefined),
242 * path: (string|undefined), 259 * path: (string|undefined),
243 * policyText: (string|undefined),
244 * prettifiedPath: (string|undefined), 260 * prettifiedPath: (string|undefined),
245 * runOnAllUrls: AccessModifier, 261 * runOnAllUrls: AccessModifier,
246 * runtimeErrors: !Array<RuntimeError>, 262 * runtimeErrors: !Array<RuntimeError>,
247 * runtimeWarnings: !Array<string>, 263 * runtimeWarnings: !Array<string>,
248 * state: !chrome.developerPrivate.ExtensionState, 264 * state: !chrome.developerPrivate.ExtensionState,
249 * type: !chrome.developerPrivate.ExtensionType, 265 * type: !chrome.developerPrivate.ExtensionType,
250 * updateUrl: string, 266 * updateUrl: string,
251 * userMayModify: boolean, 267 * userMayModify: boolean,
252 * version: string, 268 * version: string,
253 * views: !Array<ExtensionView> 269 * views: !Array<ExtensionView>
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
690 * @see https://developer.chrome.com/extensions/developerPrivate#event-onItemSta teChanged 706 * @see https://developer.chrome.com/extensions/developerPrivate#event-onItemSta teChanged
691 */ 707 */
692 chrome.developerPrivate.onItemStateChanged; 708 chrome.developerPrivate.onItemStateChanged;
693 709
694 /** 710 /**
695 * Fired when the profile's state has changed. 711 * Fired when the profile's state has changed.
696 * @type {!ChromeEvent} 712 * @type {!ChromeEvent}
697 * @see https://developer.chrome.com/extensions/developerPrivate#event-onProfile StateChanged 713 * @see https://developer.chrome.com/extensions/developerPrivate#event-onProfile StateChanged
698 */ 714 */
699 chrome.developerPrivate.onProfileStateChanged; 715 chrome.developerPrivate.onProfileStateChanged;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698