| 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 ]); | 124 ]); |
| 125 }, | 125 }, |
| 126 | 126 |
| 127 /** | 127 /** |
| 128 * @suppressGlobalPropertiesCheck | 128 * @suppressGlobalPropertiesCheck |
| 129 */ | 129 */ |
| 130 _createAppUI: function() | 130 _createAppUI: function() |
| 131 { | 131 { |
| 132 console.timeStamp("Main._createApp"); | 132 console.timeStamp("Main._createApp"); |
| 133 | 133 |
| 134 WebInspector.viewManager = new WebInspector.ViewManager(); |
| 135 |
| 134 // Request filesystems early, we won't create connections until callback
is fired. Things will happen in parallel. | 136 // Request filesystems early, we won't create connections until callback
is fired. Things will happen in parallel. |
| 135 WebInspector.isolatedFileSystemManager = new WebInspector.IsolatedFileSy
stemManager(); | 137 WebInspector.isolatedFileSystemManager = new WebInspector.IsolatedFileSy
stemManager(); |
| 136 WebInspector.isolatedFileSystemManager.initialize(this._didInitializeFil
eSystemManager.bind(this)); | 138 WebInspector.isolatedFileSystemManager.initialize(this._didInitializeFil
eSystemManager.bind(this)); |
| 137 | 139 |
| 138 var themeSetting = WebInspector.settings.createSetting("uiTheme", "defau
lt"); | 140 var themeSetting = WebInspector.settings.createSetting("uiTheme", "defau
lt"); |
| 139 WebInspector.initializeUIUtils(document, themeSetting); | 141 WebInspector.initializeUIUtils(document, themeSetting); |
| 140 themeSetting.addChangeListener(WebInspector.reload.bind(WebInspector)); | 142 themeSetting.addChangeListener(WebInspector.reload.bind(WebInspector)); |
| 141 | 143 |
| 142 WebInspector.installComponentRootStyles(/** @type {!Element} */ (documen
t.body)); | 144 WebInspector.installComponentRootStyles(/** @type {!Element} */ (documen
t.body)); |
| 143 | 145 |
| (...skipping 947 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1091 * @return {?Element} | 1093 * @return {?Element} |
| 1092 */ | 1094 */ |
| 1093 settingElement: function() | 1095 settingElement: function() |
| 1094 { | 1096 { |
| 1095 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")); |
| 1096 } | 1098 } |
| 1097 } | 1099 } |
| 1098 | 1100 |
| 1099 | 1101 |
| 1100 new WebInspector.Main(); | 1102 new WebInspector.Main(); |
| OLD | NEW |