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

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

Issue 2837203002: [DevTools] Move dom breakpoints to DOMDebuggerModel (Closed)
Patch Set: Created 3 years, 8 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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 199
200 new Main.OverlayController(); 200 new Main.OverlayController();
201 new Main.ExecutionContextSelector(SDK.targetManager, UI.context); 201 new Main.ExecutionContextSelector(SDK.targetManager, UI.context);
202 Bindings.blackboxManager = new Bindings.BlackboxManager(Bindings.debuggerWor kspaceBinding); 202 Bindings.blackboxManager = new Bindings.BlackboxManager(Bindings.debuggerWor kspaceBinding);
203 203
204 new Main.Main.PauseListener(); 204 new Main.Main.PauseListener();
205 new Main.Main.InspectedNodeRevealer(); 205 new Main.Main.InspectedNodeRevealer();
206 new Main.NetworkPanelIndicator(); 206 new Main.NetworkPanelIndicator();
207 new Main.SourcesPanelIndicator(); 207 new Main.SourcesPanelIndicator();
208 new Main.BackendSettingsSync(); 208 new Main.BackendSettingsSync();
209 Components.domBreakpointsSidebarPane = new Components.DOMBreakpointsSidebarP ane();
210 209
211 UI.actionRegistry = new UI.ActionRegistry(); 210 UI.actionRegistry = new UI.ActionRegistry();
212 UI.shortcutRegistry = new UI.ShortcutRegistry(UI.actionRegistry, document); 211 UI.shortcutRegistry = new UI.ShortcutRegistry(UI.actionRegistry, document);
213 UI.ShortcutsScreen.registerShortcuts(); 212 UI.ShortcutsScreen.registerShortcuts();
214 this._registerForwardedShortcuts(); 213 this._registerForwardedShortcuts();
215 this._registerMessageSinkListener(); 214 this._registerMessageSinkListener();
216 215
217 self.runtime.extension(Common.AppProvider).instance().then(this._showAppUI.b ind(this)); 216 self.runtime.extension(Common.AppProvider).instance().then(this._showAppUI.b ind(this));
218 console.timeEnd('Main._createAppUI'); 217 console.timeEnd('Main._createAppUI');
219 } 218 }
(...skipping 733 matching lines...) Expand 10 before | Expand all | Expand 10 after
953 * @override 952 * @override
954 * @return {?Element} 953 * @return {?Element}
955 */ 954 */
956 settingElement() { 955 settingElement() {
957 return UI.SettingsUI.createSettingCheckbox( 956 return UI.SettingsUI.createSettingCheckbox(
958 Common.UIString('Show rulers'), Common.moduleSetting('showMetricsRulers' )); 957 Common.UIString('Show rulers'), Common.moduleSetting('showMetricsRulers' ));
959 } 958 }
960 }; 959 };
961 960
962 new Main.Main(); 961 new Main.Main();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698