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

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

Issue 2772343006: DevTools: Roll CodeMirror to 5.25.1 (Closed)
Patch Set: stray space 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
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/cm_web_modes/javascript.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 539 matching lines...) Expand 10 before | Expand all | Expand 10 after
550 /** @type {number} */ 550 /** @type {number} */
551 CodeMirror.Pos.prototype.ch; 551 CodeMirror.Pos.prototype.ch;
552 552
553 /** 553 /**
554 * @param {!CodeMirror.Pos} pos1 554 * @param {!CodeMirror.Pos} pos1
555 * @param {!CodeMirror.Pos} pos2 555 * @param {!CodeMirror.Pos} pos2
556 * @return {number} 556 * @return {number}
557 */ 557 */
558 CodeMirror.cmpPos = function(pos1, pos2) {}; 558 CodeMirror.cmpPos = function(pos1, pos2) {};
559 559
560 /**
561 * @param {string} mode
562 * @param {?} definition
563 */
564 CodeMirror.defineSimpleMode = function(mode, definition) {};
565
566 /** @constructor */ 560 /** @constructor */
567 CodeMirror.StringStream = function(line) { 561 CodeMirror.StringStream = function(line) {
568 this.pos = 0; 562 this.pos = 0;
569 this.start = 0; 563 this.start = 0;
570 }; 564 };
571 CodeMirror.StringStream.prototype = { 565 CodeMirror.StringStream.prototype = {
572 backUp: function(n) {}, 566 backUp: function(n) {},
573 column: function() {}, 567 column: function() {},
574 current: function() {}, 568 current: function() {},
575 eat: function(match) {}, 569 eat: function(match) {},
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
808 var Terminal = function(params) {}; 802 var Terminal = function(params) {};
809 803
810 Terminal.prototype = { 804 Terminal.prototype = {
811 fit: function() {}, 805 fit: function() {},
812 linkify: function() {}, 806 linkify: function() {},
813 /** @param {!Element} element */ 807 /** @param {!Element} element */
814 open: function(element) {}, 808 open: function(element) {},
815 /** @param {string} eventName * @param {!Function} handler */ 809 /** @param {string} eventName * @param {!Function} handler */
816 on: function(eventName, handler) {} 810 on: function(eventName, handler) {}
817 }; 811 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/cm_web_modes/javascript.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698