| 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 this.cssReloadEnabled = this.createSetting("cssReloadEnabled", false); | 93 this.cssReloadEnabled = this.createSetting("cssReloadEnabled", false); |
| 94 this.timelineCaptureStacks = this.createSetting("timelineCaptureStacks", tru
e); | 94 this.timelineCaptureStacks = this.createSetting("timelineCaptureStacks", tru
e); |
| 95 this.timelineLiveUpdate = this.createSetting("timelineLiveUpdate", true); | 95 this.timelineLiveUpdate = this.createSetting("timelineLiveUpdate", true); |
| 96 this.showMetricsRulers = this.createSetting("showMetricsRulers", false); | 96 this.showMetricsRulers = this.createSetting("showMetricsRulers", false); |
| 97 this.overrideCSSMedia = this.createSetting("overrideCSSMedia", false); | 97 this.overrideCSSMedia = this.createSetting("overrideCSSMedia", false); |
| 98 this.emulatedCSSMedia = this.createSetting("emulatedCSSMedia", "print"); | 98 this.emulatedCSSMedia = this.createSetting("emulatedCSSMedia", "print"); |
| 99 this.workerInspectorWidth = this.createSetting("workerInspectorWidth", 600); | 99 this.workerInspectorWidth = this.createSetting("workerInspectorWidth", 600); |
| 100 this.workerInspectorHeight = this.createSetting("workerInspectorHeight", 600
); | 100 this.workerInspectorHeight = this.createSetting("workerInspectorHeight", 600
); |
| 101 this.messageURLFilters = this.createSetting("messageURLFilters", {}); | 101 this.messageURLFilters = this.createSetting("messageURLFilters", {}); |
| 102 this.networkHideDataURL = this.createSetting("networkHideDataURL", false); | 102 this.networkHideDataURL = this.createSetting("networkHideDataURL", false); |
| 103 this.networkResourceTypeFilters = this.createSetting("networkResourceTypeFil
ters", {}); |
| 103 this.messageLevelFilters = this.createSetting("messageLevelFilters", {}); | 104 this.messageLevelFilters = this.createSetting("messageLevelFilters", {}); |
| 104 this.splitVerticallyWhenDockedToRight = this.createSetting("splitVerticallyW
henDockedToRight", true); | 105 this.splitVerticallyWhenDockedToRight = this.createSetting("splitVerticallyW
henDockedToRight", true); |
| 105 this.visiblePanels = this.createSetting("visiblePanels", {}); | 106 this.visiblePanels = this.createSetting("visiblePanels", {}); |
| 106 this.shortcutPanelSwitch = this.createSetting("shortcutPanelSwitch", false); | 107 this.shortcutPanelSwitch = this.createSetting("shortcutPanelSwitch", false); |
| 107 this.showWhitespacesInEditor = this.createSetting("showWhitespacesInEditor",
false); | 108 this.showWhitespacesInEditor = this.createSetting("showWhitespacesInEditor",
false); |
| 108 this.skipStackFramesSwitch = this.createSetting("skipStackFramesSwitch", fal
se); | 109 this.skipStackFramesSwitch = this.createSetting("skipStackFramesSwitch", fal
se); |
| 109 this.skipStackFramesPattern = this.createRegExpSetting("skipStackFramesPatte
rn", ""); | 110 this.skipStackFramesPattern = this.createRegExpSetting("skipStackFramesPatte
rn", ""); |
| 110 this.pauseOnExceptionEnabled = this.createSetting("pauseOnExceptionEnabled",
false); | 111 this.pauseOnExceptionEnabled = this.createSetting("pauseOnExceptionEnabled",
false); |
| 111 this.pauseOnCaughtException = this.createSetting("pauseOnCaughtException", f
alse); | 112 this.pauseOnCaughtException = this.createSetting("pauseOnCaughtException", f
alse); |
| 112 this.enableAsyncStackTraces = this.createSetting("enableAsyncStackTraces", f
alse); | 113 this.enableAsyncStackTraces = this.createSetting("enableAsyncStackTraces", f
alse); |
| (...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 652 { | 653 { |
| 653 // If there are too many breakpoints in a storage, it is likely due to a
recent bug that caused | 654 // If there are too many breakpoints in a storage, it is likely due to a
recent bug that caused |
| 654 // periodical breakpoints duplication leading to inspector slowness. | 655 // periodical breakpoints duplication leading to inspector slowness. |
| 655 if (breakpointsSetting.get().length > maxBreakpointsCount) | 656 if (breakpointsSetting.get().length > maxBreakpointsCount) |
| 656 breakpointsSetting.set([]); | 657 breakpointsSetting.set([]); |
| 657 } | 658 } |
| 658 } | 659 } |
| 659 | 660 |
| 660 WebInspector.settings = new WebInspector.Settings(); | 661 WebInspector.settings = new WebInspector.Settings(); |
| 661 WebInspector.experimentsSettings = new WebInspector.ExperimentsSettings(WebInspe
ctor.queryParam("experiments") !== null); | 662 WebInspector.experimentsSettings = new WebInspector.ExperimentsSettings(WebInspe
ctor.queryParam("experiments") !== null); |
| OLD | NEW |