| 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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 | 265 |
| 266 // Add currently running experiments here. | 266 // Add currently running experiments here. |
| 267 this.fileSystemInspection = this._createExperiment("fileSystemInspection", "
FileSystem inspection"); | 267 this.fileSystemInspection = this._createExperiment("fileSystemInspection", "
FileSystem inspection"); |
| 268 this.canvasInspection = this._createExperiment("canvasInspection ", "Canvas
inspection"); | 268 this.canvasInspection = this._createExperiment("canvasInspection ", "Canvas
inspection"); |
| 269 this.cssRegions = this._createExperiment("cssRegions", "CSS Regions Support"
); | 269 this.cssRegions = this._createExperiment("cssRegions", "CSS Regions Support"
); |
| 270 this.frameworksDebuggingSupport = this._createExperiment("frameworksDebuggin
gSupport", "Enable frameworks debugging support"); | 270 this.frameworksDebuggingSupport = this._createExperiment("frameworksDebuggin
gSupport", "Enable frameworks debugging support"); |
| 271 this.layersPanel = this._createExperiment("layersPanel", "Show Layers panel"
); | 271 this.layersPanel = this._createExperiment("layersPanel", "Show Layers panel"
); |
| 272 this.stepIntoSelection = this._createExperiment("stepIntoSelection", "Show s
tep-in candidates while debugging."); | 272 this.stepIntoSelection = this._createExperiment("stepIntoSelection", "Show s
tep-in candidates while debugging."); |
| 273 this.openConsoleWithCtrlTilde = this._createExperiment("openConsoleWithCtrlT
ilde", "Open console with Ctrl/Cmd+Tilde, not Esc"); | 273 this.openConsoleWithCtrlTilde = this._createExperiment("openConsoleWithCtrlT
ilde", "Open console with Ctrl/Cmd+Tilde, not Esc"); |
| 274 this.showEditorInDrawer = this._createExperiment("showEditorInDrawer", "Show
editor in drawer"); | 274 this.showEditorInDrawer = this._createExperiment("showEditorInDrawer", "Show
editor in drawer"); |
| 275 this.gpuTimeline = this._createExperiment("gpuTimeline", "Show GPU utilizati
on on timeline"); |
| 275 | 276 |
| 276 this._cleanUpSetting(); | 277 this._cleanUpSetting(); |
| 277 } | 278 } |
| 278 | 279 |
| 279 WebInspector.ExperimentsSettings.prototype = { | 280 WebInspector.ExperimentsSettings.prototype = { |
| 280 /** | 281 /** |
| 281 * @return {Array.<WebInspector.Experiment>} | 282 * @return {Array.<WebInspector.Experiment>} |
| 282 */ | 283 */ |
| 283 get experiments() | 284 get experiments() |
| 284 { | 285 { |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 471 { | 472 { |
| 472 // If there are too many breakpoints in a storage, it is likely due to a
recent bug that caused | 473 // If there are too many breakpoints in a storage, it is likely due to a
recent bug that caused |
| 473 // periodical breakpoints duplication leading to inspector slowness. | 474 // periodical breakpoints duplication leading to inspector slowness. |
| 474 if (breakpointsSetting.get().length > maxBreakpointsCount) | 475 if (breakpointsSetting.get().length > maxBreakpointsCount) |
| 475 breakpointsSetting.set([]); | 476 breakpointsSetting.set([]); |
| 476 } | 477 } |
| 477 } | 478 } |
| 478 | 479 |
| 479 WebInspector.settings = new WebInspector.Settings(); | 480 WebInspector.settings = new WebInspector.Settings(); |
| 480 WebInspector.experimentsSettings = new WebInspector.ExperimentsSettings(); | 481 WebInspector.experimentsSettings = new WebInspector.ExperimentsSettings(); |
| OLD | NEW |