| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 295 | 295 |
| 296 p = this._appendSection(WebInspector.UIString("Elements")); | 296 p = this._appendSection(WebInspector.UIString("Elements")); |
| 297 var colorFormatElement = this._createSelectSetting(WebInspector.UIString("Co
lor format"), [ | 297 var colorFormatElement = this._createSelectSetting(WebInspector.UIString("Co
lor format"), [ |
| 298 [ WebInspector.UIString("As authored"), WebInspector.Color.Format.Or
iginal ], | 298 [ WebInspector.UIString("As authored"), WebInspector.Color.Format.Or
iginal ], |
| 299 [ "HEX: #DAC0DE", WebInspector.Color.Format.HEX ], | 299 [ "HEX: #DAC0DE", WebInspector.Color.Format.HEX ], |
| 300 [ "RGB: rgb(128, 255, 255)", WebInspector.Color.Format.RGB ], | 300 [ "RGB: rgb(128, 255, 255)", WebInspector.Color.Format.RGB ], |
| 301 [ "HSL: hsl(300, 80%, 90%)", WebInspector.Color.Format.HSL ] | 301 [ "HSL: hsl(300, 80%, 90%)", WebInspector.Color.Format.HSL ] |
| 302 ], WebInspector.settings.colorFormat); | 302 ], WebInspector.settings.colorFormat); |
| 303 p.appendChild(colorFormatElement); | 303 p.appendChild(colorFormatElement); |
| 304 p.appendChild(WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIS
tring("Show user agent styles"), WebInspector.settings.showUserAgentStyles)); | 304 p.appendChild(WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIS
tring("Show user agent styles"), WebInspector.settings.showUserAgentStyles)); |
| 305 p.appendChild(WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIS
tring("Show user agent shadow DOM"), WebInspector.settings.showShadowDOM)); | 305 p.appendChild(WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIS
tring("Show user agent shadow DOM"), WebInspector.settings.showUAShadowDOM)); |
| 306 p.appendChild(WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIS
tring("Word wrap"), WebInspector.settings.domWordWrap)); | 306 p.appendChild(WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIS
tring("Word wrap"), WebInspector.settings.domWordWrap)); |
| 307 p.appendChild(WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIS
tring("Show rulers"), WebInspector.settings.showMetricsRulers)); | 307 p.appendChild(WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIS
tring("Show rulers"), WebInspector.settings.showMetricsRulers)); |
| 308 | 308 |
| 309 p = this._appendSection(WebInspector.UIString("Sources")); | 309 p = this._appendSection(WebInspector.UIString("Sources")); |
| 310 p.appendChild(WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIS
tring("Search in content scripts"), WebInspector.settings.searchInContentScripts
)); | 310 p.appendChild(WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIS
tring("Search in content scripts"), WebInspector.settings.searchInContentScripts
)); |
| 311 p.appendChild(WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIS
tring("Enable JavaScript source maps"), WebInspector.settings.jsSourceMapsEnable
d)); | 311 p.appendChild(WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIS
tring("Enable JavaScript source maps"), WebInspector.settings.jsSourceMapsEnable
d)); |
| 312 | 312 |
| 313 var checkbox = WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UI
String("Enable CSS source maps"), WebInspector.settings.cssSourceMapsEnabled); | 313 var checkbox = WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UI
String("Enable CSS source maps"), WebInspector.settings.cssSourceMapsEnabled); |
| 314 p.appendChild(checkbox); | 314 p.appendChild(checkbox); |
| 315 var fieldset = WebInspector.SettingsUI.createSettingFieldset(WebInspector.se
ttings.cssSourceMapsEnabled); | 315 var fieldset = WebInspector.SettingsUI.createSettingFieldset(WebInspector.se
ttings.cssSourceMapsEnabled); |
| (...skipping 790 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1106 var inputElement = this._addInputElements[columnId]; | 1106 var inputElement = this._addInputElements[columnId]; |
| 1107 inputElement.value = ""; | 1107 inputElement.value = ""; |
| 1108 } | 1108 } |
| 1109 }, | 1109 }, |
| 1110 | 1110 |
| 1111 __proto__: WebInspector.SettingsList.prototype | 1111 __proto__: WebInspector.SettingsList.prototype |
| 1112 } | 1112 } |
| 1113 | 1113 |
| 1114 /** @type {!WebInspector.SettingsController} */ | 1114 /** @type {!WebInspector.SettingsController} */ |
| 1115 WebInspector.settingsController; | 1115 WebInspector.settingsController; |
| OLD | NEW |