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

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

Issue 2751813002: DevTools: Clean up character diff (Closed)
Patch Set: Created 3 years, 9 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/diff/Diff.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 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 */ 350 */
351 function diff_match_patch() { 351 function diff_match_patch() {
352 } 352 }
353 353
354 diff_match_patch.prototype = { 354 diff_match_patch.prototype = {
355 /** 355 /**
356 * @param {string} text1 356 * @param {string} text1
357 * @param {string} text2 357 * @param {string} text2
358 * @return {!Array.<!{0: number, 1: string}>} 358 * @return {!Array.<!{0: number, 1: string}>}
359 */ 359 */
360 diff_main: function(text1, text2) {} 360 diff_main: function(text1, text2) {},
361
362 /**
363 * @param {!Array.<!{0: number, 1: string}>} diff
364 */
365 diff_cleanupSemantic(diff) {}
361 }; 366 };
362 367
363 /** @constructor */ 368 /** @constructor */
364 var Doc = function() {}; 369 var Doc = function() {};
365 Doc.prototype = { 370 Doc.prototype = {
366 /** @type {number} */ 371 /** @type {number} */
367 scrollLeft: 0, 372 scrollLeft: 0,
368 /** @type {number} */ 373 /** @type {number} */
369 scrollTop: 0 374 scrollTop: 0
370 }; 375 };
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after
782 var Terminal = function(params) {}; 787 var Terminal = function(params) {};
783 788
784 Terminal.prototype = { 789 Terminal.prototype = {
785 fit: function() {}, 790 fit: function() {},
786 linkify: function() {}, 791 linkify: function() {},
787 /** @param {!Element} element */ 792 /** @param {!Element} element */
788 open: function(element) {}, 793 open: function(element) {},
789 /** @param {string} eventName * @param {!Function} handler */ 794 /** @param {string} eventName * @param {!Function} handler */
790 on: function(eventName, handler) {} 795 on: function(eventName, handler) {}
791 }; 796 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/diff/Diff.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698