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

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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 WebInspector.networkMapping = new WebInspector.NetworkMapping(WebInspect or.targetManager, WebInspector.workspace, fileSystemWorkspaceBinding, WebInspect or.fileSystemMapping); 197 WebInspector.networkMapping = new WebInspector.NetworkMapping(WebInspect or.targetManager, WebInspector.workspace, fileSystemWorkspaceBinding, WebInspect or.fileSystemMapping);
198 WebInspector.networkProjectManager = new WebInspector.NetworkProjectMana ger(WebInspector.targetManager, WebInspector.workspace, WebInspector.networkMapp ing); 198 WebInspector.networkProjectManager = new WebInspector.NetworkProjectMana ger(WebInspector.targetManager, WebInspector.workspace, WebInspector.networkMapp ing);
199 WebInspector.presentationConsoleMessageHelper = new WebInspector.Present ationConsoleMessageHelper(WebInspector.workspace); 199 WebInspector.presentationConsoleMessageHelper = new WebInspector.Present ationConsoleMessageHelper(WebInspector.workspace);
200 WebInspector.cssWorkspaceBinding = new WebInspector.CSSWorkspaceBinding( WebInspector.targetManager, WebInspector.workspace, WebInspector.networkMapping) ; 200 WebInspector.cssWorkspaceBinding = new WebInspector.CSSWorkspaceBinding( WebInspector.targetManager, WebInspector.workspace, WebInspector.networkMapping) ;
201 WebInspector.debuggerWorkspaceBinding = new WebInspector.DebuggerWorkspa ceBinding(WebInspector.targetManager, WebInspector.workspace, WebInspector.netwo rkMapping); 201 WebInspector.debuggerWorkspaceBinding = new WebInspector.DebuggerWorkspa ceBinding(WebInspector.targetManager, WebInspector.workspace, WebInspector.netwo rkMapping);
202 WebInspector.breakpointManager = new WebInspector.BreakpointManager(null , WebInspector.workspace, WebInspector.networkMapping, WebInspector.targetManage r, WebInspector.debuggerWorkspaceBinding); 202 WebInspector.breakpointManager = new WebInspector.BreakpointManager(null , WebInspector.workspace, WebInspector.networkMapping, WebInspector.targetManage r, WebInspector.debuggerWorkspaceBinding);
203 WebInspector.extensionServer = new WebInspector.ExtensionServer(); 203 WebInspector.extensionServer = new WebInspector.ExtensionServer();
204 204
205 new WebInspector.OverlayController(); 205 new WebInspector.OverlayController();
206 new WebInspector.ExecutionContextSelector(WebInspector.targetManager, We bInspector.context); 206 new WebInspector.ExecutionContextSelector(WebInspector.targetManager, We bInspector.context);
207 new WebInspector.BlackboxManager(); 207 WebInspector.blackboxManager = new WebInspector.BlackboxManager();
208 208
209 var autoselectPanel = WebInspector.UIString("auto"); 209 var autoselectPanel = WebInspector.UIString("auto");
210 var openAnchorLocationSetting = WebInspector.settings.createSetting("ope nLinkHandler", autoselectPanel); 210 var openAnchorLocationSetting = WebInspector.settings.createSetting("ope nLinkHandler", autoselectPanel);
211 WebInspector.openAnchorLocationRegistry = new WebInspector.HandlerRegist ry(openAnchorLocationSetting); 211 WebInspector.openAnchorLocationRegistry = new WebInspector.HandlerRegist ry(openAnchorLocationSetting);
212 WebInspector.openAnchorLocationRegistry.registerHandler(autoselectPanel, function() { return false; }); 212 WebInspector.openAnchorLocationRegistry.registerHandler(autoselectPanel, function() { return false; });
213 WebInspector.Linkifier.setLinkHandler(new WebInspector.HandlerRegistry.L inkHandler()); 213 WebInspector.Linkifier.setLinkHandler(new WebInspector.HandlerRegistry.L inkHandler());
214 214
215 new WebInspector.Main.PauseListener(); 215 new WebInspector.Main.PauseListener();
216 new WebInspector.Main.InspectedNodeRevealer(); 216 new WebInspector.Main.InspectedNodeRevealer();
217 new WebInspector.NetworkPanelIndicator(); 217 new WebInspector.NetworkPanelIndicator();
(...skipping 905 matching lines...) Expand 10 before | Expand all | Expand 10 after
1123 /** 1123 /**
1124 * @param {!WebInspector.Target} target 1124 * @param {!WebInspector.Target} target
1125 * @override 1125 * @override
1126 */ 1126 */
1127 targetRemoved: function(target) 1127 targetRemoved: function(target)
1128 { 1128 {
1129 } 1129 }
1130 } 1130 }
1131 1131
1132 new WebInspector.Main(); 1132 new WebInspector.Main();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698