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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 { | 56 { |
57 this.installApplicationSetting("colorFormat", "hex"); | 57 this.installApplicationSetting("colorFormat", "hex"); |
58 this.installApplicationSetting("consoleHistory", []); | 58 this.installApplicationSetting("consoleHistory", []); |
59 this.installApplicationSetting("debuggerEnabled", false); | 59 this.installApplicationSetting("debuggerEnabled", false); |
60 this.installApplicationSetting("domWordWrap", true); | 60 this.installApplicationSetting("domWordWrap", true); |
61 this.installApplicationSetting("profilerEnabled", false); | 61 this.installApplicationSetting("profilerEnabled", false); |
62 this.installApplicationSetting("eventListenersFilter", "all"); | 62 this.installApplicationSetting("eventListenersFilter", "all"); |
63 this.installApplicationSetting("lastActivePanel", "elements"); | 63 this.installApplicationSetting("lastActivePanel", "elements"); |
64 this.installApplicationSetting("lastViewedScriptFile", "application"); | 64 this.installApplicationSetting("lastViewedScriptFile", "application"); |
65 this.installApplicationSetting("monitoringXHREnabled", false); | 65 this.installApplicationSetting("monitoringXHREnabled", false); |
66 this.installApplicationSetting("pauseOnExceptionState", WebInspector.Scripts
Panel.PauseOnExceptionsState.DontPauseOnExceptions); | 66 this.installApplicationSetting("pauseOnExceptionStateString", WebInspector.S
criptsPanel.PauseOnExceptionsState.DontPauseOnExceptions); |
67 this.installApplicationSetting("resourcesLargeRows", true); | 67 this.installApplicationSetting("resourcesLargeRows", true); |
68 this.installApplicationSetting("resourcesSortOptions", {timeOption: "respons
eTime", sizeOption: "transferSize"}); | 68 this.installApplicationSetting("resourcesSortOptions", {timeOption: "respons
eTime", sizeOption: "transferSize"}); |
69 this.installApplicationSetting("resourceViewTab", "content"); | 69 this.installApplicationSetting("resourceViewTab", "content"); |
70 this.installApplicationSetting("showInheritedComputedStyleProperties", false
); | 70 this.installApplicationSetting("showInheritedComputedStyleProperties", false
); |
71 this.installApplicationSetting("showUserAgentStyles", true); | 71 this.installApplicationSetting("showUserAgentStyles", true); |
72 this.installApplicationSetting("watchExpressions", []); | 72 this.installApplicationSetting("watchExpressions", []); |
73 this.installApplicationSetting("breakpoints", []); | 73 this.installApplicationSetting("breakpoints", []); |
74 this.installApplicationSetting("eventListenerBreakpoints", []); | 74 this.installApplicationSetting("eventListenerBreakpoints", []); |
75 this.installApplicationSetting("domBreakpoints", []); | 75 this.installApplicationSetting("domBreakpoints", []); |
76 this.installApplicationSetting("xhrBreakpoints", []); | 76 this.installApplicationSetting("xhrBreakpoints", []); |
(...skipping 22 matching lines...) Expand all Loading... |
99 }, | 99 }, |
100 | 100 |
101 _set: function(key, value) | 101 _set: function(key, value) |
102 { | 102 { |
103 if (window.localStorage != null) | 103 if (window.localStorage != null) |
104 window.localStorage[key] = JSON.stringify(value); | 104 window.localStorage[key] = JSON.stringify(value); |
105 } | 105 } |
106 } | 106 } |
107 | 107 |
108 WebInspector.Settings.prototype.__proto__ = WebInspector.Object.prototype; | 108 WebInspector.Settings.prototype.__proto__ = WebInspector.Object.prototype; |
OLD | NEW |