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

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

Issue 1016413004: [Extensions] Update Error Console UI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 */ 129 */
130 var StackFrame; 130 var StackFrame;
131 131
132 /** 132 /**
133 * @typedef {{ 133 * @typedef {{
134 * type: !chrome.developerPrivate.ErrorType, 134 * type: !chrome.developerPrivate.ErrorType,
135 * extensionId: string, 135 * extensionId: string,
136 * fromIncognito: boolean, 136 * fromIncognito: boolean,
137 * source: string, 137 * source: string,
138 * message: string, 138 * message: string,
139 * id: number,
139 * manifestKey: string, 140 * manifestKey: string,
140 * manifestSpecific: (string|undefined) 141 * manifestSpecific: (string|undefined)
141 * }} 142 * }}
142 */ 143 */
143 var ManifestError; 144 var ManifestError;
144 145
145 /** 146 /**
146 * @typedef {{ 147 * @typedef {{
147 * type: !chrome.developerPrivate.ErrorType, 148 * type: !chrome.developerPrivate.ErrorType,
148 * extensionId: string, 149 * extensionId: string,
149 * fromIncognito: boolean, 150 * fromIncognito: boolean,
150 * source: string, 151 * source: string,
151 * message: string, 152 * message: string,
153 * id: number,
152 * severity: !chrome.developerPrivate.ErrorLevel, 154 * severity: !chrome.developerPrivate.ErrorLevel,
153 * contextUrl: string, 155 * contextUrl: string,
154 * occurrences: number, 156 * occurrences: number,
155 * renderViewId: number, 157 * renderViewId: number,
156 * renderProcessId: number, 158 * renderProcessId: number,
157 * canInspect: boolean, 159 * canInspect: boolean,
158 * stackTrace: !Array<StackFrame> 160 * stackTrace: !Array<StackFrame>
159 * }} 161 * }}
160 */ 162 */
161 var RuntimeError; 163 var RuntimeError;
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 * @enum {string} 333 * @enum {string}
332 */ 334 */
333 chrome.developerPrivate.EventType = { 335 chrome.developerPrivate.EventType = {
334 INSTALLED: 'INSTALLED', 336 INSTALLED: 'INSTALLED',
335 UNINSTALLED: 'UNINSTALLED', 337 UNINSTALLED: 'UNINSTALLED',
336 LOADED: 'LOADED', 338 LOADED: 'LOADED',
337 UNLOADED: 'UNLOADED', 339 UNLOADED: 'UNLOADED',
338 VIEW_REGISTERED: 'VIEW_REGISTERED', 340 VIEW_REGISTERED: 'VIEW_REGISTERED',
339 VIEW_UNREGISTERED: 'VIEW_UNREGISTERED', 341 VIEW_UNREGISTERED: 'VIEW_UNREGISTERED',
340 ERROR_ADDED: 'ERROR_ADDED', 342 ERROR_ADDED: 'ERROR_ADDED',
343 ERRORS_REMOVED: 'ERRORS_REMOVED',
341 }; 344 };
342 345
343 /** 346 /**
344 * @typedef {{ 347 * @typedef {{
345 * message: string, 348 * message: string,
346 * item_path: string, 349 * item_path: string,
347 * pem_path: string, 350 * pem_path: string,
348 * override_flags: number, 351 * override_flags: number,
349 * status: !chrome.developerPrivate.PackStatus 352 * status: !chrome.developerPrivate.PackStatus
350 * }} 353 * }}
351 */ 354 */
352 var PackDirectoryResponse; 355 var PackDirectoryResponse;
353 356
354 /** 357 /**
355 * @typedef {{ 358 * @typedef {{
356 * name: string 359 * name: string
357 * }} 360 * }}
358 */ 361 */
359 var ProjectInfo; 362 var ProjectInfo;
360 363
361 /** 364 /**
362 * @typedef {{ 365 * @typedef {{
363 * event_type: !chrome.developerPrivate.EventType, 366 * event_type: !chrome.developerPrivate.EventType,
364 * item_id: string 367 * item_id: string,
368 * info: (ExtensionInfo|undefined)
365 * }} 369 * }}
366 */ 370 */
367 var EventData; 371 var EventData;
368 372
369 /** 373 /**
370 * @typedef {{ 374 * @typedef {{
371 * extensionId: string, 375 * extensionId: string,
372 * pathSuffix: string, 376 * pathSuffix: string,
373 * message: string, 377 * message: string,
374 * manifestKey: (string|undefined), 378 * manifestKey: (string|undefined),
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
557 561
558 /** 562 /**
559 * @param {InspectOptions} options 563 * @param {InspectOptions} options
560 * @param {function():void=} callback 564 * @param {function():void=} callback
561 * @deprecated Use openDevTools 565 * @deprecated Use openDevTools
562 */ 566 */
563 chrome.developerPrivate.inspect = function(options, callback) {}; 567 chrome.developerPrivate.inspect = function(options, callback) {};
564 568
565 /** @type {!ChromeEvent} */ 569 /** @type {!ChromeEvent} */
566 chrome.developerPrivate.onItemStateChanged; 570 chrome.developerPrivate.onItemStateChanged;
OLDNEW
« extensions/browser/error_map.h ('K') | « extensions/browser/error_map_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698