| 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 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 336 this.showEditorInDrawer = this._createExperiment("showEditorInDrawer", "Show
editor in drawer"); | 336 this.showEditorInDrawer = this._createExperiment("showEditorInDrawer", "Show
editor in drawer"); |
| 337 this.gpuTimeline = this._createExperiment("gpuTimeline", "Show GPU data on t
imeline"); | 337 this.gpuTimeline = this._createExperiment("gpuTimeline", "Show GPU data on t
imeline"); |
| 338 this.applyCustomStylesheet = this._createExperiment("applyCustomStylesheet",
"Allow custom UI themes"); | 338 this.applyCustomStylesheet = this._createExperiment("applyCustomStylesheet",
"Allow custom UI themes"); |
| 339 this.workersInMainWindow = this._createExperiment("workersInMainWindow", "Sh
ow workers in main window"); | 339 this.workersInMainWindow = this._createExperiment("workersInMainWindow", "Sh
ow workers in main window"); |
| 340 this.dockToLeft = this._createExperiment("dockToLeft", "Enable dock to left
mode"); | 340 this.dockToLeft = this._createExperiment("dockToLeft", "Enable dock to left
mode"); |
| 341 this.allocationProfiler = this._createExperiment("allocationProfiler", "Enab
le JavaScript heap allocation profiler"); | 341 this.allocationProfiler = this._createExperiment("allocationProfiler", "Enab
le JavaScript heap allocation profiler"); |
| 342 this.timelineFlameChart = this._createExperiment("timelineFlameChart", "Enab
le FlameChart mode in Timeline"); | 342 this.timelineFlameChart = this._createExperiment("timelineFlameChart", "Enab
le FlameChart mode in Timeline"); |
| 343 this.heapSnapshotStatistics = this._createExperiment("heapSnapshotStatistics
", "Show memory breakdown statistics in heap snapshots"); | 343 this.heapSnapshotStatistics = this._createExperiment("heapSnapshotStatistics
", "Show memory breakdown statistics in heap snapshots"); |
| 344 this.timelineNoLiveUpdate = this._createExperiment("timelineNoLiveUpdate", "
Timeline w/o live update"); | 344 this.timelineNoLiveUpdate = this._createExperiment("timelineNoLiveUpdate", "
Timeline w/o live update"); |
| 345 this.powerProfiler = this._createExperiment("powerProfiler", "Enable power m
ode in Timeline"); | 345 this.powerProfiler = this._createExperiment("powerProfiler", "Enable power m
ode in Timeline"); |
| 346 this.timelineTracingMode = this._createExperiment("timelineTracingMode", "En
able Tracing mode in Timeline"); |
| 346 | 347 |
| 347 this._cleanUpSetting(); | 348 this._cleanUpSetting(); |
| 348 } | 349 } |
| 349 | 350 |
| 350 WebInspector.ExperimentsSettings.prototype = { | 351 WebInspector.ExperimentsSettings.prototype = { |
| 351 /** | 352 /** |
| 352 * @return {!Array.<!WebInspector.Experiment>} | 353 * @return {!Array.<!WebInspector.Experiment>} |
| 353 */ | 354 */ |
| 354 get experiments() | 355 get experiments() |
| 355 { | 356 { |
| (...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 731 { | 732 { |
| 732 var newValue = this._calculateValue(); | 733 var newValue = this._calculateValue(); |
| 733 if (newValue === this._value) | 734 if (newValue === this._value) |
| 734 return; | 735 return; |
| 735 this._value = newValue; | 736 this._value = newValue; |
| 736 this._eventSupport.dispatchEventToListeners(this._name, this._value); | 737 this._eventSupport.dispatchEventToListeners(this._name, this._value); |
| 737 } | 738 } |
| 738 } | 739 } |
| 739 | 740 |
| 740 WebInspector.settings.pauseOnExceptionStateString = new WebInspector.PauseOnExce
ptionStateSetting(); | 741 WebInspector.settings.pauseOnExceptionStateString = new WebInspector.PauseOnExce
ptionStateSetting(); |
| OLD | NEW |