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

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: 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
« no previous file with comments | « Source/devtools/front_end/Settings.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) 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 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 WebInspector.settings.skipStackFramesSwitch.addChangeListener(this._skipStac kFramesSwitchOrPatternChanged, this); 334 WebInspector.settings.skipStackFramesSwitch.addChangeListener(this._skipStac kFramesSwitchOrPatternChanged, this);
335 WebInspector.settings.skipStackFramesPattern.addChangeListener(this._skipSta ckFramesSwitchOrPatternChanged, this); 335 WebInspector.settings.skipStackFramesPattern.addChangeListener(this._skipSta ckFramesSwitchOrPatternChanged, this);
336 336
337 p = this._appendSection(WebInspector.UIString("Profiler")); 337 p = this._appendSection(WebInspector.UIString("Profiler"));
338 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("Show advanced heap snapshot properties"), WebInspector.settings.showAdvan cedHeapSnapshotProperties));
339 p.appendChild(WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIS tring("High resolution CPU profiling"), WebInspector.settings.highResolutionCpuP rofiling)); 339 p.appendChild(WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIS tring("High resolution CPU profiling"), WebInspector.settings.highResolutionCpuP rofiling));
340 340
341 p = this._appendSection(WebInspector.UIString("Console")); 341 p = this._appendSection(WebInspector.UIString("Console"));
342 p.appendChild(WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIS tring("Log XMLHttpRequests"), WebInspector.settings.monitoringXHREnabled)); 342 p.appendChild(WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIS tring("Log XMLHttpRequests"), WebInspector.settings.monitoringXHREnabled));
343 p.appendChild(WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIS tring("Preserve log upon navigation"), WebInspector.settings.preserveConsoleLog) ); 343 p.appendChild(WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIS tring("Preserve log upon navigation"), WebInspector.settings.preserveConsoleLog) );
344 p.appendChild(WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIS tring("Show timestamps"), WebInspector.settings.consoleTimestampsEnabled));
344 345
345 if (WebInspector.openAnchorLocationRegistry.handlerNames.length > 0) { 346 if (WebInspector.openAnchorLocationRegistry.handlerNames.length > 0) {
346 var handlerSelector = new WebInspector.HandlerSelector(WebInspector.open AnchorLocationRegistry); 347 var handlerSelector = new WebInspector.HandlerSelector(WebInspector.open AnchorLocationRegistry);
347 p = this._appendSection(WebInspector.UIString("Extensions")); 348 p = this._appendSection(WebInspector.UIString("Extensions"));
348 p.appendChild(this._createCustomSetting(WebInspector.UIString("Open link s in"), handlerSelector.element)); 349 p.appendChild(this._createCustomSetting(WebInspector.UIString("Open link s in"), handlerSelector.element));
349 } 350 }
350 351
351 p = this._appendSection(); 352 p = this._appendSection();
352 353
353 var restoreDefaults = p.createChild("input", "settings-tab-text-button"); 354 var restoreDefaults = p.createChild("input", "settings-tab-text-button");
(...skipping 748 matching lines...) Expand 10 before | Expand all | Expand 10 after
1102 var inputElement = this._addInputElements[columnId]; 1103 var inputElement = this._addInputElements[columnId];
1103 inputElement.value = ""; 1104 inputElement.value = "";
1104 } 1105 }
1105 }, 1106 },
1106 1107
1107 __proto__: WebInspector.SettingsList.prototype 1108 __proto__: WebInspector.SettingsList.prototype
1108 } 1109 }
1109 1110
1110 /** @type {!WebInspector.SettingsController} */ 1111 /** @type {!WebInspector.SettingsController} */
1111 WebInspector.settingsController; 1112 WebInspector.settingsController;
OLDNEW
« no previous file with comments | « Source/devtools/front_end/Settings.js ('k') | Source/devtools/front_end/inspector.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698