| OLD | NEW |
| 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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 new Bindings.BreakpointManager(null, Workspace.workspace, SDK.targetMana
ger, Bindings.debuggerWorkspaceBinding); | 216 new Bindings.BreakpointManager(null, Workspace.workspace, SDK.targetMana
ger, Bindings.debuggerWorkspaceBinding); |
| 217 Extensions.extensionServer = new Extensions.ExtensionServer(); | 217 Extensions.extensionServer = new Extensions.ExtensionServer(); |
| 218 | 218 |
| 219 new Persistence.FileSystemWorkspaceBinding(Persistence.isolatedFileSystemMan
ager, Workspace.workspace); | 219 new Persistence.FileSystemWorkspaceBinding(Persistence.isolatedFileSystemMan
ager, Workspace.workspace); |
| 220 Persistence.persistence = | 220 Persistence.persistence = |
| 221 new Persistence.Persistence(Workspace.workspace, Bindings.breakpointMana
ger, Persistence.fileSystemMapping); | 221 new Persistence.Persistence(Workspace.workspace, Bindings.breakpointMana
ger, Persistence.fileSystemMapping); |
| 222 | 222 |
| 223 new Main.ExecutionContextSelector(SDK.targetManager, UI.context); | 223 new Main.ExecutionContextSelector(SDK.targetManager, UI.context); |
| 224 Bindings.blackboxManager = new Bindings.BlackboxManager(Bindings.debuggerWor
kspaceBinding); | 224 Bindings.blackboxManager = new Bindings.BlackboxManager(Bindings.debuggerWor
kspaceBinding); |
| 225 | 225 |
| 226 MobileThrottling.cpuThrottlingManager = new MobileThrottling.CPUThrottlingMa
nager(); |
| 227 |
| 226 new Main.Main.PauseListener(); | 228 new Main.Main.PauseListener(); |
| 227 new Main.Main.InspectedNodeRevealer(); | 229 new Main.Main.InspectedNodeRevealer(); |
| 228 new Main.NetworkPanelIndicator(); | 230 new Main.NetworkPanelIndicator(); |
| 229 new Main.SourcesPanelIndicator(); | 231 new Main.SourcesPanelIndicator(); |
| 230 new Main.BackendSettingsSync(); | 232 new Main.BackendSettingsSync(); |
| 231 | 233 |
| 232 UI.actionRegistry = new UI.ActionRegistry(); | 234 UI.actionRegistry = new UI.ActionRegistry(); |
| 233 UI.shortcutRegistry = new UI.ShortcutRegistry(UI.actionRegistry, document); | 235 UI.shortcutRegistry = new UI.ShortcutRegistry(UI.actionRegistry, document); |
| 234 UI.ShortcutsScreen.registerShortcuts(); | 236 UI.ShortcutsScreen.registerShortcuts(); |
| 235 this._registerForwardedShortcuts(); | 237 this._registerForwardedShortcuts(); |
| (...skipping 766 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1002 * @override | 1004 * @override |
| 1003 * @return {?Element} | 1005 * @return {?Element} |
| 1004 */ | 1006 */ |
| 1005 settingElement() { | 1007 settingElement() { |
| 1006 return UI.SettingsUI.createSettingCheckbox( | 1008 return UI.SettingsUI.createSettingCheckbox( |
| 1007 Common.UIString('Show rulers'), Common.moduleSetting('showMetricsRulers'
)); | 1009 Common.UIString('Show rulers'), Common.moduleSetting('showMetricsRulers'
)); |
| 1008 } | 1010 } |
| 1009 }; | 1011 }; |
| 1010 | 1012 |
| 1011 new Main.Main(); | 1013 new Main.Main(); |
| OLD | NEW |