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

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

Issue 23011021: DevTools: introduce screencast experiment. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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
« no previous file with comments | « Source/devtools/front_end/ScreencastView.js ('k') | Source/devtools/front_end/inspector.css » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 this.canvasInspection = this._createExperiment("canvasInspection ", "Canvas inspection"); 255 this.canvasInspection = this._createExperiment("canvasInspection ", "Canvas inspection");
256 this.cssRegions = this._createExperiment("cssRegions", "CSS Regions Support" ); 256 this.cssRegions = this._createExperiment("cssRegions", "CSS Regions Support" );
257 this.showOverridesInDrawer = this._createExperiment("showOverridesInDrawer", "Show Overrides in drawer"); 257 this.showOverridesInDrawer = this._createExperiment("showOverridesInDrawer", "Show Overrides in drawer");
258 this.customizableToolbar = this._createExperiment("customizableToolbar", "En able toolbar customization"); 258 this.customizableToolbar = this._createExperiment("customizableToolbar", "En able toolbar customization");
259 this.tethering = this._createExperiment("tethering", "Enable port forwarding "); 259 this.tethering = this._createExperiment("tethering", "Enable port forwarding ");
260 this.drawerOverlay = this._createExperiment("drawerOverlay", "Open console a s overlay"); 260 this.drawerOverlay = this._createExperiment("drawerOverlay", "Open console a s overlay");
261 this.frameworksDebuggingSupport = this._createExperiment("frameworksDebuggin gSupport", "Enable frameworks debugging support"); 261 this.frameworksDebuggingSupport = this._createExperiment("frameworksDebuggin gSupport", "Enable frameworks debugging support");
262 this.refreshFileSystemsOnFocus = this._createExperiment("refreshFileSystemsO nFocus", "Refresh file system folders on window focus"); 262 this.refreshFileSystemsOnFocus = this._createExperiment("refreshFileSystemsO nFocus", "Refresh file system folders on window focus");
263 this.scrollBeyondEndOfFile = this._createExperiment("scrollBeyondEndOfFile", "Support scrolling beyond end of file"); 263 this.scrollBeyondEndOfFile = this._createExperiment("scrollBeyondEndOfFile", "Support scrolling beyond end of file");
264 this.layersPanel = this._createExperiment("layersPanel", "Show Layers panel" ); 264 this.layersPanel = this._createExperiment("layersPanel", "Show Layers panel" );
265 this.screencast = this._createExperiment("screencast", "Enable screencast");
265 266
266 this._cleanUpSetting(); 267 this._cleanUpSetting();
267 } 268 }
268 269
269 WebInspector.ExperimentsSettings.prototype = { 270 WebInspector.ExperimentsSettings.prototype = {
270 /** 271 /**
271 * @return {Array.<WebInspector.Experiment>} 272 * @return {Array.<WebInspector.Experiment>}
272 */ 273 */
273 get experiments() 274 get experiments()
274 { 275 {
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
460 { 461 {
461 // If there are too many breakpoints in a storage, it is likely due to a recent bug that caused 462 // If there are too many breakpoints in a storage, it is likely due to a recent bug that caused
462 // periodical breakpoints duplication leading to inspector slowness. 463 // periodical breakpoints duplication leading to inspector slowness.
463 if (breakpointsSetting.get().length > maxBreakpointsCount) 464 if (breakpointsSetting.get().length > maxBreakpointsCount)
464 breakpointsSetting.set([]); 465 breakpointsSetting.set([]);
465 } 466 }
466 } 467 }
467 468
468 WebInspector.settings = new WebInspector.Settings(); 469 WebInspector.settings = new WebInspector.Settings();
469 WebInspector.experimentsSettings = new WebInspector.ExperimentsSettings(); 470 WebInspector.experimentsSettings = new WebInspector.ExperimentsSettings();
OLDNEW
« no previous file with comments | « Source/devtools/front_end/ScreencastView.js ('k') | Source/devtools/front_end/inspector.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698