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

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

Issue 102833003: DevTools: Add a checkbox to enable async stacks in the sidebar header. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: addressed Created 7 years 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/Settings.js ('k') | Source/devtools/front_end/sidebarPane.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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 if (WebInspector.experimentsSettings.frameworksDebuggingSupport.isEnabled()) { 388 if (WebInspector.experimentsSettings.frameworksDebuggingSupport.isEnabled()) {
389 checkbox = WebInspector.SettingsTab.createSettingCheckbox(WebInspector.U IString("Skip stepping through sources with particular names"), WebInspector.set tings.skipStackFramesSwitch); 389 checkbox = WebInspector.SettingsTab.createSettingCheckbox(WebInspector.U IString("Skip stepping through sources with particular names"), WebInspector.set tings.skipStackFramesSwitch);
390 fieldset = WebInspector.SettingsTab.createSettingFieldset(WebInspector.s ettings.skipStackFramesSwitch); 390 fieldset = WebInspector.SettingsTab.createSettingFieldset(WebInspector.s ettings.skipStackFramesSwitch);
391 fieldset.appendChild(this._createInputSetting(WebInspector.UIString("Pat tern"), WebInspector.settings.skipStackFramesPattern, false, 1000, "100px", WebI nspector.SettingsScreen.regexValidator)); 391 fieldset.appendChild(this._createInputSetting(WebInspector.UIString("Pat tern"), WebInspector.settings.skipStackFramesPattern, false, 1000, "100px", WebI nspector.SettingsScreen.regexValidator));
392 checkbox.appendChild(fieldset); 392 checkbox.appendChild(fieldset);
393 p.appendChild(checkbox); 393 p.appendChild(checkbox);
394 } 394 }
395 WebInspector.settings.skipStackFramesSwitch.addChangeListener(this._skipStac kFramesSwitchOrPatternChanged, this); 395 WebInspector.settings.skipStackFramesSwitch.addChangeListener(this._skipStac kFramesSwitchOrPatternChanged, this);
396 WebInspector.settings.skipStackFramesPattern.addChangeListener(this._skipSta ckFramesSwitchOrPatternChanged, this); 396 WebInspector.settings.skipStackFramesPattern.addChangeListener(this._skipSta ckFramesSwitchOrPatternChanged, this);
397 397
398 p.appendChild(WebInspector.SettingsTab.createSettingCheckbox(WebInspector.UI String("Enable async stack traces"), WebInspector.settings.enableAsyncStackTrace s));
399
400 p = this._appendSection(WebInspector.UIString("Profiler")); 398 p = this._appendSection(WebInspector.UIString("Profiler"));
401 p.appendChild(WebInspector.SettingsTab.createSettingCheckbox(WebInspector.UI String("Show advanced heap snapshot properties"), WebInspector.settings.showAdva ncedHeapSnapshotProperties)); 399 p.appendChild(WebInspector.SettingsTab.createSettingCheckbox(WebInspector.UI String("Show advanced heap snapshot properties"), WebInspector.settings.showAdva ncedHeapSnapshotProperties));
402 p.appendChild(WebInspector.SettingsTab.createSettingCheckbox(WebInspector.UI String("High resolution CPU profiling"), WebInspector.settings.highResolutionCpu Profiling)); 400 p.appendChild(WebInspector.SettingsTab.createSettingCheckbox(WebInspector.UI String("High resolution CPU profiling"), WebInspector.settings.highResolutionCpu Profiling));
403 401
404 p = this._appendSection(WebInspector.UIString("Console")); 402 p = this._appendSection(WebInspector.UIString("Console"));
405 p.appendChild(WebInspector.SettingsTab.createSettingCheckbox(WebInspector.UI String("Log XMLHttpRequests"), WebInspector.settings.monitoringXHREnabled)); 403 p.appendChild(WebInspector.SettingsTab.createSettingCheckbox(WebInspector.UI String("Log XMLHttpRequests"), WebInspector.settings.monitoringXHREnabled));
406 p.appendChild(WebInspector.SettingsTab.createSettingCheckbox(WebInspector.UI String("Preserve log upon navigation"), WebInspector.settings.preserveConsoleLog )); 404 p.appendChild(WebInspector.SettingsTab.createSettingCheckbox(WebInspector.UI String("Preserve log upon navigation"), WebInspector.settings.preserveConsoleLog ));
407 405
408 if (WebInspector.extensionServer.hasExtensions()) { 406 if (WebInspector.extensionServer.hasExtensions()) {
409 var handlerSelector = new WebInspector.HandlerSelector(WebInspector.open AnchorLocationRegistry); 407 var handlerSelector = new WebInspector.HandlerSelector(WebInspector.open AnchorLocationRegistry);
(...skipping 740 matching lines...) Expand 10 before | Expand all | Expand 10 after
1150 var columns = this.columns(); 1148 var columns = this.columns();
1151 for (var i = 0; i < columns.length; ++i) { 1149 for (var i = 0; i < columns.length; ++i) {
1152 var columnId = columns[i]; 1150 var columnId = columns[i];
1153 var inputElement = this._addInputElements[columnId]; 1151 var inputElement = this._addInputElements[columnId];
1154 inputElement.value = ""; 1152 inputElement.value = "";
1155 } 1153 }
1156 }, 1154 },
1157 1155
1158 __proto__: WebInspector.SettingsList.prototype 1156 __proto__: WebInspector.SettingsList.prototype
1159 } 1157 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/Settings.js ('k') | Source/devtools/front_end/sidebarPane.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698