| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 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 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 260 | 260 |
| 261 p = this._appendSection(WebInspector.UIString("Elements")); | 261 p = this._appendSection(WebInspector.UIString("Elements")); |
| 262 p.appendChild(this._createRadioSetting(WebInspector.UIString("Color format")
, [ | 262 p.appendChild(this._createRadioSetting(WebInspector.UIString("Color format")
, [ |
| 263 [ WebInspector.Color.Format.Original, WebInspector.UIString("As authored
") ], | 263 [ WebInspector.Color.Format.Original, WebInspector.UIString("As authored
") ], |
| 264 [ WebInspector.Color.Format.HEX, "HEX: #DAC0DE" ], | 264 [ WebInspector.Color.Format.HEX, "HEX: #DAC0DE" ], |
| 265 [ WebInspector.Color.Format.RGB, "RGB: rgb(128, 255, 255)" ], | 265 [ WebInspector.Color.Format.RGB, "RGB: rgb(128, 255, 255)" ], |
| 266 [ WebInspector.Color.Format.HSL, "HSL: hsl(300, 80%, 90%)" ] ], WebInspe
ctor.settings.colorFormat)); | 266 [ WebInspector.Color.Format.HSL, "HSL: hsl(300, 80%, 90%)" ] ], WebInspe
ctor.settings.colorFormat)); |
| 267 p.appendChild(this._createCheckboxSetting(WebInspector.UIString("Show user a
gent styles"), WebInspector.settings.showUserAgentStyles)); | 267 p.appendChild(this._createCheckboxSetting(WebInspector.UIString("Show user a
gent styles"), WebInspector.settings.showUserAgentStyles)); |
| 268 p.appendChild(this._createCheckboxSetting(WebInspector.UIString("Word wrap")
, WebInspector.settings.domWordWrap)); | 268 p.appendChild(this._createCheckboxSetting(WebInspector.UIString("Word wrap")
, WebInspector.settings.domWordWrap)); |
| 269 p.appendChild(this._createCheckboxSetting(WebInspector.UIString("Show Shadow
DOM"), WebInspector.settings.showShadowDOM)); | 269 p.appendChild(this._createCheckboxSetting(WebInspector.UIString("Show Shadow
DOM"), WebInspector.settings.showShadowDOM)); |
| 270 p.appendChild(this._createCheckboxSetting(WebInspector.UIString("Show rulers
"), WebInspector.settings.showMetricsRulers)); |
| 270 | 271 |
| 271 p = this._appendSection(WebInspector.UIString("Rendering")); | 272 p = this._appendSection(WebInspector.UIString("Rendering")); |
| 272 p.appendChild(this._createCheckboxSetting(WebInspector.UIString("Show paint
rectangles"), WebInspector.settings.showPaintRects)); | 273 p.appendChild(this._createCheckboxSetting(WebInspector.UIString("Show paint
rectangles"), WebInspector.settings.showPaintRects)); |
| 273 WebInspector.settings.showPaintRects.addChangeListener(this._showPaintRectsC
hanged, this); | 274 WebInspector.settings.showPaintRects.addChangeListener(this._showPaintRectsC
hanged, this); |
| 274 | 275 |
| 275 p = this._appendSection(WebInspector.UIString("Sources")); | 276 p = this._appendSection(WebInspector.UIString("Sources")); |
| 276 p.appendChild(this._createCheckboxSetting(WebInspector.UIString("Show folder
s"), WebInspector.settings.showScriptFolders)); | 277 p.appendChild(this._createCheckboxSetting(WebInspector.UIString("Show folder
s"), WebInspector.settings.showScriptFolders)); |
| 277 p.appendChild(this._createCheckboxSetting(WebInspector.UIString("Search in c
ontent scripts"), WebInspector.settings.searchInContentScripts)); | 278 p.appendChild(this._createCheckboxSetting(WebInspector.UIString("Search in c
ontent scripts"), WebInspector.settings.searchInContentScripts)); |
| 278 p.appendChild(this._createCheckboxSetting(WebInspector.UIString("Enable sour
ce maps"), WebInspector.settings.sourceMapsEnabled)); | 279 p.appendChild(this._createCheckboxSetting(WebInspector.UIString("Enable sour
ce maps"), WebInspector.settings.sourceMapsEnabled)); |
| 279 if (WebInspector.experimentsSettings.isEnabled("sass")) | 280 if (WebInspector.experimentsSettings.isEnabled("sass")) |
| (...skipping 738 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1018 if (this._settingsScreen) | 1019 if (this._settingsScreen) |
| 1019 this._settingsScreen.hide(); | 1020 this._settingsScreen.hide(); |
| 1020 }, | 1021 }, |
| 1021 | 1022 |
| 1022 resize: function() | 1023 resize: function() |
| 1023 { | 1024 { |
| 1024 if (this._settingsScreen && this._settingsScreen.isShowing()) | 1025 if (this._settingsScreen && this._settingsScreen.isShowing()) |
| 1025 this._settingsScreen.doResize(); | 1026 this._settingsScreen.doResize(); |
| 1026 } | 1027 } |
| 1027 } | 1028 } |
| OLD | NEW |