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

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

Issue 648263002: DevTools: [Console] checkbox to hide network messages (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix eustas comments Created 6 years, 2 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 | « no previous file | Source/devtools/front_end/components/FilterBar.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 24 matching lines...) Expand all
35 { 35 {
36 this._eventSupport = new WebInspector.Object(); 36 this._eventSupport = new WebInspector.Object();
37 this._registry = /** @type {!Object.<string, !WebInspector.Setting>} */ ({}) ; 37 this._registry = /** @type {!Object.<string, !WebInspector.Setting>} */ ({}) ;
38 38
39 this.colorFormat = this.createSetting("colorFormat", "original"); 39 this.colorFormat = this.createSetting("colorFormat", "original");
40 this.consoleHistory = this.createSetting("consoleHistory", []); 40 this.consoleHistory = this.createSetting("consoleHistory", []);
41 this.domWordWrap = this.createSetting("domWordWrap", true); 41 this.domWordWrap = this.createSetting("domWordWrap", true);
42 this.eventListenersFilter = this.createSetting("eventListenersFilter", "all" ); 42 this.eventListenersFilter = this.createSetting("eventListenersFilter", "all" );
43 this.lastViewedScriptFile = this.createSetting("lastViewedScriptFile", "appl ication"); 43 this.lastViewedScriptFile = this.createSetting("lastViewedScriptFile", "appl ication");
44 this.monitoringXHREnabled = this.createSetting("monitoringXHREnabled", false ); 44 this.monitoringXHREnabled = this.createSetting("monitoringXHREnabled", false );
45 this.hideNetworkMessages = this.createSetting("hideNetworkMessages", false);
45 this.preserveConsoleLog = this.createSetting("preserveConsoleLog", false); 46 this.preserveConsoleLog = this.createSetting("preserveConsoleLog", false);
46 this.consoleTimestampsEnabled = this.createSetting("consoleTimestampsEnabled ", false); 47 this.consoleTimestampsEnabled = this.createSetting("consoleTimestampsEnabled ", false);
47 this.resourcesLargeRows = this.createSetting("resourcesLargeRows", true); 48 this.resourcesLargeRows = this.createSetting("resourcesLargeRows", true);
48 this.resourcesSortOptions = this.createSetting("resourcesSortOptions", {time Option: "responseTime", sizeOption: "transferSize"}); 49 this.resourcesSortOptions = this.createSetting("resourcesSortOptions", {time Option: "responseTime", sizeOption: "transferSize"});
49 this.resourceViewTab = this.createSetting("resourceViewTab", "preview"); 50 this.resourceViewTab = this.createSetting("resourceViewTab", "preview");
50 this.showInheritedComputedStyleProperties = this.createSetting("showInherite dComputedStyleProperties", false); 51 this.showInheritedComputedStyleProperties = this.createSetting("showInherite dComputedStyleProperties", false);
51 this.showUserAgentStyles = this.createSetting("showUserAgentStyles", true); 52 this.showUserAgentStyles = this.createSetting("showUserAgentStyles", true);
52 this.watchExpressions = this.createSetting("watchExpressions", []); 53 this.watchExpressions = this.createSetting("watchExpressions", []);
53 this.breakpoints = this.createSetting("breakpoints", []); 54 this.breakpoints = this.createSetting("breakpoints", []);
54 this.eventListenerBreakpoints = this.createSetting("eventListenerBreakpoints ", []); 55 this.eventListenerBreakpoints = this.createSetting("eventListenerBreakpoints ", []);
(...skipping 576 matching lines...) Expand 10 before | Expand all | Expand 10 after
631 632
632 _fireChangedIfNeeded: function() 633 _fireChangedIfNeeded: function()
633 { 634 {
634 var newValue = this._calculateValue(); 635 var newValue = this._calculateValue();
635 if (newValue === this._value) 636 if (newValue === this._value)
636 return; 637 return;
637 this._value = newValue; 638 this._value = newValue;
638 this._eventSupport.dispatchEventToListeners(this._name, this._value); 639 this._eventSupport.dispatchEventToListeners(this._name, this._value);
639 } 640 }
640 } 641 }
OLDNEW
« no previous file with comments | « no previous file | Source/devtools/front_end/components/FilterBar.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698