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 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 // set order of some sections explicitly | 254 // set order of some sections explicitly |
255 WebInspector.shortcutsScreen.section(WebInspector.UIString("Console")); | 255 WebInspector.shortcutsScreen.section(WebInspector.UIString("Console")); |
256 WebInspector.shortcutsScreen.section(WebInspector.UIString("Elements Pan
el")); | 256 WebInspector.shortcutsScreen.section(WebInspector.UIString("Elements Pan
el")); |
257 WebInspector.ShortcutsScreen.registerShortcuts(); | 257 WebInspector.ShortcutsScreen.registerShortcuts(); |
258 | 258 |
259 if (WebInspector.experimentsSettings.workersInMainWindow.isEnabled()) | 259 if (WebInspector.experimentsSettings.workersInMainWindow.isEnabled()) |
260 new WebInspector.WorkerTargetManager(mainTarget, WebInspector.target
Manager); | 260 new WebInspector.WorkerTargetManager(mainTarget, WebInspector.target
Manager); |
261 | 261 |
262 WebInspector.console.addEventListener(WebInspector.ConsoleModel.Events.C
onsoleCleared, this._resetErrorAndWarningCounts, this); | 262 WebInspector.console.addEventListener(WebInspector.ConsoleModel.Events.C
onsoleCleared, this._resetErrorAndWarningCounts, this); |
263 WebInspector.console.addEventListener(WebInspector.ConsoleModel.Events.M
essageAdded, this._updateErrorAndWarningCounts, this); | 263 WebInspector.console.addEventListener(WebInspector.ConsoleModel.Events.M
essageAdded, this._updateErrorAndWarningCounts, this); |
264 WebInspector.console.addEventListener(WebInspector.ConsoleModel.Events.R
epeatCountUpdated, this._updateErrorAndWarningCounts, this); | |
265 | 264 |
266 WebInspector.debuggerModel.addEventListener(WebInspector.DebuggerModel.E
vents.DebuggerPaused, this._debuggerPaused, this); | 265 WebInspector.debuggerModel.addEventListener(WebInspector.DebuggerModel.E
vents.DebuggerPaused, this._debuggerPaused, this); |
267 WebInspector.networkLog = new WebInspector.NetworkLog(); | 266 WebInspector.networkLog = new WebInspector.NetworkLog(); |
268 | 267 |
269 WebInspector.zoomManager = new WebInspector.ZoomManager(); | 268 WebInspector.zoomManager = new WebInspector.ZoomManager(); |
270 | 269 |
271 WebInspector.advancedSearchController = new WebInspector.AdvancedSearchC
ontroller(); | 270 WebInspector.advancedSearchController = new WebInspector.AdvancedSearchC
ontroller(); |
272 | 271 |
273 InspectorBackend.registerInspectorDispatcher(this); | 272 InspectorBackend.registerInspectorDispatcher(this); |
274 | 273 |
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
721 | 720 |
722 WebInspector.reload = function() | 721 WebInspector.reload = function() |
723 { | 722 { |
724 InspectorAgent.reset(); | 723 InspectorAgent.reset(); |
725 window.location.reload(); | 724 window.location.reload(); |
726 } | 725 } |
727 | 726 |
728 new WebInspector.Main(); | 727 new WebInspector.Main(); |
729 | 728 |
730 window.DEBUG = true; | 729 window.DEBUG = true; |
OLD | NEW |