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 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 this.canvasInspection = this._createExperiment("canvasInspection ", "Canvas
inspection"); | 281 this.canvasInspection = this._createExperiment("canvasInspection ", "Canvas
inspection"); |
282 this.cssRegions = this._createExperiment("cssRegions", "CSS Regions Support"
); | 282 this.cssRegions = this._createExperiment("cssRegions", "CSS Regions Support"
); |
283 this.frameworksDebuggingSupport = this._createExperiment("frameworksDebuggin
gSupport", "Enable frameworks debugging support"); | 283 this.frameworksDebuggingSupport = this._createExperiment("frameworksDebuggin
gSupport", "Enable frameworks debugging support"); |
284 this.layersPanel = this._createExperiment("layersPanel", "Show Layers panel"
); | 284 this.layersPanel = this._createExperiment("layersPanel", "Show Layers panel"
); |
285 this.stepIntoSelection = this._createExperiment("stepIntoSelection", "Show s
tep-in candidates while debugging."); | 285 this.stepIntoSelection = this._createExperiment("stepIntoSelection", "Show s
tep-in candidates while debugging."); |
286 this.doNotOpenDrawerOnEsc = this._createExperiment("doNotOpenDrawerWithEsc",
"Do not open drawer on Esc"); | 286 this.doNotOpenDrawerOnEsc = this._createExperiment("doNotOpenDrawerWithEsc",
"Do not open drawer on Esc"); |
287 this.showEditorInDrawer = this._createExperiment("showEditorInDrawer", "Show
editor in drawer"); | 287 this.showEditorInDrawer = this._createExperiment("showEditorInDrawer", "Show
editor in drawer"); |
288 this.gpuTimeline = this._createExperiment("gpuTimeline", "Show GPU data on t
imeline"); | 288 this.gpuTimeline = this._createExperiment("gpuTimeline", "Show GPU data on t
imeline"); |
289 this.applyCustomStylesheet = this._createExperiment("applyCustomStylesheet",
"Allow custom UI themes"); | 289 this.applyCustomStylesheet = this._createExperiment("applyCustomStylesheet",
"Allow custom UI themes"); |
290 this.workersInMainWindow = this._createExperiment("workersInMainWindow", "Sh
ow workers in main window"); | 290 this.workersInMainWindow = this._createExperiment("workersInMainWindow", "Sh
ow workers in main window"); |
| 291 this.dockToLeft = this._createExperiment("dockToLeft", "Enable dock to left
mode"); |
291 | 292 |
292 this._cleanUpSetting(); | 293 this._cleanUpSetting(); |
293 } | 294 } |
294 | 295 |
295 WebInspector.ExperimentsSettings.prototype = { | 296 WebInspector.ExperimentsSettings.prototype = { |
296 /** | 297 /** |
297 * @return {!Array.<!WebInspector.Experiment>} | 298 * @return {!Array.<!WebInspector.Experiment>} |
298 */ | 299 */ |
299 get experiments() | 300 get experiments() |
300 { | 301 { |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
487 { | 488 { |
488 // If there are too many breakpoints in a storage, it is likely due to a
recent bug that caused | 489 // If there are too many breakpoints in a storage, it is likely due to a
recent bug that caused |
489 // periodical breakpoints duplication leading to inspector slowness. | 490 // periodical breakpoints duplication leading to inspector slowness. |
490 if (breakpointsSetting.get().length > maxBreakpointsCount) | 491 if (breakpointsSetting.get().length > maxBreakpointsCount) |
491 breakpointsSetting.set([]); | 492 breakpointsSetting.set([]); |
492 } | 493 } |
493 } | 494 } |
494 | 495 |
495 WebInspector.settings = new WebInspector.Settings(); | 496 WebInspector.settings = new WebInspector.Settings(); |
496 WebInspector.experimentsSettings = new WebInspector.ExperimentsSettings(); | 497 WebInspector.experimentsSettings = new WebInspector.ExperimentsSettings(); |
OLD | NEW |