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

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

Issue 2515763003: DevTools: use shorthand syntax in interface definitions. (Closed)
Patch Set: Created 4 years, 1 month 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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 10 *
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after
448 /** 448 /**
449 * @interface 449 * @interface
450 */ 450 */
451 Sources.UISourceCodeFrame.LineDecorator = function() {}; 451 Sources.UISourceCodeFrame.LineDecorator = function() {};
452 452
453 Sources.UISourceCodeFrame.LineDecorator.prototype = { 453 Sources.UISourceCodeFrame.LineDecorator.prototype = {
454 /** 454 /**
455 * @param {!Workspace.UISourceCode} uiSourceCode 455 * @param {!Workspace.UISourceCode} uiSourceCode
456 * @param {!TextEditor.CodeMirrorTextEditor} textEditor 456 * @param {!TextEditor.CodeMirrorTextEditor} textEditor
457 */ 457 */
458 decorate: function(uiSourceCode, textEditor) {} 458 decorate(uiSourceCode, textEditor) {}
459 }; 459 };
460 460
461 /** 461 /**
462 * @unrestricted 462 * @unrestricted
463 */ 463 */
464 Sources.UISourceCodeFrame.RowMessage = class { 464 Sources.UISourceCodeFrame.RowMessage = class {
465 /** 465 /**
466 * @param {!Workspace.UISourceCode.Message} message 466 * @param {!Workspace.UISourceCode.Message} message
467 */ 467 */
468 constructor(message) { 468 constructor(message) {
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
653 653
654 /** 654 /**
655 * @param {!Workspace.UISourceCode.Message} a 655 * @param {!Workspace.UISourceCode.Message} a
656 * @param {!Workspace.UISourceCode.Message} b 656 * @param {!Workspace.UISourceCode.Message} b
657 * @return {number} 657 * @return {number}
658 */ 658 */
659 Workspace.UISourceCode.Message.messageLevelComparator = function(a, b) { 659 Workspace.UISourceCode.Message.messageLevelComparator = function(a, b) {
660 return Workspace.UISourceCode.Message._messageLevelPriority[a.level()] - 660 return Workspace.UISourceCode.Message._messageLevelPriority[a.level()] -
661 Workspace.UISourceCode.Message._messageLevelPriority[b.level()]; 661 Workspace.UISourceCode.Message._messageLevelPriority[b.level()];
662 }; 662 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698