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

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

Issue 129793013: DevTools: Implement Styles search and Computed style filter (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Move Computed style filter to the bottom Created 6 years, 10 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 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 this.stepIntoSelection = this._createExperiment("stepIntoSelection", "Show s tep-in candidates while debugging."); 284 this.stepIntoSelection = this._createExperiment("stepIntoSelection", "Show s tep-in candidates while debugging.");
285 this.doNotOpenDrawerOnEsc = this._createExperiment("doNotOpenDrawerWithEsc", "Do not open drawer on Esc"); 285 this.doNotOpenDrawerOnEsc = this._createExperiment("doNotOpenDrawerWithEsc", "Do not open drawer on Esc");
286 this.showEditorInDrawer = this._createExperiment("showEditorInDrawer", "Show editor in drawer"); 286 this.showEditorInDrawer = this._createExperiment("showEditorInDrawer", "Show editor in drawer");
287 this.gpuTimeline = this._createExperiment("gpuTimeline", "Show GPU data on t imeline"); 287 this.gpuTimeline = this._createExperiment("gpuTimeline", "Show GPU data on t imeline");
288 this.applyCustomStylesheet = this._createExperiment("applyCustomStylesheet", "Allow custom UI themes"); 288 this.applyCustomStylesheet = this._createExperiment("applyCustomStylesheet", "Allow custom UI themes");
289 this.workersInMainWindow = this._createExperiment("workersInMainWindow", "Sh ow workers in main window"); 289 this.workersInMainWindow = this._createExperiment("workersInMainWindow", "Sh ow workers in main window");
290 this.dockToLeft = this._createExperiment("dockToLeft", "Enable dock to left mode"); 290 this.dockToLeft = this._createExperiment("dockToLeft", "Enable dock to left mode");
291 this.allocationProfiler = this._createExperiment("allocationProfiler", "Enab le JavaScript heap allocation profiler"); 291 this.allocationProfiler = this._createExperiment("allocationProfiler", "Enab le JavaScript heap allocation profiler");
292 this.asyncStackTraces = this._createExperiment("asyncStackTraces", "Enable s upport for async stack traces"); 292 this.asyncStackTraces = this._createExperiment("asyncStackTraces", "Enable s upport for async stack traces");
293 this.timelineFlameChart = this._createExperiment("timelineFlameChart", "Enab le FlameChart mode in Timeline"); 293 this.timelineFlameChart = this._createExperiment("timelineFlameChart", "Enab le FlameChart mode in Timeline");
294 this.cssStyleSearch = this._createExperiment("cssStyleSearch", "Enable Style s search and Computed style filtering");
294 295
295 this._cleanUpSetting(); 296 this._cleanUpSetting();
296 } 297 }
297 298
298 WebInspector.ExperimentsSettings.prototype = { 299 WebInspector.ExperimentsSettings.prototype = {
299 /** 300 /**
300 * @return {!Array.<!WebInspector.Experiment>} 301 * @return {!Array.<!WebInspector.Experiment>}
301 */ 302 */
302 get experiments() 303 get experiments()
303 { 304 {
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
490 { 491 {
491 // If there are too many breakpoints in a storage, it is likely due to a recent bug that caused 492 // If there are too many breakpoints in a storage, it is likely due to a recent bug that caused
492 // periodical breakpoints duplication leading to inspector slowness. 493 // periodical breakpoints duplication leading to inspector slowness.
493 if (breakpointsSetting.get().length > maxBreakpointsCount) 494 if (breakpointsSetting.get().length > maxBreakpointsCount)
494 breakpointsSetting.set([]); 495 breakpointsSetting.set([]);
495 } 496 }
496 } 497 }
497 498
498 WebInspector.settings = new WebInspector.Settings(); 499 WebInspector.settings = new WebInspector.Settings();
499 WebInspector.experimentsSettings = new WebInspector.ExperimentsSettings(); 500 WebInspector.experimentsSettings = new WebInspector.ExperimentsSettings();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698