Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(365)

Side by Side Diff: Source/devtools/front_end/sdk/RuntimeModel.js

Issue 1042853004: [DevTools] Event Listeners Sidebar shows window listeners (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Extracted eventListenersTreeOutline.css Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/devtools/front_end/sdk/RemoteObject.js ('k') | Source/devtools/front_end/sdk/Target.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/sdk/RemoteObject.js ('k') | Source/devtools/front_end/sdk/Target.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698