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 742 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
753 */ | 753 */ |
754 domContentEventFired(time) { | 754 domContentEventFired(time) { |
755 this._resourceTreeModel.dispatchEventToListeners(SDK.ResourceTreeModel.Event
s.DOMContentLoaded, time); | 755 this._resourceTreeModel.dispatchEventToListeners(SDK.ResourceTreeModel.Event
s.DOMContentLoaded, time); |
756 } | 756 } |
757 | 757 |
758 /** | 758 /** |
759 * @override | 759 * @override |
760 * @param {number} time | 760 * @param {number} time |
761 */ | 761 */ |
762 loadEventFired(time) { | 762 loadEventFired(time) { |
763 this._resourceTreeModel.dispatchEventToListeners(SDK.ResourceTreeModel.Event
s.Load, time); | 763 this._resourceTreeModel.dispatchEventToListeners( |
| 764 SDK.ResourceTreeModel.Events.Load, {resourceTreeModel: this._resourceTre
eModel, loadTime: time}); |
764 } | 765 } |
765 | 766 |
766 /** | 767 /** |
767 * @override | 768 * @override |
768 * @param {!Protocol.Page.FrameId} frameId | 769 * @param {!Protocol.Page.FrameId} frameId |
769 * @param {!Protocol.Page.FrameId} parentFrameId | 770 * @param {!Protocol.Page.FrameId} parentFrameId |
770 */ | 771 */ |
771 frameAttached(frameId, parentFrameId) { | 772 frameAttached(frameId, parentFrameId) { |
772 this._resourceTreeModel._frameAttached(frameId, parentFrameId); | 773 this._resourceTreeModel._frameAttached(frameId, parentFrameId); |
773 } | 774 } |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
880 this._resourceTreeModel.dispatchEventToListeners(SDK.ResourceTreeModel.Event
s.InterstitialHidden); | 881 this._resourceTreeModel.dispatchEventToListeners(SDK.ResourceTreeModel.Event
s.InterstitialHidden); |
881 } | 882 } |
882 | 883 |
883 /** | 884 /** |
884 * @override | 885 * @override |
885 */ | 886 */ |
886 navigationRequested() { | 887 navigationRequested() { |
887 // Frontend is not interested in when navigations are requested. | 888 // Frontend is not interested in when navigations are requested. |
888 } | 889 } |
889 }; | 890 }; |
OLD | NEW |