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

Side by Side Diff: Source/devtools/front_end/main/Main.js

Issue 985703003: Revert of Revert of DevTools: Remove pageAgent() call from DebuggerModel (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 | Annotate | Revision Log
« no previous file with comments | « Source/devtools/devtools.gypi ('k') | Source/devtools/front_end/main/OverlayController.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2007 Matt Lilek (pewtermoose@gmail.com). 3 * Copyright (C) 2007 Matt Lilek (pewtermoose@gmail.com).
4 * Copyright (C) 2009 Joseph Pecoraro 4 * Copyright (C) 2009 Joseph Pecoraro
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 WebInspector.networkMapping = new WebInspector.NetworkMapping(WebInspect or.workspace, WebInspector.isolatedFileSystemManager.mapping()); 212 WebInspector.networkMapping = new WebInspector.NetworkMapping(WebInspect or.workspace, WebInspector.isolatedFileSystemManager.mapping());
213 WebInspector.networkProject = new WebInspector.NetworkProject(WebInspect or.workspace, WebInspector.networkMapping); 213 WebInspector.networkProject = new WebInspector.NetworkProject(WebInspect or.workspace, WebInspector.networkMapping);
214 WebInspector.presentationConsoleMessageHelper = new WebInspector.Present ationConsoleMessageHelper(WebInspector.workspace); 214 WebInspector.presentationConsoleMessageHelper = new WebInspector.Present ationConsoleMessageHelper(WebInspector.workspace);
215 WebInspector.cssWorkspaceBinding = new WebInspector.CSSWorkspaceBinding( WebInspector.workspace, WebInspector.networkMapping, WebInspector.networkProject ); 215 WebInspector.cssWorkspaceBinding = new WebInspector.CSSWorkspaceBinding( WebInspector.workspace, WebInspector.networkMapping, WebInspector.networkProject );
216 WebInspector.debuggerWorkspaceBinding = new WebInspector.DebuggerWorkspa ceBinding(WebInspector.targetManager, WebInspector.workspace, WebInspector.netwo rkMapping, WebInspector.networkProject); 216 WebInspector.debuggerWorkspaceBinding = new WebInspector.DebuggerWorkspa ceBinding(WebInspector.targetManager, WebInspector.workspace, WebInspector.netwo rkMapping, WebInspector.networkProject);
217 WebInspector.fileSystemWorkspaceBinding = new WebInspector.FileSystemWor kspaceBinding(WebInspector.isolatedFileSystemManager, WebInspector.workspace, We bInspector.networkMapping); 217 WebInspector.fileSystemWorkspaceBinding = new WebInspector.FileSystemWor kspaceBinding(WebInspector.isolatedFileSystemManager, WebInspector.workspace, We bInspector.networkMapping);
218 WebInspector.breakpointManager = new WebInspector.BreakpointManager(WebI nspector.settings.breakpoints, WebInspector.workspace, WebInspector.networkMappi ng, WebInspector.targetManager, WebInspector.debuggerWorkspaceBinding); 218 WebInspector.breakpointManager = new WebInspector.BreakpointManager(WebI nspector.settings.breakpoints, WebInspector.workspace, WebInspector.networkMappi ng, WebInspector.targetManager, WebInspector.debuggerWorkspaceBinding);
219 WebInspector.scriptSnippetModel = new WebInspector.ScriptSnippetModel(We bInspector.workspace); 219 WebInspector.scriptSnippetModel = new WebInspector.ScriptSnippetModel(We bInspector.workspace);
220 WebInspector.extensionServer = new WebInspector.ExtensionServer(); 220 WebInspector.extensionServer = new WebInspector.ExtensionServer();
221 221
222 new WebInspector.OverlayController();
222 new WebInspector.ContentScriptProjectDecorator(); 223 new WebInspector.ContentScriptProjectDecorator();
223 new WebInspector.ExecutionContextSelector(); 224 new WebInspector.ExecutionContextSelector();
224 225
225 var autoselectPanel = WebInspector.UIString("a panel chosen automaticall y"); 226 var autoselectPanel = WebInspector.UIString("a panel chosen automaticall y");
226 var openAnchorLocationSetting = WebInspector.settings.createSetting("ope nLinkHandler", autoselectPanel); 227 var openAnchorLocationSetting = WebInspector.settings.createSetting("ope nLinkHandler", autoselectPanel);
227 WebInspector.openAnchorLocationRegistry = new WebInspector.HandlerRegist ry(openAnchorLocationSetting); 228 WebInspector.openAnchorLocationRegistry = new WebInspector.HandlerRegist ry(openAnchorLocationSetting);
228 WebInspector.openAnchorLocationRegistry.registerHandler(autoselectPanel, function() { return false; }); 229 WebInspector.openAnchorLocationRegistry.registerHandler(autoselectPanel, function() { return false; });
229 WebInspector.Linkifier.setLinkHandler(new WebInspector.HandlerRegistry.L inkHandler()); 230 WebInspector.Linkifier.setLinkHandler(new WebInspector.HandlerRegistry.L inkHandler());
230 231
231 new WebInspector.WorkspaceController(WebInspector.workspace); 232 new WebInspector.WorkspaceController(WebInspector.workspace);
(...skipping 709 matching lines...) Expand 10 before | Expand all | Expand 10 after
941 p.classList.add("help-section"); 942 p.classList.add("help-section");
942 p.textContent = WebInspector.UIString("Inspected worker has terminated. Once it restarts we will attach to it automatically."); 943 p.textContent = WebInspector.UIString("Inspected worker has terminated. Once it restarts we will attach to it automatically.");
943 } 944 }
944 945
945 WebInspector.WorkerTerminatedScreen.prototype = { 946 WebInspector.WorkerTerminatedScreen.prototype = {
946 947
947 __proto__: WebInspector.HelpScreen.prototype 948 __proto__: WebInspector.HelpScreen.prototype
948 } 949 }
949 950
950 new WebInspector.Main(); 951 new WebInspector.Main();
OLDNEW
« no previous file with comments | « Source/devtools/devtools.gypi ('k') | Source/devtools/front_end/main/OverlayController.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698