| 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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 Runtime.experiments.enableForTest("animationInspection"); | 161 Runtime.experiments.enableForTest("animationInspection"); |
| 162 if (testPath.indexOf("layers/") !== -1) | 162 if (testPath.indexOf("layers/") !== -1) |
| 163 Runtime.experiments.enableForTest("layersPanel"); | 163 Runtime.experiments.enableForTest("layersPanel"); |
| 164 if (testPath.indexOf("timeline/") !== -1 || testPath.indexOf("layers
/") !== -1) | 164 if (testPath.indexOf("timeline/") !== -1 || testPath.indexOf("layers
/") !== -1) |
| 165 Runtime.experiments.enableForTest("layersPanel"); | 165 Runtime.experiments.enableForTest("layersPanel"); |
| 166 if (testPath.indexOf("security/") !== -1) | 166 if (testPath.indexOf("security/") !== -1) |
| 167 Runtime.experiments.enableForTest("securityPanel"); | 167 Runtime.experiments.enableForTest("securityPanel"); |
| 168 } | 168 } |
| 169 | 169 |
| 170 Runtime.experiments.setDefaultExperiments([ | 170 Runtime.experiments.setDefaultExperiments([ |
| 171 "deviceMode", |
| 171 "securityPanel" | 172 "securityPanel" |
| 172 ]); | 173 ]); |
| 173 }, | 174 }, |
| 174 | 175 |
| 175 /** | 176 /** |
| 176 * @suppressGlobalPropertiesCheck | 177 * @suppressGlobalPropertiesCheck |
| 177 */ | 178 */ |
| 178 _createAppUI: function() | 179 _createAppUI: function() |
| 179 { | 180 { |
| 180 console.timeStamp("Main._createApp"); | 181 console.timeStamp("Main._createApp"); |
| (...skipping 903 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1084 */ | 1085 */ |
| 1085 willHide: function() | 1086 willHide: function() |
| 1086 { | 1087 { |
| 1087 this._hideCallback.call(null); | 1088 this._hideCallback.call(null); |
| 1088 }, | 1089 }, |
| 1089 | 1090 |
| 1090 __proto__: WebInspector.VBox.prototype | 1091 __proto__: WebInspector.VBox.prototype |
| 1091 } | 1092 } |
| 1092 | 1093 |
| 1093 new WebInspector.Main(); | 1094 new WebInspector.Main(); |
| OLD | NEW |