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

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

Issue 23818003: Revert "Allow configuring CPU profiler sampling interval" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 3 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
« no previous file with comments | « Source/devtools/front_end/ProfilesPanel.js ('k') | Source/devtools/front_end/SettingsScreen.js » ('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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 this.emulateTouchEvents = this.createSetting("emulateTouchEvents", false); 83 this.emulateTouchEvents = this.createSetting("emulateTouchEvents", false);
84 this.showShadowDOM = this.createSetting("showShadowDOM", false); 84 this.showShadowDOM = this.createSetting("showShadowDOM", false);
85 this.zoomLevel = this.createSetting("zoomLevel", 0); 85 this.zoomLevel = this.createSetting("zoomLevel", 0);
86 this.savedURLs = this.createSetting("savedURLs", {}); 86 this.savedURLs = this.createSetting("savedURLs", {});
87 this.javaScriptDisabled = this.createSetting("javaScriptDisabled", false); 87 this.javaScriptDisabled = this.createSetting("javaScriptDisabled", false);
88 this.overrideGeolocation = this.createSetting("overrideGeolocation", false); 88 this.overrideGeolocation = this.createSetting("overrideGeolocation", false);
89 this.geolocationOverride = this.createSetting("geolocationOverride", ""); 89 this.geolocationOverride = this.createSetting("geolocationOverride", "");
90 this.overrideDeviceOrientation = this.createSetting("overrideDeviceOrientati on", false); 90 this.overrideDeviceOrientation = this.createSetting("overrideDeviceOrientati on", false);
91 this.deviceOrientationOverride = this.createSetting("deviceOrientationOverri de", ""); 91 this.deviceOrientationOverride = this.createSetting("deviceOrientationOverri de", "");
92 this.showAdvancedHeapSnapshotProperties = this.createSetting("showAdvancedHe apSnapshotProperties", false); 92 this.showAdvancedHeapSnapshotProperties = this.createSetting("showAdvancedHe apSnapshotProperties", false);
93 this.highResolutionCpuProfiling = this.createSetting("highResolutionCpuProfi ling", false);
94 this.searchInContentScripts = this.createSetting("searchInContentScripts", f alse); 93 this.searchInContentScripts = this.createSetting("searchInContentScripts", f alse);
95 this.textEditorIndent = this.createSetting("textEditorIndent", " "); 94 this.textEditorIndent = this.createSetting("textEditorIndent", " ");
96 this.textEditorAutoDetectIndent = this.createSetting("textEditorAutoIndentIn dent", true); 95 this.textEditorAutoDetectIndent = this.createSetting("textEditorAutoIndentIn dent", true);
97 this.lastDockState = this.createSetting("lastDockState", ""); 96 this.lastDockState = this.createSetting("lastDockState", "");
98 this.cssReloadEnabled = this.createSetting("cssReloadEnabled", false); 97 this.cssReloadEnabled = this.createSetting("cssReloadEnabled", false);
99 this.showCpuOnTimelineRuler = this.createSetting("showCpuOnTimelineRuler", f alse); 98 this.showCpuOnTimelineRuler = this.createSetting("showCpuOnTimelineRuler", f alse);
100 this.timelineStackFramesToCapture = this.createSetting("timelineStackFramesT oCapture", 30); 99 this.timelineStackFramesToCapture = this.createSetting("timelineStackFramesT oCapture", 30);
101 this.timelineLimitStackFramesFlag = this.createSetting("timelineLimitStackFr amesFlag", false); 100 this.timelineLimitStackFramesFlag = this.createSetting("timelineLimitStackFr amesFlag", false);
102 this.showMetricsRulers = this.createSetting("showMetricsRulers", false); 101 this.showMetricsRulers = this.createSetting("showMetricsRulers", false);
103 this.overrideCSSMedia = this.createSetting("overrideCSSMedia", false); 102 this.overrideCSSMedia = this.createSetting("overrideCSSMedia", false);
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 { 467 {
469 // If there are too many breakpoints in a storage, it is likely due to a recent bug that caused 468 // If there are too many breakpoints in a storage, it is likely due to a recent bug that caused
470 // periodical breakpoints duplication leading to inspector slowness. 469 // periodical breakpoints duplication leading to inspector slowness.
471 if (breakpointsSetting.get().length > maxBreakpointsCount) 470 if (breakpointsSetting.get().length > maxBreakpointsCount)
472 breakpointsSetting.set([]); 471 breakpointsSetting.set([]);
473 } 472 }
474 } 473 }
475 474
476 WebInspector.settings = new WebInspector.Settings(); 475 WebInspector.settings = new WebInspector.Settings();
477 WebInspector.experimentsSettings = new WebInspector.ExperimentsSettings(); 476 WebInspector.experimentsSettings = new WebInspector.ExperimentsSettings();
OLDNEW
« no previous file with comments | « Source/devtools/front_end/ProfilesPanel.js ('k') | Source/devtools/front_end/SettingsScreen.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698