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

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

Issue 1727083002: Revert of [DevTools] Move screen orientation override to RenderWidgetScreenMetricsEmulator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
OLDNEW
1 if (window.GCController) 1 if (window.GCController)
2 GCController.collectAll(); 2 GCController.collectAll();
3 var initialize_InspectorTest = function() { 3 var initialize_InspectorTest = function() {
4 4
5 var results = []; 5 var results = [];
6 6
7 function consoleOutputHook(messageType) 7 function consoleOutputHook(messageType)
8 { 8 {
9 InspectorTest.addResult(messageType + ": " + Array.prototype.slice.call(argu ments, 1)); 9 InspectorTest.addResult(messageType + ": " + Array.prototype.slice.call(argu ments, 1));
10 } 10 }
(...skipping 937 matching lines...) Expand 10 before | Expand all | Expand 10 after
948 InspectorTest.DOMDebuggerAgent = target.domdebuggerAgent(); 948 InspectorTest.DOMDebuggerAgent = target.domdebuggerAgent();
949 InspectorTest.DebuggerAgent = target.debuggerAgent(); 949 InspectorTest.DebuggerAgent = target.debuggerAgent();
950 InspectorTest.EmulationAgent = target.emulationAgent(); 950 InspectorTest.EmulationAgent = target.emulationAgent();
951 InspectorTest.HeapProfilerAgent = target.heapProfilerAgent(); 951 InspectorTest.HeapProfilerAgent = target.heapProfilerAgent();
952 InspectorTest.InspectorAgent = target.inspectorAgent(); 952 InspectorTest.InspectorAgent = target.inspectorAgent();
953 InspectorTest.LayerTreeAgent = target.layerTreeAgent(); 953 InspectorTest.LayerTreeAgent = target.layerTreeAgent();
954 InspectorTest.NetworkAgent = target.networkAgent(); 954 InspectorTest.NetworkAgent = target.networkAgent();
955 InspectorTest.PageAgent = target.pageAgent(); 955 InspectorTest.PageAgent = target.pageAgent();
956 InspectorTest.ProfilerAgent = target.profilerAgent(); 956 InspectorTest.ProfilerAgent = target.profilerAgent();
957 InspectorTest.RuntimeAgent = target.runtimeAgent(); 957 InspectorTest.RuntimeAgent = target.runtimeAgent();
958 InspectorTest.ScreenOrientationAgent = target.screenOrientationAgent();
958 InspectorTest.WorkerAgent = target.workerAgent(); 959 InspectorTest.WorkerAgent = target.workerAgent();
959 960
960 InspectorTest.consoleModel = target.consoleModel; 961 InspectorTest.consoleModel = target.consoleModel;
961 InspectorTest.networkManager = target.networkManager; 962 InspectorTest.networkManager = target.networkManager;
962 InspectorTest.resourceTreeModel = target.resourceTreeModel; 963 InspectorTest.resourceTreeModel = target.resourceTreeModel;
963 InspectorTest.networkLog = target.networkLog; 964 InspectorTest.networkLog = target.networkLog;
964 InspectorTest.debuggerModel = WebInspector.DebuggerModel.fromTarget(targ et); 965 InspectorTest.debuggerModel = WebInspector.DebuggerModel.fromTarget(targ et);
965 InspectorTest.runtimeModel = target.runtimeModel; 966 InspectorTest.runtimeModel = target.runtimeModel;
966 InspectorTest.domModel = WebInspector.DOMModel.fromTarget(target); 967 InspectorTest.domModel = WebInspector.DOMModel.fromTarget(target);
967 InspectorTest.cssModel = WebInspector.CSSStyleModel.fromTarget(target); 968 InspectorTest.cssModel = WebInspector.CSSStyleModel.fromTarget(target);
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
1199 _output("[page] " + text); 1200 _output("[page] " + text);
1200 } 1201 }
1201 1202
1202 function _output(result) 1203 function _output(result)
1203 { 1204 {
1204 if (!outputElement) 1205 if (!outputElement)
1205 createOutputElement(); 1206 createOutputElement();
1206 outputElement.appendChild(document.createTextNode(result)); 1207 outputElement.appendChild(document.createTextNode(result));
1207 outputElement.appendChild(document.createElement("br")); 1208 outputElement.appendChild(document.createElement("br"));
1208 } 1209 }
OLDNEW
« no previous file with comments | « content/renderer/render_widget.cc ('k') | third_party/WebKit/LayoutTests/inspector/screen-orientation-override.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698