Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 /* eslint-disable indent */ | 4 /* eslint-disable indent */ |
| 5 (function(window) { | 5 (function(window) { |
| 6 | 6 |
| 7 // DevToolsAPI --------------------------------------------------------------- - | 7 // DevToolsAPI --------------------------------------------------------------- - |
| 8 | 8 |
| 9 /** | 9 /** |
| 10 * @unrestricted | 10 * @unrestricted |
| (...skipping 818 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 829 window.InspectorFrontendHost = new InspectorFrontendHostImpl(); | 829 window.InspectorFrontendHost = new InspectorFrontendHostImpl(); |
| 830 | 830 |
| 831 // DevToolsApp --------------------------------------------------------------- | 831 // DevToolsApp --------------------------------------------------------------- |
| 832 | 832 |
| 833 function installObjectObserve() { | 833 function installObjectObserve() { |
| 834 /** @type {!Array<string>} */ | 834 /** @type {!Array<string>} */ |
| 835 var properties = [ | 835 var properties = [ |
| 836 'advancedSearchConfig', | 836 'advancedSearchConfig', |
| 837 'auditsPanelSplitViewState', | 837 'auditsPanelSplitViewState', |
| 838 'auditsSidebarWidth', | 838 'auditsSidebarWidth', |
| 839 'blockedURLs', | |
| 840 'breakpoints', | 839 'breakpoints', |
| 841 'cacheDisabled', | 840 'cacheDisabled', |
| 842 'colorFormat', | 841 'colorFormat', |
| 843 'consoleHistory', | 842 'consoleHistory', |
| 844 'consoleTimestampsEnabled', | 843 'consoleTimestampsEnabled', |
| 845 'cpuProfilerView', | 844 'cpuProfilerView', |
| 846 'cssSourceMapsEnabled', | 845 'cssSourceMapsEnabled', |
| 847 'currentDockState', | 846 'currentDockState', |
| 848 'customColorPalette', | 847 'customColorPalette', |
| 849 'customDevicePresets', | 848 'customDevicePresets', |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 904 'layerDetailsSplitView', | 903 'layerDetailsSplitView', |
| 905 'layerDetailsSplitViewState', | 904 'layerDetailsSplitViewState', |
| 906 'layersPanelSplitViewState', | 905 'layersPanelSplitViewState', |
| 907 'layersShowInternalLayers', | 906 'layersShowInternalLayers', |
| 908 'layersSidebarWidth', | 907 'layersSidebarWidth', |
| 909 'messageLevelFilters', | 908 'messageLevelFilters', |
| 910 'messageURLFilters', | 909 'messageURLFilters', |
| 911 'monitoringXHREnabled', | 910 'monitoringXHREnabled', |
| 912 'navigatorGroupByFolder', | 911 'navigatorGroupByFolder', |
| 913 'navigatorHidden', | 912 'navigatorHidden', |
| 913 'networkBlockedURLs', | |
|
pfeldman
2017/02/11 02:45:05
You should not change this, it is for the old fron
allada
2017/02/11 05:02:04
Done.
| |
| 914 'networkColorCodeResourceTypes', | 914 'networkColorCodeResourceTypes', |
| 915 'networkConditions', | 915 'networkConditions', |
| 916 'networkConditionsCustomProfiles', | 916 'networkConditionsCustomProfiles', |
| 917 'networkHideDataURL', | 917 'networkHideDataURL', |
| 918 'networkLogColumnsVisibility', | 918 'networkLogColumnsVisibility', |
| 919 'networkLogLargeRows', | 919 'networkLogLargeRows', |
| 920 'networkLogShowOverview', | 920 'networkLogShowOverview', |
| 921 'networkPanelSplitViewState', | 921 'networkPanelSplitViewState', |
| 922 'networkRecordFilmStripSetting', | 922 'networkRecordFilmStripSetting', |
| 923 'networkResourceTypeFilters', | 923 'networkResourceTypeFilters', |
| (...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1254 * @return {boolean} | 1254 * @return {boolean} |
| 1255 */ | 1255 */ |
| 1256 DOMTokenList.prototype.toggle = function(token, force) { | 1256 DOMTokenList.prototype.toggle = function(token, force) { |
| 1257 if (arguments.length === 1) | 1257 if (arguments.length === 1) |
| 1258 force = !this.contains(token); | 1258 force = !this.contains(token); |
| 1259 return this.__originalDOMTokenListToggle(token, !!force); | 1259 return this.__originalDOMTokenListToggle(token, !!force); |
| 1260 }; | 1260 }; |
| 1261 } | 1261 } |
| 1262 | 1262 |
| 1263 })(window); | 1263 })(window); |
| OLD | NEW |