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

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: 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
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 // typedef {string} for idl enums. 8 // typedef {string} for idl enums.
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 * @typedef {string} 92 * @typedef {string}
86 */ 93 */
87 var PackStatus; 94 var PackStatus;
88 95
89 /** 96 /**
90 * @typedef {string} 97 * @typedef {string}
91 */ 98 */
92 var FileType; 99 var FileType;
93 100
94 /** 101 /**
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 * Allows / Disallows an extension to run in incognito mode. 231 * Allows / Disallows an extension to run in incognito mode.
225 * @param {string} extensionId The id of the extension. 232 * @param {string} extensionId The id of the extension.
226 * @param {boolean} allow Whether or not the extension should be allowed 233 * @param {boolean} allow Whether or not the extension should be allowed
227 * incognito. 234 * incognito.
228 * @param {Function=} callback 235 * @param {Function=} callback
229 */ 236 */
230 chrome.developerPrivate.allowIncognito = function(extensionId, allow, callback) {}; 237 chrome.developerPrivate.allowIncognito = function(extensionId, allow, callback) {};
231 238
232 /** 239 /**
233 * Loads a user-selected unpacked item. 240 * Loads a user-selected unpacked item.
241 * @param {LoadUnpackedOptions=} options Additional configuration parameters.
234 * @param {Function=} callback 242 * @param {Function=} callback
235 */ 243 */
236 chrome.developerPrivate.loadUnpacked = function(callback) {}; 244 chrome.developerPrivate.loadUnpacked = function(options, callback) {};
237 245
238 /** 246 /**
239 * Loads an extension / app. 247 * Loads an extension / app.
240 * @param {Object} directory The directory to load the extension from. 248 * @param {Object} directory The directory to load the extension from.
241 * @param {Function} callback 249 * @param {Function} callback
242 */ 250 */
243 chrome.developerPrivate.loadDirectory = function(directory, callback) {}; 251 chrome.developerPrivate.loadDirectory = function(directory, callback) {};
244 252
245 /** 253 /**
246 * Open Dialog to browse to an entry. 254 * Open Dialog to browse to an entry.
(...skipping 30 matching lines...) Expand all
277 chrome.developerPrivate.requestFileSource = function(properties, callback) {}; 285 chrome.developerPrivate.requestFileSource = function(properties, callback) {};
278 286
279 /** 287 /**
280 * Open the developer tools to focus on a particular error. 288 * Open the developer tools to focus on a particular error.
281 * @param {OpenDevToolsProperties} properties 289 * @param {OpenDevToolsProperties} properties
282 */ 290 */
283 chrome.developerPrivate.openDevTools = function(properties) {}; 291 chrome.developerPrivate.openDevTools = function(properties) {};
284 292
285 /** @type {!ChromeEvent} */ 293 /** @type {!ChromeEvent} */
286 chrome.developerPrivate.onItemStateChanged; 294 chrome.developerPrivate.onItemStateChanged;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698