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

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

Powered by Google App Engine
This is Rietveld 408576698