| 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 470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 481 if (prefix.length && !property.startsWith(prefix)) | 481 if (prefix.length && !property.startsWith(prefix)) |
| 482 continue; | 482 continue; |
| 483 | 483 |
| 484 results.push(property); | 484 results.push(property); |
| 485 } | 485 } |
| 486 completionsReadyCallback(results); | 486 completionsReadyCallback(results); |
| 487 }, | 487 }, |
| 488 | 488 |
| 489 __proto__: WebInspector.SDKObject.prototype | 489 __proto__: WebInspector.SDKObject.prototype |
| 490 } | 490 } |
| 491 |
| 492 /** |
| 493 * @constructor |
| 494 * @extends {WebInspector.EventListener<RuntimeAgent.EventListener>} |
| 495 * @param {!WebInspector.Target} target |
| 496 * @param {!RuntimeAgent.EventListener} payload |
| 497 * @param {string} description |
| 498 */ |
| 499 WebInspector.RuntimeModel.ObjectEventListener = function(target, payload, descri
ption) |
| 500 { |
| 501 WebInspector.EventListener.call(this, target, payload); |
| 502 this._description = description; |
| 503 } |
| 504 |
| 505 WebInspector.RuntimeModel.ObjectEventListener.prototype = { |
| 506 /** |
| 507 * @override |
| 508 * @return {boolean} |
| 509 */ |
| 510 isObjectEventListener: function() |
| 511 { |
| 512 return true; |
| 513 }, |
| 514 |
| 515 /** |
| 516 * @return {string} |
| 517 */ |
| 518 description: function() |
| 519 { |
| 520 return this._description; |
| 521 }, |
| 522 |
| 523 __proto__: WebInspector.EventListener.prototype |
| 524 } |
| OLD | NEW |