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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger/navigator-view.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/navigator-view.html
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger/navigator-view.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger/navigator-view.html
index d8eaf21869bc2678642a4d6f3cfd99c60be7b80b..2014c85b91f44e5b180c698d5c5f0e408d2302ed 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger/navigator-view.html
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger/navigator-view.html
@@ -14,30 +14,30 @@ function test()
var networkProject1 = InspectorTest.testNetworkProject;
var subframe = target.resourceTreeModel.frameForId(239);
- WebInspector.targetManager = InspectorTest.testTargetManager;
- WebInspector.networkMapping = InspectorTest.testNetworkMapping;
+ SDK.targetManager = InspectorTest.testTargetManager;
+ Bindings.networkMapping = InspectorTest.testNetworkMapping;
target2 = InspectorTest.createMockTarget(100);
var networkProject2 = InspectorTest.testNetworkProject;
- var sourcesNavigatorView = new WebInspector.SourcesNavigatorView();
+ var sourcesNavigatorView = new Sources.SourcesNavigatorView();
sourcesNavigatorView._resetWorkspace(InspectorTest.testWorkspace);
- sourcesNavigatorView.show(WebInspector.inspectorView.element);
- var contentScriptsNavigatorView = new WebInspector.ContentScriptsNavigatorView();
+ sourcesNavigatorView.show(UI.inspectorView.element);
+ var contentScriptsNavigatorView = new Sources.ContentScriptsNavigatorView();
contentScriptsNavigatorView._resetWorkspace(InspectorTest.testWorkspace);
- contentScriptsNavigatorView.show(WebInspector.inspectorView.element);
+ contentScriptsNavigatorView.show(UI.inspectorView.element);
var uiSourceCodes = [];
function addUISourceCode(url, isContentScript, frame)
{
- var contentProvider = WebInspector.StaticContentProvider.fromString(url, WebInspector.resourceTypes.Script, "");
+ var contentProvider = Common.StaticContentProvider.fromString(url, Common.resourceTypes.Script, "");
var uiSourceCode = networkProject1.addFile(contentProvider, frame || mainFrame);
uiSourceCodes.push(uiSourceCode);
}
function addUISourceCode2(url, isContentScript)
{
- var contentProvider = WebInspector.StaticContentProvider.fromString(url, WebInspector.resourceTypes.Script, "");
+ var contentProvider = Common.StaticContentProvider.fromString(url, Common.resourceTypes.Script, "");
var uiSourceCode = networkProject2.addFile(contentProvider, target2.resourceTreeModel.mainFrame);
uiSourceCodes.push(uiSourceCode);
}

Powered by Google App Engine
This is Rietveld 408576698