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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 var openAnchorLocationSetting = WebInspector.settings.createSetting("ope
nLinkHandler", autoselectPanel); | 184 var openAnchorLocationSetting = WebInspector.settings.createSetting("ope
nLinkHandler", autoselectPanel); |
185 WebInspector.openAnchorLocationRegistry = new WebInspector.HandlerRegist
ry(openAnchorLocationSetting); | 185 WebInspector.openAnchorLocationRegistry = new WebInspector.HandlerRegist
ry(openAnchorLocationSetting); |
186 WebInspector.openAnchorLocationRegistry.registerHandler(autoselectPanel,
function() { return false; }); | 186 WebInspector.openAnchorLocationRegistry.registerHandler(autoselectPanel,
function() { return false; }); |
187 WebInspector.Linkifier.setLinkHandler(new WebInspector.HandlerRegistry.L
inkHandler()); | 187 WebInspector.Linkifier.setLinkHandler(new WebInspector.HandlerRegistry.L
inkHandler()); |
188 | 188 |
189 new WebInspector.Main.PauseListener(); | 189 new WebInspector.Main.PauseListener(); |
190 new WebInspector.Main.InspectedNodeRevealer(); | 190 new WebInspector.Main.InspectedNodeRevealer(); |
191 new WebInspector.NetworkPanelIndicator(); | 191 new WebInspector.NetworkPanelIndicator(); |
192 new WebInspector.SourcesPanelIndicator(); | 192 new WebInspector.SourcesPanelIndicator(); |
193 new WebInspector.BackendSettingsSync(); | 193 new WebInspector.BackendSettingsSync(); |
| 194 WebInspector.domBreakpointManager = new WebInspector.DOMBreakpointManage
r(); |
194 WebInspector.domBreakpointsSidebarPane = new WebInspector.DOMBreakpoints
SidebarPane(); | 195 WebInspector.domBreakpointsSidebarPane = new WebInspector.DOMBreakpoints
SidebarPane(); |
195 | 196 |
196 WebInspector.actionRegistry = new WebInspector.ActionRegistry(); | 197 WebInspector.actionRegistry = new WebInspector.ActionRegistry(); |
197 WebInspector.shortcutRegistry = new WebInspector.ShortcutRegistry(WebIns
pector.actionRegistry, document); | 198 WebInspector.shortcutRegistry = new WebInspector.ShortcutRegistry(WebIns
pector.actionRegistry, document); |
198 WebInspector.ShortcutsScreen.registerShortcuts(); | 199 WebInspector.ShortcutsScreen.registerShortcuts(); |
199 this._registerForwardedShortcuts(); | 200 this._registerForwardedShortcuts(); |
200 this._registerMessageSinkListener(); | 201 this._registerMessageSinkListener(); |
201 | 202 |
202 self.runtime.extension(WebInspector.AppProvider).instance().then(this._s
howAppUI.bind(this)); | 203 self.runtime.extension(WebInspector.AppProvider).instance().then(this._s
howAppUI.bind(this)); |
203 }, | 204 }, |
(...skipping 887 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1091 * @override | 1092 * @override |
1092 * @return {?Element} | 1093 * @return {?Element} |
1093 */ | 1094 */ |
1094 settingElement: function() | 1095 settingElement: function() |
1095 { | 1096 { |
1096 return WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIStri
ng("Show rulers"), WebInspector.moduleSetting("showMetricsRulers")); | 1097 return WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIStri
ng("Show rulers"), WebInspector.moduleSetting("showMetricsRulers")); |
1097 } | 1098 } |
1098 } | 1099 } |
1099 | 1100 |
1100 new WebInspector.Main(); | 1101 new WebInspector.Main(); |
OLD | NEW |