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 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 this.customizableToolbar = this._createExperiment("customizableToolbar", "En
able toolbar customization"); | 266 this.customizableToolbar = this._createExperiment("customizableToolbar", "En
able toolbar customization"); |
267 this.tethering = this._createExperiment("tethering", "Enable port forwarding
"); | 267 this.tethering = this._createExperiment("tethering", "Enable port forwarding
"); |
268 this.drawerOverlay = this._createExperiment("drawerOverlay", "Open console a
s overlay"); | 268 this.drawerOverlay = this._createExperiment("drawerOverlay", "Open console a
s overlay"); |
269 this.frameworksDebuggingSupport = this._createExperiment("frameworksDebuggin
gSupport", "Enable frameworks debugging support"); | 269 this.frameworksDebuggingSupport = this._createExperiment("frameworksDebuggin
gSupport", "Enable frameworks debugging support"); |
270 this.refreshFileSystemsOnFocus = this._createExperiment("refreshFileSystemsO
nFocus", "Refresh file system folders on window focus"); | 270 this.refreshFileSystemsOnFocus = this._createExperiment("refreshFileSystemsO
nFocus", "Refresh file system folders on window focus"); |
271 this.scrollBeyondEndOfFile = this._createExperiment("scrollBeyondEndOfFile",
"Support scrolling beyond end of file"); | 271 this.scrollBeyondEndOfFile = this._createExperiment("scrollBeyondEndOfFile",
"Support scrolling beyond end of file"); |
272 this.layersPanel = this._createExperiment("layersPanel", "Show Layers panel"
); | 272 this.layersPanel = this._createExperiment("layersPanel", "Show Layers panel"
); |
273 this.screencast = this._createExperiment("screencast", "Enable screencast"); | 273 this.screencast = this._createExperiment("screencast", "Enable screencast"); |
274 this.stepIntoSelection = this._createExperiment("stepIntoSelection", "Show s
tep-in candidates while debugging."); | 274 this.stepIntoSelection = this._createExperiment("stepIntoSelection", "Show s
tep-in candidates while debugging."); |
275 this.openConsoleWithCtrlTilde = this._createExperiment("openConsoleWithCtrlT
ilde", "Open console with Ctrl/Cmd+Tilde, not Esc"); | 275 this.openConsoleWithCtrlTilde = this._createExperiment("openConsoleWithCtrlT
ilde", "Open console with Ctrl/Cmd+Tilde, not Esc"); |
| 276 this.jumpToPreviousLocation = this._createExperiment("jumpToPreviousLocation
", "Jump between editing locations with Alt+/Alt-"); |
276 | 277 |
277 this._cleanUpSetting(); | 278 this._cleanUpSetting(); |
278 } | 279 } |
279 | 280 |
280 WebInspector.ExperimentsSettings.prototype = { | 281 WebInspector.ExperimentsSettings.prototype = { |
281 /** | 282 /** |
282 * @return {Array.<WebInspector.Experiment>} | 283 * @return {Array.<WebInspector.Experiment>} |
283 */ | 284 */ |
284 get experiments() | 285 get experiments() |
285 { | 286 { |
(...skipping 185 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 |