| 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 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 */ | 115 */ |
| 116 setFileContent(uiSourceCode, newContent, callback) {}, | 116 setFileContent(uiSourceCode, newContent, callback) {}, |
| 117 | 117 |
| 118 /** | 118 /** |
| 119 * @param {!Workspace.UISourceCode} uiSourceCode | 119 * @param {!Workspace.UISourceCode} uiSourceCode |
| 120 * @return {string} | 120 * @return {string} |
| 121 */ | 121 */ |
| 122 fullDisplayName(uiSourceCode) {}, | 122 fullDisplayName(uiSourceCode) {}, |
| 123 | 123 |
| 124 /** | 124 /** |
| 125 * @param {!Workspace.UISourceCode} uiSourceCode |
| 126 * @return {string} |
| 127 */ |
| 128 mimeType(uiSourceCode) {}, |
| 129 |
| 130 /** |
| 125 * @return {boolean} | 131 * @return {boolean} |
| 126 */ | 132 */ |
| 127 canRename() {}, | 133 canRename() {}, |
| 128 | 134 |
| 129 /** | 135 /** |
| 130 * @param {!Workspace.UISourceCode} uiSourceCode | 136 * @param {!Workspace.UISourceCode} uiSourceCode |
| 131 * @param {string} newName | 137 * @param {string} newName |
| 132 * @param {function(boolean, string=, string=, !Common.ResourceType=)} callbac
k | 138 * @param {function(boolean, string=, string=, !Common.ResourceType=)} callbac
k |
| 133 */ | 139 */ |
| 134 rename(uiSourceCode, newName, callback) {}, | 140 rename(uiSourceCode, newName, callback) {}, |
| (...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 458 WorkingCopyCommitted: Symbol('WorkingCopyCommitted'), | 464 WorkingCopyCommitted: Symbol('WorkingCopyCommitted'), |
| 459 WorkingCopyCommittedByUser: Symbol('WorkingCopyCommittedByUser'), | 465 WorkingCopyCommittedByUser: Symbol('WorkingCopyCommittedByUser'), |
| 460 ProjectAdded: Symbol('ProjectAdded'), | 466 ProjectAdded: Symbol('ProjectAdded'), |
| 461 ProjectRemoved: Symbol('ProjectRemoved') | 467 ProjectRemoved: Symbol('ProjectRemoved') |
| 462 }; | 468 }; |
| 463 | 469 |
| 464 /** | 470 /** |
| 465 * @type {!Workspace.Workspace} | 471 * @type {!Workspace.Workspace} |
| 466 */ | 472 */ |
| 467 Workspace.workspace; | 473 Workspace.workspace; |
| OLD | NEW |