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

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

Issue 23474010: DevTools: "Jump between editing locations" experiment (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: address @vsevik comments Created 6 years, 11 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 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 this.fileSystemInspection = this._createExperiment("fileSystemInspection", " FileSystem inspection"); 271 this.fileSystemInspection = this._createExperiment("fileSystemInspection", " FileSystem inspection");
272 this.canvasInspection = this._createExperiment("canvasInspection ", "Canvas inspection"); 272 this.canvasInspection = this._createExperiment("canvasInspection ", "Canvas inspection");
273 this.cssRegions = this._createExperiment("cssRegions", "CSS Regions Support" ); 273 this.cssRegions = this._createExperiment("cssRegions", "CSS Regions Support" );
274 this.frameworksDebuggingSupport = this._createExperiment("frameworksDebuggin gSupport", "Enable frameworks debugging support"); 274 this.frameworksDebuggingSupport = this._createExperiment("frameworksDebuggin gSupport", "Enable frameworks debugging support");
275 this.layersPanel = this._createExperiment("layersPanel", "Show Layers panel" ); 275 this.layersPanel = this._createExperiment("layersPanel", "Show Layers panel" );
276 this.stepIntoSelection = this._createExperiment("stepIntoSelection", "Show s tep-in candidates while debugging."); 276 this.stepIntoSelection = this._createExperiment("stepIntoSelection", "Show s tep-in candidates while debugging.");
277 this.doNotOpenDrawerOnEsc = this._createExperiment("doNotOpenDrawerWithEsc", "Do not open drawer on Esc"); 277 this.doNotOpenDrawerOnEsc = this._createExperiment("doNotOpenDrawerWithEsc", "Do not open drawer on Esc");
278 this.showEditorInDrawer = this._createExperiment("showEditorInDrawer", "Show editor in drawer"); 278 this.showEditorInDrawer = this._createExperiment("showEditorInDrawer", "Show editor in drawer");
279 this.gpuTimeline = this._createExperiment("gpuTimeline", "Show GPU data on t imeline"); 279 this.gpuTimeline = this._createExperiment("gpuTimeline", "Show GPU data on t imeline");
280 this.applyCustomStylesheet = this._createExperiment("applyCustomStylesheet", "Allow custom UI themes"); 280 this.applyCustomStylesheet = this._createExperiment("applyCustomStylesheet", "Allow custom UI themes");
281 this.jumpToPreviousLocation = this._createExperiment("jumpToPreviousLocation ", "Jump between editing locations with Alt+/Alt-");
281 282
282 this._cleanUpSetting(); 283 this._cleanUpSetting();
283 } 284 }
284 285
285 WebInspector.ExperimentsSettings.prototype = { 286 WebInspector.ExperimentsSettings.prototype = {
286 /** 287 /**
287 * @return {!Array.<!WebInspector.Experiment>} 288 * @return {!Array.<!WebInspector.Experiment>}
288 */ 289 */
289 get experiments() 290 get experiments()
290 { 291 {
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 { 478 {
478 // If there are too many breakpoints in a storage, it is likely due to a recent bug that caused 479 // If there are too many breakpoints in a storage, it is likely due to a recent bug that caused
479 // periodical breakpoints duplication leading to inspector slowness. 480 // periodical breakpoints duplication leading to inspector slowness.
480 if (breakpointsSetting.get().length > maxBreakpointsCount) 481 if (breakpointsSetting.get().length > maxBreakpointsCount)
481 breakpointsSetting.set([]); 482 breakpointsSetting.set([]);
482 } 483 }
483 } 484 }
484 485
485 WebInspector.settings = new WebInspector.Settings(); 486 WebInspector.settings = new WebInspector.Settings();
486 WebInspector.experimentsSettings = new WebInspector.ExperimentsSettings(); 487 WebInspector.experimentsSettings = new WebInspector.ExperimentsSettings();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698