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

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

Issue 2772643002: DevTools: Changes View (Closed)
Patch Set: no highlighting 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
603 CodeMirror.LineWidget.prototype = { 604 CodeMirror.LineWidget.prototype = {
604 clear: function() {} 605 clear: function() {}
605 }; 606 };
606 607
607 /** @type {Object.<string, !Object.<string, string>>} */ 608 /** @type {Object.<string, !Object.<string, string>>} */
608 CodeMirror.keyMap; 609 CodeMirror.keyMap;
609 610
610 /** @type {{scrollLeft: number, scrollTop: number}} */ 611 /** @type {{scrollLeft: number, scrollTop: number}} */
611 CodeMirror.doc; 612 CodeMirror.doc;
612 613
614 /**
615 * @param {string} mime
616 * @param {string} mode
617 */
618 CodeMirror.defineMIME = function(mime, mode) {};
619
613 /** @type {boolean} */ 620 /** @type {boolean} */
614 window.dispatchStandaloneTestRunnerMessages; 621 window.dispatchStandaloneTestRunnerMessages;
615 622
616 /** 623 /**
617 * @param {Array.<Object>} keyframes 624 * @param {Array.<Object>} keyframes
618 * @param {number|Object} timing 625 * @param {number|Object} timing
619 * @return {Object} 626 * @return {Object}
620 */ 627 */
621 Element.prototype.animate = function(keyframes, timing) {}; 628 Element.prototype.animate = function(keyframes, timing) {};
622 629
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
787 var Terminal = function(params) {}; 794 var Terminal = function(params) {};
788 795
789 Terminal.prototype = { 796 Terminal.prototype = {
790 fit: function() {}, 797 fit: function() {},
791 linkify: function() {}, 798 linkify: function() {},
792 /** @param {!Element} element */ 799 /** @param {!Element} element */
793 open: function(element) {}, 800 open: function(element) {},
794 /** @param {string} eventName * @param {!Function} handler */ 801 /** @param {string} eventName * @param {!Function} handler */
795 on: function(eventName, handler) {} 802 on: function(eventName, handler) {}
796 }; 803 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698