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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/sources/TabbedEditorContainer.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) 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 * 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 17 matching lines...) Expand all
28 /** 28 /**
29 * @interface 29 * @interface
30 */ 30 */
31 Sources.TabbedEditorContainerDelegate = function() {}; 31 Sources.TabbedEditorContainerDelegate = function() {};
32 32
33 Sources.TabbedEditorContainerDelegate.prototype = { 33 Sources.TabbedEditorContainerDelegate.prototype = {
34 /** 34 /**
35 * @param {!Workspace.UISourceCode} uiSourceCode 35 * @param {!Workspace.UISourceCode} uiSourceCode
36 * @return {!UI.Widget} 36 * @return {!UI.Widget}
37 */ 37 */
38 viewForFile: function(uiSourceCode) {}, 38 viewForFile(uiSourceCode) {},
39 }; 39 };
40 40
41 /** 41 /**
42 * @unrestricted 42 * @unrestricted
43 */ 43 */
44 Sources.TabbedEditorContainer = class extends Common.Object { 44 Sources.TabbedEditorContainer = class extends Common.Object {
45 /** 45 /**
46 * @param {!Sources.TabbedEditorContainerDelegate} delegate 46 * @param {!Sources.TabbedEditorContainerDelegate} delegate
47 * @param {!Common.Setting} setting 47 * @param {!Common.Setting} setting
48 * @param {string} placeholderText 48 * @param {string} placeholderText
(...skipping 771 matching lines...) Expand 10 before | Expand all | Expand 10 after
820 820
821 /** 821 /**
822 * @override 822 * @override
823 * @param {string} tabId 823 * @param {string} tabId
824 * @param {!UI.ContextMenu} contextMenu 824 * @param {!UI.ContextMenu} contextMenu
825 */ 825 */
826 onContextMenu(tabId, contextMenu) { 826 onContextMenu(tabId, contextMenu) {
827 this._editorContainer._onContextMenu(tabId, contextMenu); 827 this._editorContainer._onContextMenu(tabId, contextMenu);
828 } 828 }
829 }; 829 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698