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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
77 this.networkLogHideColumns = this.createSetting("networkLogHideColumns", fal se); | 77 this.networkLogHideColumns = this.createSetting("networkLogHideColumns", fal se); |
78 this.networkHideDataURL = this.createSetting("networkHideDataURL", false); | 78 this.networkHideDataURL = this.createSetting("networkHideDataURL", false); |
79 this.networkResourceTypeFilters = this.createSetting("networkResourceTypeFil ters", {}); | 79 this.networkResourceTypeFilters = this.createSetting("networkResourceTypeFil ters", {}); |
80 this.networkShowPrimaryLoadWaterfall = this.createSetting("networkShowPrimar yLoadWaterfall", false); | 80 this.networkShowPrimaryLoadWaterfall = this.createSetting("networkShowPrimar yLoadWaterfall", false); |
81 this.networkColorCodeResourceTypes = this.createSetting("networkColorCodeRes ourceTypes", false); | 81 this.networkColorCodeResourceTypes = this.createSetting("networkColorCodeRes ourceTypes", false); |
82 this.messageLevelFilters = this.createSetting("messageLevelFilters", {}); | 82 this.messageLevelFilters = this.createSetting("messageLevelFilters", {}); |
83 this.splitVerticallyWhenDockedToRight = this.createSetting("splitVerticallyW henDockedToRight", true); | 83 this.splitVerticallyWhenDockedToRight = this.createSetting("splitVerticallyW henDockedToRight", true); |
84 this.visiblePanels = this.createSetting("visiblePanels", {}); | 84 this.visiblePanels = this.createSetting("visiblePanels", {}); |
85 this.shortcutPanelSwitch = this.createSetting("shortcutPanelSwitch", false); | 85 this.shortcutPanelSwitch = this.createSetting("shortcutPanelSwitch", false); |
86 this.showWhitespacesInEditor = this.createSetting("showWhitespacesInEditor", false); | 86 this.showWhitespacesInEditor = this.createSetting("showWhitespacesInEditor", false); |
87 this.highlightChangedProperties = this.createSetting("highlightChangedProper ties", false); | |
pfeldman
2015/01/21 10:41:25
This should not be a setting, but rather an experi
sandipchitale
2015/01/22 07:46:33
Acknowledged.
| |
87 this.skipStackFramesPattern = this.createRegExpSetting("skipStackFramesPatte rn", ""); | 88 this.skipStackFramesPattern = this.createRegExpSetting("skipStackFramesPatte rn", ""); |
88 this.skipContentScripts = this.createSetting("skipContentScripts", false); | 89 this.skipContentScripts = this.createSetting("skipContentScripts", false); |
89 this.pauseOnExceptionEnabled = this.createSetting("pauseOnExceptionEnabled", false); | 90 this.pauseOnExceptionEnabled = this.createSetting("pauseOnExceptionEnabled", false); |
90 this.pauseOnCaughtException = this.createSetting("pauseOnCaughtException", f alse); | 91 this.pauseOnCaughtException = this.createSetting("pauseOnCaughtException", f alse); |
91 this.enableAsyncStackTraces = this.createSetting("enableAsyncStackTraces", f alse); | 92 this.enableAsyncStackTraces = this.createSetting("enableAsyncStackTraces", f alse); |
92 this.showMediaQueryInspector = this.createSetting("showMediaQueryInspector", false); | 93 this.showMediaQueryInspector = this.createSetting("showMediaQueryInspector", false); |
93 this.disableOverridesWarning = this.createSetting("disableOverridesWarning", false); | 94 this.disableOverridesWarning = this.createSetting("disableOverridesWarning", false); |
94 this.disablePausedStateOverlay = this.createSetting("disablePausedStateOverl ay", false); | 95 this.disablePausedStateOverlay = this.createSetting("disablePausedStateOverl ay", false); |
95 this.testPath = this.createSetting("testPath", ""); | 96 this.testPath = this.createSetting("testPath", ""); |
96 this.frameViewerHideChromeWindow = this.createSetting("frameViewerHideChrome Window", false); | 97 this.frameViewerHideChromeWindow = this.createSetting("frameViewerHideChrome Window", false); |
(...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
638 | 639 |
639 _fireChangedIfNeeded: function() | 640 _fireChangedIfNeeded: function() |
640 { | 641 { |
641 var newValue = this._calculateValue(); | 642 var newValue = this._calculateValue(); |
642 if (newValue === this._value) | 643 if (newValue === this._value) |
643 return; | 644 return; |
644 this._value = newValue; | 645 this._value = newValue; |
645 this._eventSupport.dispatchEventToListeners(this._name, this._value); | 646 this._eventSupport.dispatchEventToListeners(this._name, this._value); |
646 } | 647 } |
647 } | 648 } |
OLD | NEW |