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

Unified Diff: third_party/WebKit/LayoutTests/inspector/file-system-project.html

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/inspector/file-system-project.html
diff --git a/third_party/WebKit/LayoutTests/inspector/file-system-project.html b/third_party/WebKit/LayoutTests/inspector/file-system-project.html
index 6f4dc625a30371ced66149c2120111f27f1c5980..69153429176a9d696151f5cc6b9d1370d01f16fa 100644
--- a/third_party/WebKit/LayoutTests/inspector/file-system-project.html
+++ b/third_party/WebKit/LayoutTests/inspector/file-system-project.html
@@ -71,14 +71,14 @@ function test()
fs1.reportCreated(function() {});
fs2.reportCreated(function() {});
- WebInspector.workspace.addEventListener(WebInspector.Workspace.Events.UISourceCodeAdded, onUISourceCode);
+ Workspace.workspace.addEventListener(Workspace.Workspace.Events.UISourceCodeAdded, onUISourceCode);
var count = 3;
function onUISourceCode()
{
if (--count)
return;
- WebInspector.workspace.removeEventListener(WebInspector.Workspace.Events.UISourceCodeAdded, onUISourceCode);
+ Workspace.workspace.removeEventListener(Workspace.Workspace.Events.UISourceCodeAdded, onUISourceCode);
onUISourceCodesLoaded();
}
@@ -93,7 +93,7 @@ function test()
function uiSourceCodesDumped()
{
dumpUISourceCodeLocations(uiSourceCodes, 5);
- WebInspector.workspace.addEventListener(WebInspector.Workspace.Events.WorkingCopyCommitted, contentCommitted, this);
+ Workspace.workspace.addEventListener(Workspace.Workspace.Events.WorkingCopyCommitted, contentCommitted, this);
uiSourceCodes[0].addRevision("<Modified UISourceCode content>");
}
@@ -127,7 +127,7 @@ function test()
function testExcludesSettings(next)
{
- WebInspector.settings.createLocalSetting("workspaceExcludedFolders", {}).set({"file:///var/www2":["/html/"]});
+ Common.settings.createLocalSetting("workspaceExcludedFolders", {}).set({"file:///var/www2":["/html/"]});
createFileSystem("file:///var/www2", dumpExcludes);
function dumpExcludes(fs)
@@ -212,7 +212,7 @@ function test()
function dumpGitFolders()
{
- var isolatedFileSystem = WebInspector.isolatedFileSystemManager.fileSystem("file:///var/www3");
+ var isolatedFileSystem = Workspace.isolatedFileSystemManager.fileSystem("file:///var/www3");
var folders = isolatedFileSystem.gitFolders();
folders.sort();
for (var gitFolder of folders)

Powered by Google App Engine
This is Rietveld 408576698