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

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

Issue 2772643002: DevTools: Changes View (Closed)
Patch Set: fix test Created 3 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 /* 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 518 matching lines...) Expand 10 before | Expand all | Expand 10 after
529 /** @type {!Object} */ 529 /** @type {!Object} */
530 CodeMirror.Pass; 530 CodeMirror.Pass;
531 CodeMirror.showHint = function(codeMirror, hintintFunction) {}; 531 CodeMirror.showHint = function(codeMirror, hintintFunction) {};
532 CodeMirror.commands = {}; 532 CodeMirror.commands = {};
533 CodeMirror.modes = {}; 533 CodeMirror.modes = {};
534 CodeMirror.mimeModes = {}; 534 CodeMirror.mimeModes = {};
535 CodeMirror.getMode = function(options, spec) {}; 535 CodeMirror.getMode = function(options, spec) {};
536 CodeMirror.overlayMode = function(mode1, mode2, squashSpans) {}; 536 CodeMirror.overlayMode = function(mode1, mode2, squashSpans) {};
537 CodeMirror.defineMode = function(modeName, modeConstructor) {}; 537 CodeMirror.defineMode = function(modeName, modeConstructor) {};
538 CodeMirror.startState = function(mode) {}; 538 CodeMirror.startState = function(mode) {};
539 CodeMirror.copyState = function(mode, state) {};
539 540
540 /** @typedef {{canceled: boolean, from: !CodeMirror.Pos, to: !CodeMirror.Pos, te xt: string, origin: string, cancel: function()}} */ 541 /** @typedef {{canceled: boolean, from: !CodeMirror.Pos, to: !CodeMirror.Pos, te xt: string, origin: string, cancel: function()}} */
541 CodeMirror.BeforeChangeObject; 542 CodeMirror.BeforeChangeObject;
542 543
543 /** @typedef {{from: !CodeMirror.Pos, to: !CodeMirror.Pos, origin: string, text: !Array.<string>, removed: !Array.<string>}} */ 544 /** @typedef {{from: !CodeMirror.Pos, to: !CodeMirror.Pos, origin: string, text: !Array.<string>, removed: !Array.<string>}} */
544 CodeMirror.ChangeObject; 545 CodeMirror.ChangeObject;
545 546
546 /** @constructor */ 547 /** @constructor */
547 CodeMirror.Pos = function(line, ch) {}; 548 CodeMirror.Pos = function(line, ch) {};
548 /** @type {number} */ 549 /** @type {number} */
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
597 CodeMirror.LineWidget.prototype = { 598 CodeMirror.LineWidget.prototype = {
598 clear: function() {} 599 clear: function() {}
599 }; 600 };
600 601
601 /** @type {Object.<string, !Object.<string, string>>} */ 602 /** @type {Object.<string, !Object.<string, string>>} */
602 CodeMirror.keyMap; 603 CodeMirror.keyMap;
603 604
604 /** @type {{scrollLeft: number, scrollTop: number}} */ 605 /** @type {{scrollLeft: number, scrollTop: number}} */
605 CodeMirror.doc; 606 CodeMirror.doc;
606 607
608 /**
609 * @param {string} mime
610 * @param {string} mode
611 */
612 CodeMirror.defineMIME = function(mime, mode) {};
613
607 /** @type {boolean} */ 614 /** @type {boolean} */
608 window.dispatchStandaloneTestRunnerMessages; 615 window.dispatchStandaloneTestRunnerMessages;
609 616
610 /** 617 /**
611 * @param {Array.<Object>} keyframes 618 * @param {Array.<Object>} keyframes
612 * @param {number|Object} timing 619 * @param {number|Object} timing
613 * @return {Object} 620 * @return {Object}
614 */ 621 */
615 Element.prototype.animate = function(keyframes, timing) {}; 622 Element.prototype.animate = function(keyframes, timing) {};
616 623
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
802 var Terminal = function(params) {}; 809 var Terminal = function(params) {};
803 810
804 Terminal.prototype = { 811 Terminal.prototype = {
805 fit: function() {}, 812 fit: function() {},
806 linkify: function() {}, 813 linkify: function() {},
807 /** @param {!Element} element */ 814 /** @param {!Element} element */
808 open: function(element) {}, 815 open: function(element) {},
809 /** @param {string} eventName * @param {!Function} handler */ 816 /** @param {string} eventName * @param {!Function} handler */
810 on: function(eventName, handler) {} 817 on: function(eventName, handler) {}
811 }; 818 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698