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

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

Issue 979453002: [Extensions] Make chrome://extensions use developerPrivate for unpacked loading (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments Created 5 years, 9 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
« no previous file with comments | « chrome/common/extensions/api/developer_private.idl ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // Note: hand-modified to change Array to !Array in ItemInfo typedef, and add 7 // Note: hand-modified to change Array to !Array in ItemInfo typedef, and add
8 // enum definitions. 8 // enum definitions.
9 9
10 /** 10 /**
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 * extension_id: string, 69 * extension_id: string,
70 * render_process_id: string, 70 * render_process_id: string,
71 * render_view_id: string, 71 * render_view_id: string,
72 * incognito: boolean 72 * incognito: boolean
73 * }} 73 * }}
74 */ 74 */
75 var InspectOptions; 75 var InspectOptions;
76 76
77 /** 77 /**
78 * @typedef {{ 78 * @typedef {{
79 * failQuietly: boolean 79 * failQuietly: (boolean|undefined)
80 * }} 80 * }}
81 */ 81 */
82 var ReloadOptions; 82 var ReloadOptions;
83 83
84 /** 84 /**
85 * @typedef {{
86 * failQuietly: (boolean|undefined)
87 * }}
88 */
89 var LoadUnpackedOptions;
90
91 /**
85 * @enum {string} 92 * @enum {string}
86 */ 93 */
87 chrome.developerPrivate.PackStatus = { 94 chrome.developerPrivate.PackStatus = {
88 SUCCESS: 'SUCCESS', 95 SUCCESS: 'SUCCESS',
89 ERROR: 'ERROR', 96 ERROR: 'ERROR',
90 WARNING: 'WARNING', 97 WARNING: 'WARNING',
91 }; 98 };
92 99
93 /** 100 /**
94 * @enum {string} 101 * @enum {string}
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 * Allows / Disallows an extension to run in incognito mode. 251 * Allows / Disallows an extension to run in incognito mode.
245 * @param {string} extensionId The id of the extension. 252 * @param {string} extensionId The id of the extension.
246 * @param {boolean} allow Whether or not the extension should be allowed 253 * @param {boolean} allow Whether or not the extension should be allowed
247 * incognito. 254 * incognito.
248 * @param {Function=} callback 255 * @param {Function=} callback
249 */ 256 */
250 chrome.developerPrivate.allowIncognito = function(extensionId, allow, callback) {}; 257 chrome.developerPrivate.allowIncognito = function(extensionId, allow, callback) {};
251 258
252 /** 259 /**
253 * Loads a user-selected unpacked item. 260 * Loads a user-selected unpacked item.
261 * @param {LoadUnpackedOptions=} options Additional configuration parameters.
254 * @param {Function=} callback 262 * @param {Function=} callback
255 */ 263 */
256 chrome.developerPrivate.loadUnpacked = function(callback) {}; 264 chrome.developerPrivate.loadUnpacked = function(options, callback) {};
257 265
258 /** 266 /**
259 * Loads an extension / app. 267 * Loads an extension / app.
260 * @param {Object} directory The directory to load the extension from. 268 * @param {Object} directory The directory to load the extension from.
261 * @param {Function} callback 269 * @param {Function} callback
262 */ 270 */
263 chrome.developerPrivate.loadDirectory = function(directory, callback) {}; 271 chrome.developerPrivate.loadDirectory = function(directory, callback) {};
264 272
265 /** 273 /**
266 * Open Dialog to browse to an entry. 274 * Open Dialog to browse to an entry.
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 chrome.developerPrivate.requestFileSource = function(properties, callback) {}; 307 chrome.developerPrivate.requestFileSource = function(properties, callback) {};
300 308
301 /** 309 /**
302 * Open the developer tools to focus on a particular error. 310 * Open the developer tools to focus on a particular error.
303 * @param {OpenDevToolsProperties} properties 311 * @param {OpenDevToolsProperties} properties
304 */ 312 */
305 chrome.developerPrivate.openDevTools = function(properties) {}; 313 chrome.developerPrivate.openDevTools = function(properties) {};
306 314
307 /** @type {!ChromeEvent} */ 315 /** @type {!ChromeEvent} */
308 chrome.developerPrivate.onItemStateChanged; 316 chrome.developerPrivate.onItemStateChanged;
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/developer_private.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698