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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector-unit/inspector-unit-test.js

Issue 2412023002: DevTools: migrate InspectorView to tabbed view location. (Closed)
Patch Set: made layers panel closeable. Created 4 years, 2 months 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector/appcache/appcache-iframe-manifests.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 var UnitTest = {}; 1 var UnitTest = {};
2 (function() 2 (function()
3 { 3 {
4 var oldLoadResourcePromise = Runtime.loadResourcePromise; 4 var oldLoadResourcePromise = Runtime.loadResourcePromise;
5 Runtime.loadResourcePromise = function(url) 5 Runtime.loadResourcePromise = function(url)
6 { 6 {
7 if (url.startsWith("/")) 7 if (url.startsWith("/"))
8 return oldLoadResourcePromise(url); 8 return oldLoadResourcePromise(url);
9 9
10 if (!url.startsWith("http://")) 10 if (!url.startsWith("http://"))
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 WebInspector.initializeUIUtils(document, WebInspector.settings.createSet ting("uiTheme", "default")); 100 WebInspector.initializeUIUtils(document, WebInspector.settings.createSet ting("uiTheme", "default"));
101 101
102 WebInspector.zoomManager = new WebInspector.ZoomManager(window, Inspecto rFrontendHost); 102 WebInspector.zoomManager = new WebInspector.ZoomManager(window, Inspecto rFrontendHost);
103 WebInspector.inspectorView = WebInspector.InspectorView.instance(); 103 WebInspector.inspectorView = WebInspector.InspectorView.instance();
104 WebInspector.ContextMenu.initialize(); 104 WebInspector.ContextMenu.initialize();
105 WebInspector.ContextMenu.installHandler(document); 105 WebInspector.ContextMenu.installHandler(document);
106 WebInspector.Tooltip.installHandler(document); 106 WebInspector.Tooltip.installHandler(document);
107 107
108 var rootView = new WebInspector.RootView(); 108 var rootView = new WebInspector.RootView();
109 WebInspector.inspectorView.show(rootView.element); 109 WebInspector.inspectorView.show(rootView.element);
110 WebInspector.inspectorView.showInitialPanel();
111 rootView.attachToDocument(document); 110 rootView.attachToDocument(document);
112 111
113 test(); 112 test();
114 } 113 }
115 })(); 114 })();
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector/appcache/appcache-iframe-manifests.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698