| 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 if (testPath.indexOf('coverage') !== -1) | 130 if (testPath.indexOf('coverage') !== -1) |
| 131 Runtime.experiments.enableForTest('cssTrackerPanel'); | 131 Runtime.experiments.enableForTest('cssTrackerPanel'); |
| 132 if (testPath.indexOf('audits2/') !== -1) | 132 if (testPath.indexOf('audits2/') !== -1) |
| 133 Runtime.experiments.enableForTest('audits2'); | 133 Runtime.experiments.enableForTest('audits2'); |
| 134 if (testPath.indexOf('changes/') !== -1) | 134 if (testPath.indexOf('changes/') !== -1) |
| 135 Runtime.experiments.enableForTest('changesDrawer'); | 135 Runtime.experiments.enableForTest('changesDrawer'); |
| 136 if (testPath.indexOf('sass/') !== -1) | 136 if (testPath.indexOf('sass/') !== -1) |
| 137 Runtime.experiments.enableForTest('liveSASS'); | 137 Runtime.experiments.enableForTest('liveSASS'); |
| 138 } | 138 } |
| 139 | 139 |
| 140 Runtime.experiments.setDefaultExperiments(['continueToLocationMarkers']); | 140 Runtime.experiments.setDefaultExperiments([]); |
| 141 } | 141 } |
| 142 | 142 |
| 143 /** | 143 /** |
| 144 * @suppressGlobalPropertiesCheck | 144 * @suppressGlobalPropertiesCheck |
| 145 */ | 145 */ |
| 146 _createAppUI() { | 146 _createAppUI() { |
| 147 console.time('Main._createAppUI'); | 147 console.time('Main._createAppUI'); |
| 148 | 148 |
| 149 UI.viewManager = new UI.ViewManager(); | 149 UI.viewManager = new UI.ViewManager(); |
| 150 | 150 |
| (...skipping 825 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 976 * @override | 976 * @override |
| 977 * @return {?Element} | 977 * @return {?Element} |
| 978 */ | 978 */ |
| 979 settingElement() { | 979 settingElement() { |
| 980 return UI.SettingsUI.createSettingCheckbox( | 980 return UI.SettingsUI.createSettingCheckbox( |
| 981 Common.UIString('Show rulers'), Common.moduleSetting('showMetricsRulers'
)); | 981 Common.UIString('Show rulers'), Common.moduleSetting('showMetricsRulers'
)); |
| 982 } | 982 } |
| 983 }; | 983 }; |
| 984 | 984 |
| 985 new Main.Main(); | 985 new Main.Main(); |
| OLD | NEW |