| OLD | NEW |
| 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 this.emulateTouchEvents = this.createSetting("emulateTouchEvents", false); | 83 this.emulateTouchEvents = this.createSetting("emulateTouchEvents", false); |
| 84 this.showShadowDOM = this.createSetting("showShadowDOM", false); | 84 this.showShadowDOM = this.createSetting("showShadowDOM", false); |
| 85 this.zoomLevel = this.createSetting("zoomLevel", 0); | 85 this.zoomLevel = this.createSetting("zoomLevel", 0); |
| 86 this.savedURLs = this.createSetting("savedURLs", {}); | 86 this.savedURLs = this.createSetting("savedURLs", {}); |
| 87 this.javaScriptDisabled = this.createSetting("javaScriptDisabled", false); | 87 this.javaScriptDisabled = this.createSetting("javaScriptDisabled", false); |
| 88 this.overrideGeolocation = this.createSetting("overrideGeolocation", false); | 88 this.overrideGeolocation = this.createSetting("overrideGeolocation", false); |
| 89 this.geolocationOverride = this.createSetting("geolocationOverride", ""); | 89 this.geolocationOverride = this.createSetting("geolocationOverride", ""); |
| 90 this.overrideDeviceOrientation = this.createSetting("overrideDeviceOrientati
on", false); | 90 this.overrideDeviceOrientation = this.createSetting("overrideDeviceOrientati
on", false); |
| 91 this.deviceOrientationOverride = this.createSetting("deviceOrientationOverri
de", ""); | 91 this.deviceOrientationOverride = this.createSetting("deviceOrientationOverri
de", ""); |
| 92 this.showAdvancedHeapSnapshotProperties = this.createSetting("showAdvancedHe
apSnapshotProperties", false); | 92 this.showAdvancedHeapSnapshotProperties = this.createSetting("showAdvancedHe
apSnapshotProperties", false); |
| 93 this.highResolutionCpuProfiling = this.createSetting("highResolutionCpuProfi
ling", false); |
| 93 this.searchInContentScripts = this.createSetting("searchInContentScripts", f
alse); | 94 this.searchInContentScripts = this.createSetting("searchInContentScripts", f
alse); |
| 94 this.textEditorIndent = this.createSetting("textEditorIndent", " "); | 95 this.textEditorIndent = this.createSetting("textEditorIndent", " "); |
| 95 this.textEditorAutoDetectIndent = this.createSetting("textEditorAutoIndentIn
dent", true); | 96 this.textEditorAutoDetectIndent = this.createSetting("textEditorAutoIndentIn
dent", true); |
| 96 this.lastDockState = this.createSetting("lastDockState", ""); | 97 this.lastDockState = this.createSetting("lastDockState", ""); |
| 97 this.cssReloadEnabled = this.createSetting("cssReloadEnabled", false); | 98 this.cssReloadEnabled = this.createSetting("cssReloadEnabled", false); |
| 98 this.showCpuOnTimelineRuler = this.createSetting("showCpuOnTimelineRuler", f
alse); | 99 this.showCpuOnTimelineRuler = this.createSetting("showCpuOnTimelineRuler", f
alse); |
| 99 this.timelineStackFramesToCapture = this.createSetting("timelineStackFramesT
oCapture", 30); | 100 this.timelineStackFramesToCapture = this.createSetting("timelineStackFramesT
oCapture", 30); |
| 100 this.timelineLimitStackFramesFlag = this.createSetting("timelineLimitStackFr
amesFlag", false); | 101 this.timelineLimitStackFramesFlag = this.createSetting("timelineLimitStackFr
amesFlag", false); |
| 101 this.showMetricsRulers = this.createSetting("showMetricsRulers", false); | 102 this.showMetricsRulers = this.createSetting("showMetricsRulers", false); |
| 102 this.overrideCSSMedia = this.createSetting("overrideCSSMedia", false); | 103 this.overrideCSSMedia = this.createSetting("overrideCSSMedia", false); |
| (...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 467 { | 468 { |
| 468 // If there are too many breakpoints in a storage, it is likely due to a
recent bug that caused | 469 // If there are too many breakpoints in a storage, it is likely due to a
recent bug that caused |
| 469 // periodical breakpoints duplication leading to inspector slowness. | 470 // periodical breakpoints duplication leading to inspector slowness. |
| 470 if (breakpointsSetting.get().length > maxBreakpointsCount) | 471 if (breakpointsSetting.get().length > maxBreakpointsCount) |
| 471 breakpointsSetting.set([]); | 472 breakpointsSetting.set([]); |
| 472 } | 473 } |
| 473 } | 474 } |
| 474 | 475 |
| 475 WebInspector.settings = new WebInspector.Settings(); | 476 WebInspector.settings = new WebInspector.Settings(); |
| 476 WebInspector.experimentsSettings = new WebInspector.ExperimentsSettings(); | 477 WebInspector.experimentsSettings = new WebInspector.ExperimentsSettings(); |
| OLD | NEW |