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

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

Issue 486573003: DevTools: remove eye dropper from behind experiment. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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
« no previous file with comments | « no previous file | Source/devtools/front_end/elements/Spectrum.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 WebInspector.ExperimentsSettings = function(experimentsEnabled) 284 WebInspector.ExperimentsSettings = function(experimentsEnabled)
285 { 285 {
286 this._experimentsEnabled = experimentsEnabled; 286 this._experimentsEnabled = experimentsEnabled;
287 this._setting = WebInspector.settings.createSetting("experiments", {}); 287 this._setting = WebInspector.settings.createSetting("experiments", {});
288 this._experiments = []; 288 this._experiments = [];
289 this._enabledForTest = {}; 289 this._enabledForTest = {};
290 290
291 // Add currently running experiments here. 291 // Add currently running experiments here.
292 this.applyCustomStylesheet = this._createExperiment("applyCustomStylesheet", "Allow custom UI themes"); 292 this.applyCustomStylesheet = this._createExperiment("applyCustomStylesheet", "Allow custom UI themes");
293 this.canvasInspection = this._createExperiment("canvasInspection ", "Canvas inspection"); 293 this.canvasInspection = this._createExperiment("canvasInspection ", "Canvas inspection");
294 this.colorPicker = this._createExperiment("colorPicker", "Color picker", tru e);
295 this.devicesPanel = this._createExperiment("devicesPanel", "Devices panel"); 294 this.devicesPanel = this._createExperiment("devicesPanel", "Devices panel");
296 this.disableAgentsWhenProfile = this._createExperiment("disableAgentsWhenPro file", "Disable other agents and UI when profiler is active", true); 295 this.disableAgentsWhenProfile = this._createExperiment("disableAgentsWhenPro file", "Disable other agents and UI when profiler is active", true);
297 this.dockToLeft = this._createExperiment("dockToLeft", "Dock to left", true) ; 296 this.dockToLeft = this._createExperiment("dockToLeft", "Dock to left", true) ;
298 this.documentation = this._createExperiment("documentation", "Documentation for JS and CSS", true); 297 this.documentation = this._createExperiment("documentation", "Documentation for JS and CSS", true);
299 this.fileSystemInspection = this._createExperiment("fileSystemInspection", " FileSystem inspection"); 298 this.fileSystemInspection = this._createExperiment("fileSystemInspection", " FileSystem inspection");
300 this.gpuTimeline = this._createExperiment("gpuTimeline", "GPU data on timeli ne", true); 299 this.gpuTimeline = this._createExperiment("gpuTimeline", "GPU data on timeli ne", true);
301 this.layersPanel = this._createExperiment("layersPanel", "Layers panel"); 300 this.layersPanel = this._createExperiment("layersPanel", "Layers panel");
302 this.paintProfiler = this._createExperiment("paintProfiler", "Paint profiler "); 301 this.paintProfiler = this._createExperiment("paintProfiler", "Paint profiler ");
303 this.timelineOnTraceEvents = this._createExperiment("timelineOnTraceEvents", "Timeline on trace events"); 302 this.timelineOnTraceEvents = this._createExperiment("timelineOnTraceEvents", "Timeline on trace events");
304 this.timelinePowerProfiler = this._createExperiment("timelinePowerProfiler", "Timeline power profiler"); 303 this.timelinePowerProfiler = this._createExperiment("timelinePowerProfiler", "Timeline power profiler");
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after
760 759
761 _fireChangedIfNeeded: function() 760 _fireChangedIfNeeded: function()
762 { 761 {
763 var newValue = this._calculateValue(); 762 var newValue = this._calculateValue();
764 if (newValue === this._value) 763 if (newValue === this._value)
765 return; 764 return;
766 this._value = newValue; 765 this._value = newValue;
767 this._eventSupport.dispatchEventToListeners(this._name, this._value); 766 this._eventSupport.dispatchEventToListeners(this._name, this._value);
768 } 767 }
769 } 768 }
OLDNEW
« no previous file with comments | « no previous file | Source/devtools/front_end/elements/Spectrum.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698