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

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: Fixed apavlov's comments 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 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 WebInspector.settings.skipStackFramesSwitch.addChangeListener(this._skipStac kFramesSwitchOrPatternChanged, this); 338 WebInspector.settings.skipStackFramesSwitch.addChangeListener(this._skipStac kFramesSwitchOrPatternChanged, this);
339 WebInspector.settings.skipStackFramesPattern.addChangeListener(this._skipSta ckFramesSwitchOrPatternChanged, this); 339 WebInspector.settings.skipStackFramesPattern.addChangeListener(this._skipSta ckFramesSwitchOrPatternChanged, this);
340 340
341 p = this._appendSection(WebInspector.UIString("Profiler")); 341 p = this._appendSection(WebInspector.UIString("Profiler"));
342 p.appendChild(WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIS tring("Show advanced heap snapshot properties"), WebInspector.settings.showAdvan cedHeapSnapshotProperties)); 342 p.appendChild(WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIS tring("Show advanced heap snapshot properties"), WebInspector.settings.showAdvan cedHeapSnapshotProperties));
343 p.appendChild(WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIS tring("High resolution CPU profiling"), WebInspector.settings.highResolutionCpuP rofiling)); 343 p.appendChild(WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIS tring("High resolution CPU profiling"), WebInspector.settings.highResolutionCpuP rofiling));
344 344
345 p = this._appendSection(WebInspector.UIString("Console")); 345 p = this._appendSection(WebInspector.UIString("Console"));
346 p.appendChild(WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIS tring("Log XMLHttpRequests"), WebInspector.settings.monitoringXHREnabled)); 346 p.appendChild(WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIS tring("Log XMLHttpRequests"), WebInspector.settings.monitoringXHREnabled));
347 p.appendChild(WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIS tring("Preserve log upon navigation"), WebInspector.settings.preserveConsoleLog) ); 347 p.appendChild(WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIS tring("Preserve log upon navigation"), WebInspector.settings.preserveConsoleLog) );
348 p.appendChild(WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIS tring("Show timestamps"), WebInspector.settings.consoleTimestampsEnabled));
348 349
349 if (WebInspector.openAnchorLocationRegistry.handlerNames.length > 0) { 350 if (WebInspector.openAnchorLocationRegistry.handlerNames.length > 0) {
350 var handlerSelector = new WebInspector.HandlerSelector(WebInspector.open AnchorLocationRegistry); 351 var handlerSelector = new WebInspector.HandlerSelector(WebInspector.open AnchorLocationRegistry);
351 p = this._appendSection(WebInspector.UIString("Extensions")); 352 p = this._appendSection(WebInspector.UIString("Extensions"));
352 p.appendChild(this._createCustomSetting(WebInspector.UIString("Open link s in"), handlerSelector.element)); 353 p.appendChild(this._createCustomSetting(WebInspector.UIString("Open link s in"), handlerSelector.element));
353 } 354 }
354 355
355 p = this._appendSection(); 356 p = this._appendSection();
356 357
357 var restoreDefaults = p.createChild("input", "settings-tab-text-button"); 358 var restoreDefaults = p.createChild("input", "settings-tab-text-button");
(...skipping 748 matching lines...) Expand 10 before | Expand all | Expand 10 after
1106 var inputElement = this._addInputElements[columnId]; 1107 var inputElement = this._addInputElements[columnId];
1107 inputElement.value = ""; 1108 inputElement.value = "";
1108 } 1109 }
1109 }, 1110 },
1110 1111
1111 __proto__: WebInspector.SettingsList.prototype 1112 __proto__: WebInspector.SettingsList.prototype
1112 } 1113 }
1113 1114
1114 /** @type {!WebInspector.SettingsController} */ 1115 /** @type {!WebInspector.SettingsController} */
1115 WebInspector.settingsController; 1116 WebInspector.settingsController;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698