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

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

Issue 25735003: Add text autosizing override in the inspector. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix typeo Created 7 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 | « Source/devtools/front_end/OverridesView.js ('k') | Source/devtools/protocol.json » ('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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 this.textEditorIndent = this.createSetting("textEditorIndent", " "); 95 this.textEditorIndent = this.createSetting("textEditorIndent", " ");
96 this.textEditorAutoDetectIndent = this.createSetting("textEditorAutoIndentIn dent", true); 96 this.textEditorAutoDetectIndent = this.createSetting("textEditorAutoIndentIn dent", true);
97 this.lastDockState = this.createSetting("lastDockState", ""); 97 this.lastDockState = this.createSetting("lastDockState", "");
98 this.cssReloadEnabled = this.createSetting("cssReloadEnabled", false); 98 this.cssReloadEnabled = this.createSetting("cssReloadEnabled", false);
99 this.showCpuOnTimelineRuler = this.createSetting("showCpuOnTimelineRuler", f alse); 99 this.showCpuOnTimelineRuler = this.createSetting("showCpuOnTimelineRuler", f alse);
100 this.timelineStackFramesToCapture = this.createSetting("timelineStackFramesT oCapture", 30); 100 this.timelineStackFramesToCapture = this.createSetting("timelineStackFramesT oCapture", 30);
101 this.timelineLimitStackFramesFlag = this.createSetting("timelineLimitStackFr amesFlag", false); 101 this.timelineLimitStackFramesFlag = this.createSetting("timelineLimitStackFr amesFlag", false);
102 this.showMetricsRulers = this.createSetting("showMetricsRulers", false); 102 this.showMetricsRulers = this.createSetting("showMetricsRulers", false);
103 this.overrideCSSMedia = this.createSetting("overrideCSSMedia", false); 103 this.overrideCSSMedia = this.createSetting("overrideCSSMedia", false);
104 this.emulatedCSSMedia = this.createSetting("emulatedCSSMedia", "print"); 104 this.emulatedCSSMedia = this.createSetting("emulatedCSSMedia", "print");
105 this.overrideTextAutosizing = this.createSetting("overrideTextAutosizing", f alse);
106 this.enableTextAutosizing = this.createSetting("enableTextAutosizing", false );
105 this.workerInspectorWidth = this.createSetting("workerInspectorWidth", 600); 107 this.workerInspectorWidth = this.createSetting("workerInspectorWidth", 600);
106 this.workerInspectorHeight = this.createSetting("workerInspectorHeight", 600 ); 108 this.workerInspectorHeight = this.createSetting("workerInspectorHeight", 600 );
107 this.messageURLFilters = this.createSetting("messageURLFilters", {}); 109 this.messageURLFilters = this.createSetting("messageURLFilters", {});
108 this.messageSourceFilters = this.createSetting("messageSourceFilters", {"CSS ": true}); 110 this.messageSourceFilters = this.createSetting("messageSourceFilters", {"CSS ": true});
109 this.messageLevelFilters = this.createSetting("messageLevelFilters", {}); 111 this.messageLevelFilters = this.createSetting("messageLevelFilters", {});
110 this.splitVerticallyWhenDockedToRight = this.createSetting("splitVerticallyW henDockedToRight", true); 112 this.splitVerticallyWhenDockedToRight = this.createSetting("splitVerticallyW henDockedToRight", true);
111 this.visiblePanels = this.createSetting("visiblePanels", {}); 113 this.visiblePanels = this.createSetting("visiblePanels", {});
112 this.shortcutPanelSwitch = this.createSetting("shortcutPanelSwitch", false); 114 this.shortcutPanelSwitch = this.createSetting("shortcutPanelSwitch", false);
113 this.showWhitespacesInEditor = this.createSetting("showWhitespacesInEditor", false); 115 this.showWhitespacesInEditor = this.createSetting("showWhitespacesInEditor", false);
114 this.skipStackFramesSwitch = this.createSetting("skipStackFramesSwitch", fal se); 116 this.skipStackFramesSwitch = this.createSetting("skipStackFramesSwitch", fal se);
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 { 470 {
469 // If there are too many breakpoints in a storage, it is likely due to a recent bug that caused 471 // If there are too many breakpoints in a storage, it is likely due to a recent bug that caused
470 // periodical breakpoints duplication leading to inspector slowness. 472 // periodical breakpoints duplication leading to inspector slowness.
471 if (breakpointsSetting.get().length > maxBreakpointsCount) 473 if (breakpointsSetting.get().length > maxBreakpointsCount)
472 breakpointsSetting.set([]); 474 breakpointsSetting.set([]);
473 } 475 }
474 } 476 }
475 477
476 WebInspector.settings = new WebInspector.Settings(); 478 WebInspector.settings = new WebInspector.Settings();
477 WebInspector.experimentsSettings = new WebInspector.ExperimentsSettings(); 479 WebInspector.experimentsSettings = new WebInspector.ExperimentsSettings();
OLDNEW
« no previous file with comments | « Source/devtools/front_end/OverridesView.js ('k') | Source/devtools/protocol.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698