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

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

Issue 438333003: DevTools: use setImmediate instead of setTimeout for dispatching messages on devtools frontend in d… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed tests Created 6 years, 4 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 | Annotate | Revision Log
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 12 matching lines...) Expand all
23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 // WebKit Web Facing API 31 // WebKit Web Facing API
32 32
33 /**
34 * @param {!Object} object
35 * @param {!Function} callback
36 */
37 Object.observe = function(object, callback) {}
38
33 /** @type {boolean} */ 39 /** @type {boolean} */
34 Event.prototype.isMetaOrCtrlForTest; 40 Event.prototype.isMetaOrCtrlForTest;
35 41
36 /** 42 /**
37 * @type {number} 43 * @type {number}
38 */ 44 */
39 KeyboardEvent.DOM_KEY_LOCATION_NUMPAD; 45 KeyboardEvent.DOM_KEY_LOCATION_NUMPAD;
40 46
41 /** 47 /**
42 * @param {string} eventName 48 * @param {string} eventName
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after
447 * @constructor 453 * @constructor
448 * @extends {Event} 454 * @extends {Event}
449 */ 455 */
450 function ErrorEvent() {} 456 function ErrorEvent() {}
451 457
452 /** @type {string} */ 458 /** @type {string} */
453 ErrorEvent.prototype.message; 459 ErrorEvent.prototype.message;
454 460
455 /** @type {boolean} */ 461 /** @type {boolean} */
456 window.dispatchStandaloneTestRunnerMessages; 462 window.dispatchStandaloneTestRunnerMessages;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698