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

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

Issue 1663723002: [DevTools] Add sourceMap support for blackboxing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@call-set-blackboxed-ranges-on-script-parsed
Patch Set: Created 4 years, 10 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 /* 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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 WebInspector.networkMapping = new WebInspector.NetworkMapping(WebInspect or.targetManager, WebInspector.workspace, fileSystemWorkspaceBinding, WebInspect or.fileSystemMapping); 196 WebInspector.networkMapping = new WebInspector.NetworkMapping(WebInspect or.targetManager, WebInspector.workspace, fileSystemWorkspaceBinding, WebInspect or.fileSystemMapping);
197 WebInspector.networkProjectManager = new WebInspector.NetworkProjectMana ger(WebInspector.targetManager, WebInspector.workspace, WebInspector.networkMapp ing); 197 WebInspector.networkProjectManager = new WebInspector.NetworkProjectMana ger(WebInspector.targetManager, WebInspector.workspace, WebInspector.networkMapp ing);
198 WebInspector.presentationConsoleMessageHelper = new WebInspector.Present ationConsoleMessageHelper(WebInspector.workspace); 198 WebInspector.presentationConsoleMessageHelper = new WebInspector.Present ationConsoleMessageHelper(WebInspector.workspace);
199 WebInspector.cssWorkspaceBinding = new WebInspector.CSSWorkspaceBinding( WebInspector.targetManager, WebInspector.workspace, WebInspector.networkMapping) ; 199 WebInspector.cssWorkspaceBinding = new WebInspector.CSSWorkspaceBinding( WebInspector.targetManager, WebInspector.workspace, WebInspector.networkMapping) ;
200 WebInspector.debuggerWorkspaceBinding = new WebInspector.DebuggerWorkspa ceBinding(WebInspector.targetManager, WebInspector.workspace, WebInspector.netwo rkMapping); 200 WebInspector.debuggerWorkspaceBinding = new WebInspector.DebuggerWorkspa ceBinding(WebInspector.targetManager, WebInspector.workspace, WebInspector.netwo rkMapping);
201 WebInspector.breakpointManager = new WebInspector.BreakpointManager(null , WebInspector.workspace, WebInspector.networkMapping, WebInspector.targetManage r, WebInspector.debuggerWorkspaceBinding); 201 WebInspector.breakpointManager = new WebInspector.BreakpointManager(null , WebInspector.workspace, WebInspector.networkMapping, WebInspector.targetManage r, WebInspector.debuggerWorkspaceBinding);
202 WebInspector.extensionServer = new WebInspector.ExtensionServer(); 202 WebInspector.extensionServer = new WebInspector.ExtensionServer();
203 203
204 new WebInspector.OverlayController(); 204 new WebInspector.OverlayController();
205 new WebInspector.ExecutionContextSelector(WebInspector.targetManager, We bInspector.context); 205 new WebInspector.ExecutionContextSelector(WebInspector.targetManager, We bInspector.context);
206 new WebInspector.BlackboxManager(); 206 WebInspector.blackboxManager = new WebInspector.BlackboxManager(WebInspe ctor.debuggerWorkspaceBinding, WebInspector.networkMapping);
207 207
208 var autoselectPanel = WebInspector.UIString("auto"); 208 var autoselectPanel = WebInspector.UIString("auto");
209 var openAnchorLocationSetting = WebInspector.settings.createSetting("ope nLinkHandler", autoselectPanel); 209 var openAnchorLocationSetting = WebInspector.settings.createSetting("ope nLinkHandler", autoselectPanel);
210 WebInspector.openAnchorLocationRegistry = new WebInspector.HandlerRegist ry(openAnchorLocationSetting); 210 WebInspector.openAnchorLocationRegistry = new WebInspector.HandlerRegist ry(openAnchorLocationSetting);
211 WebInspector.openAnchorLocationRegistry.registerHandler(autoselectPanel, function() { return false; }); 211 WebInspector.openAnchorLocationRegistry.registerHandler(autoselectPanel, function() { return false; });
212 WebInspector.Linkifier.setLinkHandler(new WebInspector.HandlerRegistry.L inkHandler()); 212 WebInspector.Linkifier.setLinkHandler(new WebInspector.HandlerRegistry.L inkHandler());
213 213
214 new WebInspector.Main.PauseListener(); 214 new WebInspector.Main.PauseListener();
215 new WebInspector.Main.InspectedNodeRevealer(); 215 new WebInspector.Main.InspectedNodeRevealer();
216 new WebInspector.NetworkPanelIndicator(); 216 new WebInspector.NetworkPanelIndicator();
(...skipping 892 matching lines...) Expand 10 before | Expand all | Expand 10 after
1109 /** 1109 /**
1110 * @param {!WebInspector.Target} target 1110 * @param {!WebInspector.Target} target
1111 * @override 1111 * @override
1112 */ 1112 */
1113 targetRemoved: function(target) 1113 targetRemoved: function(target)
1114 { 1114 {
1115 } 1115 }
1116 } 1116 }
1117 1117
1118 new WebInspector.Main(); 1118 new WebInspector.Main();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698