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

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

Issue 185713007: DevTools: Add timestamp support in the console (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Make repeat count work Created 6 years, 9 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) 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 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 WebInspector.settings.skipStackFramesSwitch.addChangeListener(this._skipStac kFramesSwitchOrPatternChanged, this); 333 WebInspector.settings.skipStackFramesSwitch.addChangeListener(this._skipStac kFramesSwitchOrPatternChanged, this);
334 WebInspector.settings.skipStackFramesPattern.addChangeListener(this._skipSta ckFramesSwitchOrPatternChanged, this); 334 WebInspector.settings.skipStackFramesPattern.addChangeListener(this._skipSta ckFramesSwitchOrPatternChanged, this);
335 335
336 p = this._appendSection(WebInspector.UIString("Profiler")); 336 p = this._appendSection(WebInspector.UIString("Profiler"));
337 p.appendChild(WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIS tring("Show advanced heap snapshot properties"), WebInspector.settings.showAdvan cedHeapSnapshotProperties)); 337 p.appendChild(WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIS tring("Show advanced heap snapshot properties"), WebInspector.settings.showAdvan cedHeapSnapshotProperties));
338 p.appendChild(WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIS tring("High resolution CPU profiling"), WebInspector.settings.highResolutionCpuP rofiling)); 338 p.appendChild(WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIS tring("High resolution CPU profiling"), WebInspector.settings.highResolutionCpuP rofiling));
339 339
340 p = this._appendSection(WebInspector.UIString("Console")); 340 p = this._appendSection(WebInspector.UIString("Console"));
341 p.appendChild(WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIS tring("Log XMLHttpRequests"), WebInspector.settings.monitoringXHREnabled)); 341 p.appendChild(WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIS tring("Log XMLHttpRequests"), WebInspector.settings.monitoringXHREnabled));
342 p.appendChild(WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIS tring("Preserve log upon navigation"), WebInspector.settings.preserveConsoleLog) ); 342 p.appendChild(WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIS tring("Preserve log upon navigation"), WebInspector.settings.preserveConsoleLog) );
343 p.appendChild(WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIS tring("Show timestamps"), WebInspector.settings.consoleTimestampsEnabled));
343 344
344 if (WebInspector.openAnchorLocationRegistry.handlerNames.length > 0) { 345 if (WebInspector.openAnchorLocationRegistry.handlerNames.length > 0) {
345 var handlerSelector = new WebInspector.HandlerSelector(WebInspector.open AnchorLocationRegistry); 346 var handlerSelector = new WebInspector.HandlerSelector(WebInspector.open AnchorLocationRegistry);
346 p = this._appendSection(WebInspector.UIString("Extensions")); 347 p = this._appendSection(WebInspector.UIString("Extensions"));
347 p.appendChild(this._createCustomSetting(WebInspector.UIString("Open link s in"), handlerSelector.element)); 348 p.appendChild(this._createCustomSetting(WebInspector.UIString("Open link s in"), handlerSelector.element));
348 } 349 }
349 350
350 p = this._appendSection(); 351 p = this._appendSection();
351 352
352 var restoreDefaults = p.createChild("input", "settings-tab-text-button"); 353 var restoreDefaults = p.createChild("input", "settings-tab-text-button");
(...skipping 754 matching lines...) Expand 10 before | Expand all | Expand 10 after
1107 var inputElement = this._addInputElements[columnId]; 1108 var inputElement = this._addInputElements[columnId];
1108 inputElement.value = ""; 1109 inputElement.value = "";
1109 } 1110 }
1110 }, 1111 },
1111 1112
1112 __proto__: WebInspector.SettingsList.prototype 1113 __proto__: WebInspector.SettingsList.prototype
1113 } 1114 }
1114 1115
1115 /** @type {!WebInspector.SettingsController} */ 1116 /** @type {!WebInspector.SettingsController} */
1116 WebInspector.settingsController; 1117 WebInspector.settingsController;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698