OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 /** | 177 /** |
178 * @param {string} name | 178 * @param {string} name |
179 * @param {number|string|boolean} value | 179 * @param {number|string|boolean} value |
180 * @return {!WebInspector.RemoteObjectProperty} | 180 * @return {!WebInspector.RemoteObjectProperty} |
181 */ | 181 */ |
182 createRemotePropertyFromPrimitiveValue: function(name, value) | 182 createRemotePropertyFromPrimitiveValue: function(name, value) |
183 { | 183 { |
184 return new WebInspector.RemoteObjectProperty(name, this.createRemoteObje
ctFromPrimitiveValue(value)); | 184 return new WebInspector.RemoteObjectProperty(name, this.createRemoteObje
ctFromPrimitiveValue(value)); |
185 }, | 185 }, |
186 | 186 |
| 187 discardConsoleEntries: function() |
| 188 { |
| 189 this._agent.discardConsoleEntries(); |
| 190 }, |
| 191 |
187 /** | 192 /** |
188 * @param {!WebInspector.Event} event | 193 * @param {!WebInspector.Event} event |
189 */ | 194 */ |
190 _customFormattersStateChanged: function(event) | 195 _customFormattersStateChanged: function(event) |
191 { | 196 { |
192 var enabled = /** @type {boolean} */ (event.data); | 197 var enabled = /** @type {boolean} */ (event.data); |
193 this._agent.setCustomObjectFormatterEnabled(enabled); | 198 this._agent.setCustomObjectFormatterEnabled(enabled); |
194 }, | 199 }, |
195 | 200 |
196 /** | 201 /** |
(...skipping 810 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1007 /** | 1012 /** |
1008 * @return {boolean} | 1013 * @return {boolean} |
1009 */ | 1014 */ |
1010 isNormalListenerType: function() | 1015 isNormalListenerType: function() |
1011 { | 1016 { |
1012 return this._listenerType === "normal"; | 1017 return this._listenerType === "normal"; |
1013 }, | 1018 }, |
1014 | 1019 |
1015 __proto__: WebInspector.SDKObject.prototype | 1020 __proto__: WebInspector.SDKObject.prototype |
1016 } | 1021 } |
OLD | NEW |