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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/externs.js

Issue 2374573002: DevTools: remove extra indirections from how extension API is built (Closed)
Patch Set: pass null instead of -1 when tab is not defined Created 4 years, 2 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 | « third_party/WebKit/Source/devtools/front_end/extensions/ExtensionServer.js ('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 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 function Timeline() {} 293 function Timeline() {}
294 294
295 var extensionServer; 295 var extensionServer;
296 296
297 /** 297 /**
298 * @constructor 298 * @constructor
299 */ 299 */
300 function ExtensionDescriptor() { 300 function ExtensionDescriptor() {
301 this.startPage = ""; 301 this.startPage = "";
302 this.name = ""; 302 this.name = "";
303 this.exposeExperimentalAPIs = false;
303 } 304 }
304 305
305 /** 306 /**
306 * @constructor 307 * @constructor
307 */ 308 */
308 function ExtensionReloadOptions() { 309 function ExtensionReloadOptions() {
309 this.ignoreCache = false; 310 this.ignoreCache = false;
310 this.injectedScript = ""; 311 this.injectedScript = "";
311 this.userAgent = ""; 312 this.userAgent = "";
312 } 313 }
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after
770 /** @type {(string|!Array<!Gonzales.Node>)} */ 771 /** @type {(string|!Array<!Gonzales.Node>)} */
771 this.content; 772 this.content;
772 } 773 }
773 774
774 /** 775 /**
775 * @type {string} 776 * @type {string}
776 * @see http://heycam.github.io/webidl/#es-DOMException-prototype-object 777 * @see http://heycam.github.io/webidl/#es-DOMException-prototype-object
777 * TODO(jsbell): DOMException should be a subclass of Error. 778 * TODO(jsbell): DOMException should be a subclass of Error.
778 */ 779 */
779 DOMException.prototype.message; 780 DOMException.prototype.message;
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/extensions/ExtensionServer.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698