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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
190 { | 190 { |
191 WebInspector.setToolbarColors(/** @type {string} */ (event.data["bac kgroundColor"]), /** @type {string} */ (event.data["color"])); | 191 WebInspector.setToolbarColors(/** @type {string} */ (event.data["bac kgroundColor"]), /** @type {string} */ (event.data["color"])); |
192 } | 192 } |
193 | 193 |
194 this._addMainEventListeners(document); | 194 this._addMainEventListeners(document); |
195 | 195 |
196 var canDock = !!Runtime.queryParam("can_dock"); | 196 var canDock = !!Runtime.queryParam("can_dock"); |
197 WebInspector.zoomManager = new WebInspector.ZoomManager(InspectorFronten dHost); | 197 WebInspector.zoomManager = new WebInspector.ZoomManager(InspectorFronten dHost); |
198 WebInspector.inspectorView = new WebInspector.InspectorView(); | 198 WebInspector.inspectorView = new WebInspector.InspectorView(); |
199 WebInspector.ContextMenu.initialize(); | 199 WebInspector.ContextMenu.initialize(); |
200 WebInspector.ContextMenu.installHandler(document); | |
dgozman
2014/10/17 11:30:29
Do this in toolbox too.
| |
200 WebInspector.dockController = new WebInspector.DockController(canDock); | 201 WebInspector.dockController = new WebInspector.DockController(canDock); |
201 WebInspector.overridesSupport = new WebInspector.OverridesSupport(canDoc k); | 202 WebInspector.overridesSupport = new WebInspector.OverridesSupport(canDoc k); |
202 WebInspector.multitargetConsoleModel = new WebInspector.MultitargetConso leModel(); | 203 WebInspector.multitargetConsoleModel = new WebInspector.MultitargetConso leModel(); |
203 | 204 |
204 WebInspector.shortcutsScreen = new WebInspector.ShortcutsScreen(); | 205 WebInspector.shortcutsScreen = new WebInspector.ShortcutsScreen(); |
205 // set order of some sections explicitly | 206 // set order of some sections explicitly |
206 WebInspector.shortcutsScreen.section(WebInspector.UIString("Console")); | 207 WebInspector.shortcutsScreen.section(WebInspector.UIString("Console")); |
207 WebInspector.shortcutsScreen.section(WebInspector.UIString("Elements Pan el")); | 208 WebInspector.shortcutsScreen.section(WebInspector.UIString("Elements Pan el")); |
208 | 209 |
209 WebInspector.isolatedFileSystemManager = new WebInspector.IsolatedFileSy stemManager(); | 210 WebInspector.isolatedFileSystemManager = new WebInspector.IsolatedFileSy stemManager(); |
(...skipping 658 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
868 /** | 869 /** |
869 * @param {!WebInspector.Event} event | 870 * @param {!WebInspector.Event} event |
870 */ | 871 */ |
871 _inspectNode: function(event) | 872 _inspectNode: function(event) |
872 { | 873 { |
873 WebInspector.Revealer.reveal(/** @type {!WebInspector.DOMNode} */ (event .data)); | 874 WebInspector.Revealer.reveal(/** @type {!WebInspector.DOMNode} */ (event .data)); |
874 } | 875 } |
875 } | 876 } |
876 | 877 |
877 new WebInspector.Main(); | 878 new WebInspector.Main(); |
OLD | NEW |