| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 }; |
| OLD | NEW |