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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/scripts-panel.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/sources/debugger-ui/scripts-panel.html
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/scripts-panel.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/scripts-panel.html
index de02d963a854a0f862071f0c85a452d7b0c3c267..b77f31cfa916f2e583ddfe12141e04d6653b2233 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/scripts-panel.html
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/scripts-panel.html
@@ -14,17 +14,17 @@ function test()
function createNavigatorView()
{
- var workspace = WebInspector.workspace;
- WebInspector.workspace = InspectorTest.testWorkspace;
- var navigatorView = new WebInspector.SourcesNavigatorView();
- WebInspector.workspace = workspace;
- navigatorView.show(WebInspector.inspectorView.element);
+ var workspace = Workspace.workspace;
+ Workspace.workspace = InspectorTest.testWorkspace;
+ var navigatorView = new Sources.SourcesNavigatorView();
+ Workspace.workspace = workspace;
+ navigatorView.show(UI.inspectorView.element);
return navigatorView;
}
function createContentProvider(url)
{
- var contentProvider = WebInspector.StaticContentProvider.fromString(url, WebInspector.resourceTypes.Script, "");
+ var contentProvider = Common.StaticContentProvider.fromString(url, Common.resourceTypes.Script, "");
contentProvider.requestContent = function()
{
InspectorTest.addResult("Source requested for " + url);
@@ -36,7 +36,7 @@ function test()
function createMockWorkspace()
{
InspectorTest.createWorkspaceWithTarget(true);
- InspectorTest.testDebuggerProject = new WebInspector.ContentProviderBasedProject(InspectorTest.testWorkspace, "", WebInspector.projectTypes.Debugger, "");
+ InspectorTest.testDebuggerProject = new Bindings.ContentProviderBasedProject(InspectorTest.testWorkspace, "", Workspace.projectTypes.Debugger, "");
return InspectorTest.testWorkspace;
}
@@ -47,7 +47,7 @@ function test()
function addDebuggerFile(workspace, url)
{
- var uiSourceCode = InspectorTest.testDebuggerProject.createUISourceCode(url, WebInspector.resourceTypes.Script);
+ var uiSourceCode = InspectorTest.testDebuggerProject.createUISourceCode(url, Common.resourceTypes.Script);
InspectorTest.testDebuggerProject.addUISourceCodeWithProvider(uiSourceCode, createContentProvider(url));
return uiSourceCode;
}

Powered by Google App Engine
This is Rietveld 408576698