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

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

Issue 2778873003: DevTools: Convert TextEditor from Interface to Abstract class (Closed)
Patch Set: 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) 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 478 matching lines...) Expand 10 before | Expand all | Expand 10 after
489 'text-editor-line-with-warning'; 489 'text-editor-line-with-warning';
490 490
491 /** 491 /**
492 * @interface 492 * @interface
493 */ 493 */
494 SourceFrame.UISourceCodeFrame.LineDecorator = function() {}; 494 SourceFrame.UISourceCodeFrame.LineDecorator = function() {};
495 495
496 SourceFrame.UISourceCodeFrame.LineDecorator.prototype = { 496 SourceFrame.UISourceCodeFrame.LineDecorator.prototype = {
497 /** 497 /**
498 * @param {!Workspace.UISourceCode} uiSourceCode 498 * @param {!Workspace.UISourceCode} uiSourceCode
499 * @param {!TextEditor.CodeMirrorTextEditor} textEditor 499 * @param {!SourceFrame.SourcesTextEditor} textEditor
500 */ 500 */
501 decorate(uiSourceCode, textEditor) {} 501 decorate(uiSourceCode, textEditor) {}
502 }; 502 };
503 503
504 /** 504 /**
505 * @unrestricted 505 * @unrestricted
506 */ 506 */
507 SourceFrame.UISourceCodeFrame.RowMessage = class { 507 SourceFrame.UISourceCodeFrame.RowMessage = class {
508 /** 508 /**
509 * @param {!Workspace.UISourceCode.Message} message 509 * @param {!Workspace.UISourceCode.Message} message
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
698 698
699 /** 699 /**
700 * @param {!Workspace.UISourceCode.Message} a 700 * @param {!Workspace.UISourceCode.Message} a
701 * @param {!Workspace.UISourceCode.Message} b 701 * @param {!Workspace.UISourceCode.Message} b
702 * @return {number} 702 * @return {number}
703 */ 703 */
704 Workspace.UISourceCode.Message.messageLevelComparator = function(a, b) { 704 Workspace.UISourceCode.Message.messageLevelComparator = function(a, b) {
705 return Workspace.UISourceCode.Message._messageLevelPriority[a.level()] - 705 return Workspace.UISourceCode.Message._messageLevelPriority[a.level()] -
706 Workspace.UISourceCode.Message._messageLevelPriority[b.level()]; 706 Workspace.UISourceCode.Message._messageLevelPriority[b.level()];
707 }; 707 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698