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

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: addressed review comments 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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 new Persistence.Persistence(Workspace.workspace, Bindings.breakpointMana ger, Workspace.fileSystemMapping); 198 new Persistence.Persistence(Workspace.workspace, Bindings.breakpointMana ger, Workspace.fileSystemMapping);
199 199
200 new Main.ExecutionContextSelector(SDK.targetManager, UI.context); 200 new Main.ExecutionContextSelector(SDK.targetManager, UI.context);
201 Bindings.blackboxManager = new Bindings.BlackboxManager(Bindings.debuggerWor kspaceBinding); 201 Bindings.blackboxManager = new Bindings.BlackboxManager(Bindings.debuggerWor kspaceBinding);
202 202
203 new Main.Main.PauseListener(); 203 new Main.Main.PauseListener();
204 new Main.Main.InspectedNodeRevealer(); 204 new Main.Main.InspectedNodeRevealer();
205 new Main.NetworkPanelIndicator(); 205 new Main.NetworkPanelIndicator();
206 new Main.SourcesPanelIndicator(); 206 new Main.SourcesPanelIndicator();
207 new Main.BackendSettingsSync(); 207 new Main.BackendSettingsSync();
208 Components.domBreakpointsSidebarPane = new Components.DOMBreakpointsSidebarP ane();
209 208
210 UI.actionRegistry = new UI.ActionRegistry(); 209 UI.actionRegistry = new UI.ActionRegistry();
211 UI.shortcutRegistry = new UI.ShortcutRegistry(UI.actionRegistry, document); 210 UI.shortcutRegistry = new UI.ShortcutRegistry(UI.actionRegistry, document);
212 UI.ShortcutsScreen.registerShortcuts(); 211 UI.ShortcutsScreen.registerShortcuts();
213 this._registerForwardedShortcuts(); 212 this._registerForwardedShortcuts();
214 this._registerMessageSinkListener(); 213 this._registerMessageSinkListener();
215 214
216 self.runtime.extension(Common.AppProvider).instance().then(this._showAppUI.b ind(this)); 215 self.runtime.extension(Common.AppProvider).instance().then(this._showAppUI.b ind(this));
217 console.timeEnd('Main._createAppUI'); 216 console.timeEnd('Main._createAppUI');
218 } 217 }
(...skipping 733 matching lines...) Expand 10 before | Expand all | Expand 10 after
952 * @override 951 * @override
953 * @return {?Element} 952 * @return {?Element}
954 */ 953 */
955 settingElement() { 954 settingElement() {
956 return UI.SettingsUI.createSettingCheckbox( 955 return UI.SettingsUI.createSettingCheckbox(
957 Common.UIString('Show rulers'), Common.moduleSetting('showMetricsRulers' )); 956 Common.UIString('Show rulers'), Common.moduleSetting('showMetricsRulers' ));
958 } 957 }
959 }; 958 };
960 959
961 new Main.Main(); 960 new Main.Main();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698