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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 this.workerInspectorHeight = this.createSetting("workerInspectorHeight", 600
); | 75 this.workerInspectorHeight = this.createSetting("workerInspectorHeight", 600
); |
76 this.messageURLFilters = this.createSetting("messageURLFilters", {}); | 76 this.messageURLFilters = this.createSetting("messageURLFilters", {}); |
77 this.networkHideDataURL = this.createSetting("networkHideDataURL", false); | 77 this.networkHideDataURL = this.createSetting("networkHideDataURL", false); |
78 this.networkResourceTypeFilters = this.createSetting("networkResourceTypeFil
ters", {}); | 78 this.networkResourceTypeFilters = this.createSetting("networkResourceTypeFil
ters", {}); |
79 this.messageLevelFilters = this.createSetting("messageLevelFilters", {}); | 79 this.messageLevelFilters = this.createSetting("messageLevelFilters", {}); |
80 this.splitVerticallyWhenDockedToRight = this.createSetting("splitVerticallyW
henDockedToRight", true); | 80 this.splitVerticallyWhenDockedToRight = this.createSetting("splitVerticallyW
henDockedToRight", true); |
81 this.visiblePanels = this.createSetting("visiblePanels", {}); | 81 this.visiblePanels = this.createSetting("visiblePanels", {}); |
82 this.shortcutPanelSwitch = this.createSetting("shortcutPanelSwitch", false); | 82 this.shortcutPanelSwitch = this.createSetting("shortcutPanelSwitch", false); |
83 this.showWhitespacesInEditor = this.createSetting("showWhitespacesInEditor",
false); | 83 this.showWhitespacesInEditor = this.createSetting("showWhitespacesInEditor",
false); |
84 this.skipStackFramesPattern = this.createRegExpSetting("skipStackFramesPatte
rn", ""); | 84 this.skipStackFramesPattern = this.createRegExpSetting("skipStackFramesPatte
rn", ""); |
| 85 this.skipContentScripts = this.createSetting("skipContentScripts", false); |
85 this.pauseOnExceptionEnabled = this.createSetting("pauseOnExceptionEnabled",
false); | 86 this.pauseOnExceptionEnabled = this.createSetting("pauseOnExceptionEnabled",
false); |
86 this.pauseOnCaughtException = this.createSetting("pauseOnCaughtException", f
alse); | 87 this.pauseOnCaughtException = this.createSetting("pauseOnCaughtException", f
alse); |
87 this.enableAsyncStackTraces = this.createSetting("enableAsyncStackTraces", f
alse); | 88 this.enableAsyncStackTraces = this.createSetting("enableAsyncStackTraces", f
alse); |
88 this.showMediaQueryInspector = this.createSetting("showMediaQueryInspector",
false); | 89 this.showMediaQueryInspector = this.createSetting("showMediaQueryInspector",
false); |
89 this.disableOverridesWarning = this.createSetting("disableOverridesWarning",
false); | 90 this.disableOverridesWarning = this.createSetting("disableOverridesWarning",
false); |
90 | 91 |
91 // Rendering options | 92 // Rendering options |
92 this.showPaintRects = this.createSetting("showPaintRects", false); | 93 this.showPaintRects = this.createSetting("showPaintRects", false); |
93 this.showDebugBorders = this.createSetting("showDebugBorders", false); | 94 this.showDebugBorders = this.createSetting("showDebugBorders", false); |
94 this.showFPSCounter = this.createSetting("showFPSCounter", false); | 95 this.showFPSCounter = this.createSetting("showFPSCounter", false); |
(...skipping 708 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
803 | 804 |
804 _fireChangedIfNeeded: function() | 805 _fireChangedIfNeeded: function() |
805 { | 806 { |
806 var newValue = this._calculateValue(); | 807 var newValue = this._calculateValue(); |
807 if (newValue === this._value) | 808 if (newValue === this._value) |
808 return; | 809 return; |
809 this._value = newValue; | 810 this._value = newValue; |
810 this._eventSupport.dispatchEventToListeners(this._name, this._value); | 811 this._eventSupport.dispatchEventToListeners(this._name, this._value); |
811 } | 812 } |
812 } | 813 } |
OLD | NEW |