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 808 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 819 var properties = [ | 819 var properties = [ |
| 820 'advancedSearchConfig', | 820 'advancedSearchConfig', |
| 821 'auditsPanelSplitViewState', | 821 'auditsPanelSplitViewState', |
| 822 'auditsSidebarWidth', | 822 'auditsSidebarWidth', |
| 823 'blockedURLs', | 823 'blockedURLs', |
| 824 'breakpoints', | 824 'breakpoints', |
| 825 'cacheDisabled', | 825 'cacheDisabled', |
| 826 'colorFormat', | 826 'colorFormat', |
| 827 'consoleHistory', | 827 'consoleHistory', |
| 828 'consoleTimestampsEnabled', | 828 'consoleTimestampsEnabled', |
| 829 'consoleTimestampFormat', | |
|
dgozman
2017/01/25 00:51:46
Remove.
luoe
2017/01/25 19:43:21
Done. I assumed this was used for all properties,
dgozman
2017/01/27 00:20:57
Correct.
| |
| 829 'cpuProfilerView', | 830 'cpuProfilerView', |
| 830 'cssSourceMapsEnabled', | 831 'cssSourceMapsEnabled', |
| 831 'currentDockState', | 832 'currentDockState', |
| 832 'customColorPalette', | 833 'customColorPalette', |
| 833 'customDevicePresets', | 834 'customDevicePresets', |
| 834 'customEmulatedDeviceList', | 835 'customEmulatedDeviceList', |
| 835 'customFormatters', | 836 'customFormatters', |
| 836 'customUserAgent', | 837 'customUserAgent', |
| 837 'databaseTableViewVisibleColumns', | 838 'databaseTableViewVisibleColumns', |
| 838 'dataGrid-cookiesTable', | 839 'dataGrid-cookiesTable', |
| (...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1238 * @return {boolean} | 1239 * @return {boolean} |
| 1239 */ | 1240 */ |
| 1240 DOMTokenList.prototype.toggle = function(token, force) { | 1241 DOMTokenList.prototype.toggle = function(token, force) { |
| 1241 if (arguments.length === 1) | 1242 if (arguments.length === 1) |
| 1242 force = !this.contains(token); | 1243 force = !this.contains(token); |
| 1243 return this.__originalDOMTokenListToggle(token, !!force); | 1244 return this.__originalDOMTokenListToggle(token, !!force); |
| 1244 }; | 1245 }; |
| 1245 } | 1246 } |
| 1246 | 1247 |
| 1247 })(window); | 1248 })(window); |
| OLD | NEW |