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

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

Issue 649633005: DevTools: fix nowrap style in the elements panel. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/devtools/front_end/elements/ElementsPanel.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 20 matching lines...) Expand all
31 /** 31 /**
32 * @constructor 32 * @constructor
33 */ 33 */
34 WebInspector.Settings = function() 34 WebInspector.Settings = function()
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", false);
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.hideNetworkMessages = this.createSetting("hideNetworkMessages", false);
46 this.preserveConsoleLog = this.createSetting("preserveConsoleLog", false); 46 this.preserveConsoleLog = this.createSetting("preserveConsoleLog", false);
47 this.consoleTimestampsEnabled = this.createSetting("consoleTimestampsEnabled ", false); 47 this.consoleTimestampsEnabled = this.createSetting("consoleTimestampsEnabled ", false);
48 this.resourcesLargeRows = this.createSetting("resourcesLargeRows", true); 48 this.resourcesLargeRows = this.createSetting("resourcesLargeRows", true);
49 this.resourcesSortOptions = this.createSetting("resourcesSortOptions", {time Option: "responseTime", sizeOption: "transferSize"}); 49 this.resourcesSortOptions = this.createSetting("resourcesSortOptions", {time Option: "responseTime", sizeOption: "transferSize"});
50 this.resourceViewTab = this.createSetting("resourceViewTab", "preview"); 50 this.resourceViewTab = this.createSetting("resourceViewTab", "preview");
51 this.showInheritedComputedStyleProperties = this.createSetting("showInherite dComputedStyleProperties", false); 51 this.showInheritedComputedStyleProperties = this.createSetting("showInherite dComputedStyleProperties", false);
(...skipping 580 matching lines...) Expand 10 before | Expand all | Expand 10 after
632 632
633 _fireChangedIfNeeded: function() 633 _fireChangedIfNeeded: function()
634 { 634 {
635 var newValue = this._calculateValue(); 635 var newValue = this._calculateValue();
636 if (newValue === this._value) 636 if (newValue === this._value)
637 return; 637 return;
638 this._value = newValue; 638 this._value = newValue;
639 this._eventSupport.dispatchEventToListeners(this._name, this._value); 639 this._eventSupport.dispatchEventToListeners(this._name, this._value);
640 } 640 }
641 } 641 }
OLDNEW
« no previous file with comments | « no previous file | Source/devtools/front_end/elements/ElementsPanel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698