| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 271 this.fileSystemInspection = this._createExperiment("fileSystemInspection", "
FileSystem inspection"); | 271 this.fileSystemInspection = this._createExperiment("fileSystemInspection", "
FileSystem inspection"); |
| 272 this.canvasInspection = this._createExperiment("canvasInspection ", "Canvas
inspection"); | 272 this.canvasInspection = this._createExperiment("canvasInspection ", "Canvas
inspection"); |
| 273 this.cssRegions = this._createExperiment("cssRegions", "CSS Regions Support"
); | 273 this.cssRegions = this._createExperiment("cssRegions", "CSS Regions Support"
); |
| 274 this.frameworksDebuggingSupport = this._createExperiment("frameworksDebuggin
gSupport", "Enable frameworks debugging support"); | 274 this.frameworksDebuggingSupport = this._createExperiment("frameworksDebuggin
gSupport", "Enable frameworks debugging support"); |
| 275 this.layersPanel = this._createExperiment("layersPanel", "Show Layers panel"
); | 275 this.layersPanel = this._createExperiment("layersPanel", "Show Layers panel"
); |
| 276 this.stepIntoSelection = this._createExperiment("stepIntoSelection", "Show s
tep-in candidates while debugging."); | 276 this.stepIntoSelection = this._createExperiment("stepIntoSelection", "Show s
tep-in candidates while debugging."); |
| 277 this.doNotOpenDrawerOnEsc = this._createExperiment("doNotOpenDrawerWithEsc",
"Do not open drawer on Esc"); | 277 this.doNotOpenDrawerOnEsc = this._createExperiment("doNotOpenDrawerWithEsc",
"Do not open drawer on Esc"); |
| 278 this.showEditorInDrawer = this._createExperiment("showEditorInDrawer", "Show
editor in drawer"); | 278 this.showEditorInDrawer = this._createExperiment("showEditorInDrawer", "Show
editor in drawer"); |
| 279 this.gpuTimeline = this._createExperiment("gpuTimeline", "Show GPU data on t
imeline"); | 279 this.gpuTimeline = this._createExperiment("gpuTimeline", "Show GPU data on t
imeline"); |
| 280 this.applyCustomStylesheet = this._createExperiment("applyCustomStylesheet",
"Allow custom UI themes"); | 280 this.applyCustomStylesheet = this._createExperiment("applyCustomStylesheet",
"Allow custom UI themes"); |
| 281 this.jumpToPreviousLocation = this._createExperiment("jumpToPreviousLocation
", "Jump between editing locations with Alt+/Alt-"); |
| 281 | 282 |
| 282 this._cleanUpSetting(); | 283 this._cleanUpSetting(); |
| 283 } | 284 } |
| 284 | 285 |
| 285 WebInspector.ExperimentsSettings.prototype = { | 286 WebInspector.ExperimentsSettings.prototype = { |
| 286 /** | 287 /** |
| 287 * @return {!Array.<!WebInspector.Experiment>} | 288 * @return {!Array.<!WebInspector.Experiment>} |
| 288 */ | 289 */ |
| 289 get experiments() | 290 get experiments() |
| 290 { | 291 { |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 477 { | 478 { |
| 478 // If there are too many breakpoints in a storage, it is likely due to a
recent bug that caused | 479 // If there are too many breakpoints in a storage, it is likely due to a
recent bug that caused |
| 479 // periodical breakpoints duplication leading to inspector slowness. | 480 // periodical breakpoints duplication leading to inspector slowness. |
| 480 if (breakpointsSetting.get().length > maxBreakpointsCount) | 481 if (breakpointsSetting.get().length > maxBreakpointsCount) |
| 481 breakpointsSetting.set([]); | 482 breakpointsSetting.set([]); |
| 482 } | 483 } |
| 483 } | 484 } |
| 484 | 485 |
| 485 WebInspector.settings = new WebInspector.Settings(); | 486 WebInspector.settings = new WebInspector.Settings(); |
| 486 WebInspector.experimentsSettings = new WebInspector.ExperimentsSettings(); | 487 WebInspector.experimentsSettings = new WebInspector.ExperimentsSettings(); |
| OLD | NEW |