Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Side by Side Diff: Source/devtools/front_end/common/Settings.js

Issue 396803008: Remove some of timeline experiments (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 this.canvasInspection = this._createExperiment("canvasInspection ", "Canvas inspection"); 291 this.canvasInspection = this._createExperiment("canvasInspection ", "Canvas inspection");
292 this.devicesPanel = this._createExperiment("devicesPanel", "Devices panel"); 292 this.devicesPanel = this._createExperiment("devicesPanel", "Devices panel");
293 this.disableAgentsWhenProfile = this._createExperiment("disableAgentsWhenPro file", "Disable other agents and UI when profiler is active", true); 293 this.disableAgentsWhenProfile = this._createExperiment("disableAgentsWhenPro file", "Disable other agents and UI when profiler is active", true);
294 this.dockToLeft = this._createExperiment("dockToLeft", "Dock to left", true) ; 294 this.dockToLeft = this._createExperiment("dockToLeft", "Dock to left", true) ;
295 this.editorInDrawer = this._createExperiment("showEditorInDrawer", "Editor i n drawer", true); 295 this.editorInDrawer = this._createExperiment("showEditorInDrawer", "Editor i n drawer", true);
296 this.fileSystemInspection = this._createExperiment("fileSystemInspection", " FileSystem inspection"); 296 this.fileSystemInspection = this._createExperiment("fileSystemInspection", " FileSystem inspection");
297 this.frameworksDebuggingSupport = this._createExperiment("frameworksDebuggin gSupport", "JavaScript frameworks debugging"); 297 this.frameworksDebuggingSupport = this._createExperiment("frameworksDebuggin gSupport", "JavaScript frameworks debugging");
298 this.gpuTimeline = this._createExperiment("gpuTimeline", "GPU data on timeli ne", true); 298 this.gpuTimeline = this._createExperiment("gpuTimeline", "GPU data on timeli ne", true);
299 this.heapSnapshotStatistics = this._createExperiment("heapSnapshotStatistics ", "Heap snapshot statistics", true); 299 this.heapSnapshotStatistics = this._createExperiment("heapSnapshotStatistics ", "Heap snapshot statistics", true);
300 this.layersPanel = this._createExperiment("layersPanel", "Layers panel", tru e); 300 this.layersPanel = this._createExperiment("layersPanel", "Layers panel", tru e);
301 this.timelineFlameChart = this._createExperiment("timelineFlameChart", "Time line flame chart");
302 this.timelineOnTraceEvents = this._createExperiment("timelineOnTraceEvents", "Timeline on trace events", true); 301 this.timelineOnTraceEvents = this._createExperiment("timelineOnTraceEvents", "Timeline on trace events", true);
303 this.timelinePowerProfiler = this._createExperiment("timelinePowerProfiler", "Timeline power profiler"); 302 this.timelinePowerProfiler = this._createExperiment("timelinePowerProfiler", "Timeline power profiler");
304 this.timelineTracingMode = this._createExperiment("timelineTracingMode", "Ti meline tracing mode");
305 this.timelineJSCPUProfile = this._createExperiment("timelineJSCPUProfile", " Timeline with JS sampling"); 303 this.timelineJSCPUProfile = this._createExperiment("timelineJSCPUProfile", " Timeline with JS sampling");
306 this.timelineNoLiveUpdate = this._createExperiment("timelineNoLiveUpdate", " Timeline w/o live update", true); 304 this.timelineNoLiveUpdate = this._createExperiment("timelineNoLiveUpdate", " Timeline w/o live update", true);
307 this.workersInMainWindow = this._createExperiment("workersInMainWindow", "Wo rkers in main window", true); 305 this.workersInMainWindow = this._createExperiment("workersInMainWindow", "Wo rkers in main window", true);
308 306
309 this._cleanUpSetting(); 307 this._cleanUpSetting();
310 } 308 }
311 309
312 WebInspector.ExperimentsSettings.prototype = { 310 WebInspector.ExperimentsSettings.prototype = {
313 /** 311 /**
314 * @return {!Array.<!WebInspector.Experiment>} 312 * @return {!Array.<!WebInspector.Experiment>}
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
733 731
734 _fireChangedIfNeeded: function() 732 _fireChangedIfNeeded: function()
735 { 733 {
736 var newValue = this._calculateValue(); 734 var newValue = this._calculateValue();
737 if (newValue === this._value) 735 if (newValue === this._value)
738 return; 736 return;
739 this._value = newValue; 737 this._value = newValue;
740 this._eventSupport.dispatchEventToListeners(this._name, this._value); 738 this._eventSupport.dispatchEventToListeners(this._name, this._value);
741 } 739 }
742 } 740 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698