| 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 11 matching lines...) Expand all Loading... |
| 22 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | 22 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | 23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 /** | 31 /** |
| 32 * @interface |
| 33 */ |
| 34 WebInspector.ProjectSearchConfig = function() {} |
| 35 |
| 36 WebInspector.ProjectSearchConfig.prototype = { |
| 37 /** |
| 38 * @return {string} |
| 39 */ |
| 40 query: function() { }, |
| 41 |
| 42 /** |
| 43 * @return {boolean} |
| 44 */ |
| 45 ignoreCase: function() { }, |
| 46 |
| 47 /** |
| 48 * @return {boolean} |
| 49 */ |
| 50 isRegex: function() { }, |
| 51 |
| 52 /** |
| 53 * @return {!Array.<string>} |
| 54 */ |
| 55 queries: function() { }, |
| 56 |
| 57 /** |
| 58 * @param {string} filePath |
| 59 * @return {boolean} |
| 60 */ |
| 61 filePathMatchesFileQuery: function(filePath) { } |
| 62 } |
| 63 |
| 64 /** |
| 32 * @constructor | 65 * @constructor |
| 33 * @param {string} parentPath | 66 * @param {string} parentPath |
| 34 * @param {string} name | 67 * @param {string} name |
| 35 * @param {string} originURL | 68 * @param {string} originURL |
| 36 * @param {string} url | 69 * @param {string} url |
| 37 * @param {!WebInspector.ResourceType} contentType | 70 * @param {!WebInspector.ResourceType} contentType |
| 38 */ | 71 */ |
| 39 WebInspector.FileDescriptor = function(parentPath, name, originURL, url, content
Type) | 72 WebInspector.FileDescriptor = function(parentPath, name, originURL, url, content
Type) |
| 40 { | 73 { |
| 41 this.parentPath = parentPath; | 74 this.parentPath = parentPath; |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 */ | 173 */ |
| 141 findFilesMatchingSearchRequest: function(searchConfig, filesMathingFileQuery
, progress, callback) { }, | 174 findFilesMatchingSearchRequest: function(searchConfig, filesMathingFileQuery
, progress, callback) { }, |
| 142 | 175 |
| 143 /** | 176 /** |
| 144 * @param {!WebInspector.Progress} progress | 177 * @param {!WebInspector.Progress} progress |
| 145 */ | 178 */ |
| 146 indexContent: function(progress) { } | 179 indexContent: function(progress) { } |
| 147 } | 180 } |
| 148 | 181 |
| 149 /** | 182 /** |
| 150 * @interface | |
| 151 */ | |
| 152 WebInspector.ProjectSearchConfig = function() {} | |
| 153 | |
| 154 WebInspector.ProjectSearchConfig.prototype = { | |
| 155 /** | |
| 156 * @return {string} | |
| 157 */ | |
| 158 query: function() { }, | |
| 159 | |
| 160 /** | |
| 161 * @return {boolean} | |
| 162 */ | |
| 163 ignoreCase: function() { }, | |
| 164 | |
| 165 /** | |
| 166 * @return {boolean} | |
| 167 */ | |
| 168 isRegex: function() { }, | |
| 169 | |
| 170 /** | |
| 171 * @return {!Array.<string>} | |
| 172 */ | |
| 173 queries: function() { }, | |
| 174 | |
| 175 /** | |
| 176 * @param {string} filePath | |
| 177 * @return {boolean} | |
| 178 */ | |
| 179 filePathMatchesFileQuery: function(filePath) { } | |
| 180 } | |
| 181 | |
| 182 /** | |
| 183 * @constructor | 183 * @constructor |
| 184 * @param {!WebInspector.Project} project | 184 * @param {!WebInspector.Project} project |
| 185 */ | 185 */ |
| 186 WebInspector.ProjectStore = function(project) | 186 WebInspector.ProjectStore = function(project) |
| 187 { | 187 { |
| 188 this._project = project; | 188 this._project = project; |
| 189 } | 189 } |
| 190 | 190 |
| 191 WebInspector.ProjectStore.prototype = { | 191 WebInspector.ProjectStore.prototype = { |
| 192 /** | 192 /** |
| (...skipping 613 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 806 this.addEventListener(WebInspector.Workspace.Events.UISourceCodeAdded, l
istener, this); | 806 this.addEventListener(WebInspector.Workspace.Events.UISourceCodeAdded, l
istener, this); |
| 807 }, | 807 }, |
| 808 | 808 |
| 809 __proto__: WebInspector.Object.prototype | 809 __proto__: WebInspector.Object.prototype |
| 810 } | 810 } |
| 811 | 811 |
| 812 /** | 812 /** |
| 813 * @type {!WebInspector.Workspace} | 813 * @type {!WebInspector.Workspace} |
| 814 */ | 814 */ |
| 815 WebInspector.workspace; | 815 WebInspector.workspace; |
| OLD | NEW |