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

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

Issue 465223002: [ Do not submit ] Prototype for invalidation analysis Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Unify the three invalidation trace event categories Created 6 years, 3 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 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 this.disableAgentsWhenProfile = this._createExperiment("disableAgentsWhenPro file", "Disable other agents and UI when profiler is active", true); 328 this.disableAgentsWhenProfile = this._createExperiment("disableAgentsWhenPro file", "Disable other agents and UI when profiler is active", true);
329 this.dockToLeft = this._createExperiment("dockToLeft", "Dock to left", true) ; 329 this.dockToLeft = this._createExperiment("dockToLeft", "Dock to left", true) ;
330 this.documentation = this._createExperiment("documentation", "JavaScript doc umentation", true); 330 this.documentation = this._createExperiment("documentation", "JavaScript doc umentation", true);
331 this.fileSystemInspection = this._createExperiment("fileSystemInspection", " FileSystem inspection"); 331 this.fileSystemInspection = this._createExperiment("fileSystemInspection", " FileSystem inspection");
332 this.gpuTimeline = this._createExperiment("gpuTimeline", "GPU data on timeli ne", true); 332 this.gpuTimeline = this._createExperiment("gpuTimeline", "GPU data on timeli ne", true);
333 this.layersPanel = this._createExperiment("layersPanel", "Layers panel"); 333 this.layersPanel = this._createExperiment("layersPanel", "Layers panel");
334 this.paintProfiler = this._createExperiment("paintProfiler", "Paint profiler "); 334 this.paintProfiler = this._createExperiment("paintProfiler", "Paint profiler ");
335 this.timelineOnTraceEvents = this._createExperiment("timelineOnTraceEvents", "Timeline on trace events"); 335 this.timelineOnTraceEvents = this._createExperiment("timelineOnTraceEvents", "Timeline on trace events");
336 this.timelinePowerProfiler = this._createExperiment("timelinePowerProfiler", "Timeline power profiler"); 336 this.timelinePowerProfiler = this._createExperiment("timelinePowerProfiler", "Timeline power profiler");
337 this.timelineJSCPUProfile = this._createExperiment("timelineJSCPUProfile", " Timeline with JS sampling"); 337 this.timelineJSCPUProfile = this._createExperiment("timelineJSCPUProfile", " Timeline with JS sampling");
338 this.timelineInvalidationTracking = this._createExperiment("timelineInvalida tionTracking", "Full tracking of paint invalidations on the timeline.");
338 339
339 this._cleanUpSetting(); 340 this._cleanUpSetting();
340 } 341 }
341 342
342 WebInspector.ExperimentsSettings.prototype = { 343 WebInspector.ExperimentsSettings.prototype = {
343 /** 344 /**
344 * @return {!Array.<!WebInspector.Experiment>} 345 * @return {!Array.<!WebInspector.Experiment>}
345 */ 346 */
346 get experiments() 347 get experiments()
347 { 348 {
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after
803 804
804 _fireChangedIfNeeded: function() 805 _fireChangedIfNeeded: function()
805 { 806 {
806 var newValue = this._calculateValue(); 807 var newValue = this._calculateValue();
807 if (newValue === this._value) 808 if (newValue === this._value)
808 return; 809 return;
809 this._value = newValue; 810 this._value = newValue;
810 this._eventSupport.dispatchEventToListeners(this._name, this._value); 811 this._eventSupport.dispatchEventToListeners(this._name, this._value);
811 } 812 }
812 } 813 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698