| OLD | NEW |
| 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 } | 112 } |
| 113 | 113 |
| 114 return order; | 114 return order; |
| 115 } | 115 } |
| 116 | 116 |
| 117 /** | 117 /** |
| 118 * @param {!UI.ContextMenu} contextMenu | 118 * @param {!UI.ContextMenu} contextMenu |
| 119 */ | 119 */ |
| 120 static appendAddFolderItem(contextMenu) { | 120 static appendAddFolderItem(contextMenu) { |
| 121 function addFolder() { | 121 function addFolder() { |
| 122 Workspace.isolatedFileSystemManager.addFileSystem(); | 122 Persistence.isolatedFileSystemManager.addFileSystem(); |
| 123 } | 123 } |
| 124 | 124 |
| 125 var addFolderLabel = Common.UIString('Add folder to workspace'); | 125 var addFolderLabel = Common.UIString('Add folder to workspace'); |
| 126 contextMenu.appendItem(addFolderLabel, addFolder); | 126 contextMenu.appendItem(addFolderLabel, addFolder); |
| 127 } | 127 } |
| 128 | 128 |
| 129 /** | 129 /** |
| 130 * @param {!UI.ContextMenu} contextMenu | 130 * @param {!UI.ContextMenu} contextMenu |
| 131 * @param {string=} path | 131 * @param {string=} path |
| 132 */ | 132 */ |
| (...skipping 1462 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1595 /** | 1595 /** |
| 1596 * @param {string} title | 1596 * @param {string} title |
| 1597 * @override | 1597 * @override |
| 1598 */ | 1598 */ |
| 1599 setTitle(title) { | 1599 setTitle(title) { |
| 1600 this._title = title; | 1600 this._title = title; |
| 1601 if (this._treeElement) | 1601 if (this._treeElement) |
| 1602 this._treeElement.title = this._title; | 1602 this._treeElement.title = this._title; |
| 1603 } | 1603 } |
| 1604 }; | 1604 }; |
| OLD | NEW |