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

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

Issue 27119002: Add text autosizing override in the inspector. Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 this.xhrBreakpoints = this.createSetting("xhrBreakpoints", []); 73 this.xhrBreakpoints = this.createSetting("xhrBreakpoints", []);
74 this.jsSourceMapsEnabled = this.createSetting("sourceMapsEnabled", true); 74 this.jsSourceMapsEnabled = this.createSetting("sourceMapsEnabled", true);
75 this.cssSourceMapsEnabled = this.createSetting("cssSourceMapsEnabled", true) ; 75 this.cssSourceMapsEnabled = this.createSetting("cssSourceMapsEnabled", true) ;
76 this.cacheDisabled = this.createSetting("cacheDisabled", false); 76 this.cacheDisabled = this.createSetting("cacheDisabled", false);
77 this.enableOverridesOnStartup = this.createSetting("enableOverridesOnStartup ", false); 77 this.enableOverridesOnStartup = this.createSetting("enableOverridesOnStartup ", false);
78 this.overrideUserAgent = this.createSetting("overrideUserAgent", false); 78 this.overrideUserAgent = this.createSetting("overrideUserAgent", false);
79 this.userAgent = this.createSetting("userAgent", ""); 79 this.userAgent = this.createSetting("userAgent", "");
80 this.overrideDeviceMetrics = this.createSetting("overrideDeviceMetrics", fal se); 80 this.overrideDeviceMetrics = this.createSetting("overrideDeviceMetrics", fal se);
81 this.deviceMetrics = this.createSetting("deviceMetrics", ""); 81 this.deviceMetrics = this.createSetting("deviceMetrics", "");
82 this.deviceFitWindow = this.createSetting("deviceFitWindow", false); 82 this.deviceFitWindow = this.createSetting("deviceFitWindow", false);
83 this.textAutosizingOverride = this.createSetting("textAutosizingOverride", " Default");
83 this.emulateTouchEvents = this.createSetting("emulateTouchEvents", false); 84 this.emulateTouchEvents = this.createSetting("emulateTouchEvents", false);
84 this.showShadowDOM = this.createSetting("showShadowDOM", false); 85 this.showShadowDOM = this.createSetting("showShadowDOM", false);
85 this.zoomLevel = this.createSetting("zoomLevel", 0); 86 this.zoomLevel = this.createSetting("zoomLevel", 0);
86 this.savedURLs = this.createSetting("savedURLs", {}); 87 this.savedURLs = this.createSetting("savedURLs", {});
87 this.javaScriptDisabled = this.createSetting("javaScriptDisabled", false); 88 this.javaScriptDisabled = this.createSetting("javaScriptDisabled", false);
88 this.overrideGeolocation = this.createSetting("overrideGeolocation", false); 89 this.overrideGeolocation = this.createSetting("overrideGeolocation", false);
89 this.geolocationOverride = this.createSetting("geolocationOverride", ""); 90 this.geolocationOverride = this.createSetting("geolocationOverride", "");
90 this.overrideDeviceOrientation = this.createSetting("overrideDeviceOrientati on", false); 91 this.overrideDeviceOrientation = this.createSetting("overrideDeviceOrientati on", false);
91 this.deviceOrientationOverride = this.createSetting("deviceOrientationOverri de", ""); 92 this.deviceOrientationOverride = this.createSetting("deviceOrientationOverri de", "");
92 this.showAdvancedHeapSnapshotProperties = this.createSetting("showAdvancedHe apSnapshotProperties", false); 93 this.showAdvancedHeapSnapshotProperties = this.createSetting("showAdvancedHe apSnapshotProperties", false);
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 { 472 {
472 // If there are too many breakpoints in a storage, it is likely due to a recent bug that caused 473 // If there are too many breakpoints in a storage, it is likely due to a recent bug that caused
473 // periodical breakpoints duplication leading to inspector slowness. 474 // periodical breakpoints duplication leading to inspector slowness.
474 if (breakpointsSetting.get().length > maxBreakpointsCount) 475 if (breakpointsSetting.get().length > maxBreakpointsCount)
475 breakpointsSetting.set([]); 476 breakpointsSetting.set([]);
476 } 477 }
477 } 478 }
478 479
479 WebInspector.settings = new WebInspector.Settings(); 480 WebInspector.settings = new WebInspector.Settings();
480 WebInspector.experimentsSettings = new WebInspector.ExperimentsSettings(); 481 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