OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 (function(window) { | 5 (function(window) { |
6 | 6 |
7 // DevToolsAPI ---------------------------------------------------------------- | 7 // DevToolsAPI ---------------------------------------------------------------- |
8 | 8 |
9 /** | 9 /** |
10 * @constructor | 10 * @constructor |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 }, | 169 }, |
170 | 170 |
171 /** | 171 /** |
172 * @param {!{fileSystemName: string, rootURL: string, fileSystemPath: string
}} fileSystem | 172 * @param {!{fileSystemName: string, rootURL: string, fileSystemPath: string
}} fileSystem |
173 */ | 173 */ |
174 fileSystemAdded: function(fileSystem) | 174 fileSystemAdded: function(fileSystem) |
175 { | 175 { |
176 this._dispatchOnInspectorFrontendAPI("fileSystemAdded", ["", fileSystem]
); | 176 this._dispatchOnInspectorFrontendAPI("fileSystemAdded", ["", fileSystem]
); |
177 }, | 177 }, |
178 | 178 |
| 179 fileSystemFilesChanged: function(path) |
| 180 { |
| 181 this._dispatchOnInspectorFrontendAPI("fileSystemFilesChanged", [path]); |
| 182 }, |
| 183 |
179 /** | 184 /** |
180 * @param {number} requestId | 185 * @param {number} requestId |
181 * @param {string} fileSystemPath | 186 * @param {string} fileSystemPath |
182 * @param {number} totalWork | 187 * @param {number} totalWork |
183 */ | 188 */ |
184 indexingTotalWorkCalculated: function(requestId, fileSystemPath, totalWork) | 189 indexingTotalWorkCalculated: function(requestId, fileSystemPath, totalWork) |
185 { | 190 { |
186 this._dispatchOnInspectorFrontendAPI("indexingTotalWorkCalculated", [req
uestId, fileSystemPath, totalWork]); | 191 this._dispatchOnInspectorFrontendAPI("indexingTotalWorkCalculated", [req
uestId, fileSystemPath, totalWork]); |
187 }, | 192 }, |
188 | 193 |
(...skipping 723 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
912 uiTests.testSuiteReady = function(testSuiteConstructor) | 917 uiTests.testSuiteReady = function(testSuiteConstructor) |
913 { | 918 { |
914 uiTests._testSuite = testSuiteConstructor(window.domAutomationController
); | 919 uiTests._testSuite = testSuiteConstructor(window.domAutomationController
); |
915 uiTests._dispatchIfReady(); | 920 uiTests._dispatchIfReady(); |
916 }; | 921 }; |
917 | 922 |
918 window.uiTests = uiTests; | 923 window.uiTests = uiTests; |
919 } | 924 } |
920 | 925 |
921 })(window); | 926 })(window); |
OLD | NEW |