| 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 else if (extensions[i].descriptor()["location"] === "toolbar-rig
ht") | 120 else if (extensions[i].descriptor()["location"] === "toolbar-rig
ht") |
| 121 WebInspector.inspectorView.appendToRightToolbar(item); | 121 WebInspector.inspectorView.appendToRightToolbar(item); |
| 122 } | 122 } |
| 123 } | 123 } |
| 124 }, | 124 }, |
| 125 | 125 |
| 126 _loaded: function() | 126 _loaded: function() |
| 127 { | 127 { |
| 128 console.timeStamp("Main._loaded"); | 128 console.timeStamp("Main._loaded"); |
| 129 | 129 |
| 130 WebInspector.initializeUIUtils(); |
| 130 this._createSettings(); | 131 this._createSettings(); |
| 131 this._createAppUI(); | 132 this._createAppUI(); |
| 132 }, | 133 }, |
| 133 | 134 |
| 134 _createSettings: function() | 135 _createSettings: function() |
| 135 { | 136 { |
| 136 WebInspector.settings = new WebInspector.Settings(); | 137 WebInspector.settings = new WebInspector.Settings(); |
| 137 this._initializeExperiments(); | 138 this._initializeExperiments(); |
| 138 | 139 |
| 139 // This setting is needed for backwards compatibility with Devtools Code
School extension. DO NOT REMOVE | 140 // This setting is needed for backwards compatibility with Devtools Code
School extension. DO NOT REMOVE |
| (...skipping 726 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 866 /** | 867 /** |
| 867 * @param {!WebInspector.Event} event | 868 * @param {!WebInspector.Event} event |
| 868 */ | 869 */ |
| 869 _inspectNode: function(event) | 870 _inspectNode: function(event) |
| 870 { | 871 { |
| 871 WebInspector.Revealer.reveal(/** @type {!WebInspector.DOMNode} */ (event
.data)); | 872 WebInspector.Revealer.reveal(/** @type {!WebInspector.DOMNode} */ (event
.data)); |
| 872 } | 873 } |
| 873 } | 874 } |
| 874 | 875 |
| 875 new WebInspector.Main(); | 876 new WebInspector.Main(); |
| OLD | NEW |