Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(173)

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/devtools.js

Issue 1422463007: DevTools: use inotify to pick changes on the filesystem. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: build fix Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698