| 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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 this.fileSystemInspection = this._createExperiment("fileSystemInspection", "
FileSystem inspection"); | 203 this.fileSystemInspection = this._createExperiment("fileSystemInspection", "
FileSystem inspection"); |
| 204 this.canvasInspection = this._createExperiment("canvasInspection ", "Canvas
inspection"); | 204 this.canvasInspection = this._createExperiment("canvasInspection ", "Canvas
inspection"); |
| 205 this.sass = this._createExperiment("sass", "Sass stylesheet debugging"); | 205 this.sass = this._createExperiment("sass", "Sass stylesheet debugging"); |
| 206 this.cssRegions = this._createExperiment("cssRegions", "CSS Regions Support"
); | 206 this.cssRegions = this._createExperiment("cssRegions", "CSS Regions Support"
); |
| 207 this.showOverridesInDrawer = this._createExperiment("showOverridesInDrawer",
"Show Overrides in drawer"); | 207 this.showOverridesInDrawer = this._createExperiment("showOverridesInDrawer",
"Show Overrides in drawer"); |
| 208 this.showWhitespaceInEditor = this._createExperiment("showWhitespaceInEditor
", "Show whitespace characters in editor"); | 208 this.showWhitespaceInEditor = this._createExperiment("showWhitespaceInEditor
", "Show whitespace characters in editor"); |
| 209 this.customizableToolbar = this._createExperiment("customizableToolbar", "En
able toolbar customization"); | 209 this.customizableToolbar = this._createExperiment("customizableToolbar", "En
able toolbar customization"); |
| 210 this.tethering = this._createExperiment("tethering", "Enable port forwarding
"); | 210 this.tethering = this._createExperiment("tethering", "Enable port forwarding
"); |
| 211 this.drawerOverlay = this._createExperiment("drawerOverlay", "Open console a
s overlay"); | 211 this.drawerOverlay = this._createExperiment("drawerOverlay", "Open console a
s overlay"); |
| 212 this.heapObjectsTracking = this._createExperiment("heapObjectsTracking", "En
able heap objects tracking profile type"); | 212 this.heapObjectsTracking = this._createExperiment("heapObjectsTracking", "En
able heap objects tracking profile type"); |
| 213 this.textEditorAutocomplete = this._createExperiment("textEditorAutocomplete
", "Enable text editor autocompletion"); |
| 213 | 214 |
| 214 this._cleanUpSetting(); | 215 this._cleanUpSetting(); |
| 215 } | 216 } |
| 216 | 217 |
| 217 WebInspector.ExperimentsSettings.prototype = { | 218 WebInspector.ExperimentsSettings.prototype = { |
| 218 /** | 219 /** |
| 219 * @return {Array.<WebInspector.Experiment>} | 220 * @return {Array.<WebInspector.Experiment>} |
| 220 */ | 221 */ |
| 221 get experiments() | 222 get experiments() |
| 222 { | 223 { |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 395 { | 396 { |
| 396 // If there are too many breakpoints in a storage, it is likely due to a
recent bug that caused | 397 // If there are too many breakpoints in a storage, it is likely due to a
recent bug that caused |
| 397 // periodical breakpoints duplication leading to inspector slowness. | 398 // periodical breakpoints duplication leading to inspector slowness. |
| 398 if (breakpointsSetting.get().length > maxBreakpointsCount) | 399 if (breakpointsSetting.get().length > maxBreakpointsCount) |
| 399 breakpointsSetting.set([]); | 400 breakpointsSetting.set([]); |
| 400 } | 401 } |
| 401 } | 402 } |
| 402 | 403 |
| 403 WebInspector.settings = new WebInspector.Settings(); | 404 WebInspector.settings = new WebInspector.Settings(); |
| 404 WebInspector.experimentsSettings = new WebInspector.ExperimentsSettings(); | 405 WebInspector.experimentsSettings = new WebInspector.ExperimentsSettings(); |
| OLD | NEW |