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

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

Issue 208653013: DevTools: Re-land r169860 with UI fixed (empty boxes and missing Styles toolbar buttons) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 this.doNotOpenDrawerOnEsc = this._createExperiment("doNotOpenDrawerWithEsc", "Do not open drawer on Esc"); 281 this.doNotOpenDrawerOnEsc = this._createExperiment("doNotOpenDrawerWithEsc", "Do not open drawer on Esc");
282 this.showEditorInDrawer = this._createExperiment("showEditorInDrawer", "Show editor in drawer"); 282 this.showEditorInDrawer = this._createExperiment("showEditorInDrawer", "Show editor in drawer");
283 this.gpuTimeline = this._createExperiment("gpuTimeline", "Show GPU data on t imeline"); 283 this.gpuTimeline = this._createExperiment("gpuTimeline", "Show GPU data on t imeline");
284 this.applyCustomStylesheet = this._createExperiment("applyCustomStylesheet", "Allow custom UI themes"); 284 this.applyCustomStylesheet = this._createExperiment("applyCustomStylesheet", "Allow custom UI themes");
285 this.workersInMainWindow = this._createExperiment("workersInMainWindow", "Sh ow workers in main window"); 285 this.workersInMainWindow = this._createExperiment("workersInMainWindow", "Sh ow workers in main window");
286 this.dockToLeft = this._createExperiment("dockToLeft", "Enable dock to left mode"); 286 this.dockToLeft = this._createExperiment("dockToLeft", "Enable dock to left mode");
287 this.allocationProfiler = this._createExperiment("allocationProfiler", "Enab le JavaScript heap allocation profiler"); 287 this.allocationProfiler = this._createExperiment("allocationProfiler", "Enab le JavaScript heap allocation profiler");
288 this.timelineFlameChart = this._createExperiment("timelineFlameChart", "Enab le FlameChart mode in Timeline"); 288 this.timelineFlameChart = this._createExperiment("timelineFlameChart", "Enab le FlameChart mode in Timeline");
289 this.heapSnapshotStatistics = this._createExperiment("heapSnapshotStatistics ", "Show memory breakdown statistics in heap snapshots"); 289 this.heapSnapshotStatistics = this._createExperiment("heapSnapshotStatistics ", "Show memory breakdown statistics in heap snapshots");
290 this.timelineNoLiveUpdate = this._createExperiment("timelineNoLiveUpdate", " Timeline w/o live update"); 290 this.timelineNoLiveUpdate = this._createExperiment("timelineNoLiveUpdate", " Timeline w/o live update");
291 this.cssStyleSearch = this._createExperiment("cssStyleSearch", "Enable Style s search and Computed style filtering");
291 292
292 this._cleanUpSetting(); 293 this._cleanUpSetting();
293 } 294 }
294 295
295 WebInspector.ExperimentsSettings.prototype = { 296 WebInspector.ExperimentsSettings.prototype = {
296 /** 297 /**
297 * @return {!Array.<!WebInspector.Experiment>} 298 * @return {!Array.<!WebInspector.Experiment>}
298 */ 299 */
299 get experiments() 300 get experiments()
300 { 301 {
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
599 { 600 {
600 // If there are too many breakpoints in a storage, it is likely due to a recent bug that caused 601 // If there are too many breakpoints in a storage, it is likely due to a recent bug that caused
601 // periodical breakpoints duplication leading to inspector slowness. 602 // periodical breakpoints duplication leading to inspector slowness.
602 if (breakpointsSetting.get().length > maxBreakpointsCount) 603 if (breakpointsSetting.get().length > maxBreakpointsCount)
603 breakpointsSetting.set([]); 604 breakpointsSetting.set([]);
604 } 605 }
605 } 606 }
606 607
607 WebInspector.settings = new WebInspector.Settings(); 608 WebInspector.settings = new WebInspector.Settings();
608 WebInspector.experimentsSettings = new WebInspector.ExperimentsSettings(WebInspe ctor.queryParam("experiments") !== null); 609 WebInspector.experimentsSettings = new WebInspector.ExperimentsSettings(WebInspe ctor.queryParam("experiments") !== null);
OLDNEW
« no previous file with comments | « Source/devtools/front_end/ElementsPanel.js ('k') | Source/devtools/front_end/StylesSidebarPane.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698