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 812 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
823 * @param {boolean} result | 823 * @param {boolean} result |
824 */ | 824 */ |
825 javascriptDialogClosed: function(result) | 825 javascriptDialogClosed: function(result) |
826 { | 826 { |
827 }, | 827 }, |
828 | 828 |
829 /** | 829 /** |
830 * @override | 830 * @override |
831 * @param {string} data | 831 * @param {string} data |
832 * @param {!PageAgent.ScreencastFrameMetadata=} metadata | 832 * @param {!PageAgent.ScreencastFrameMetadata=} metadata |
833 * @param {number=} frameNumber | |
834 */ | 833 */ |
835 screencastFrame: function(data, metadata, frameNumber) | 834 screencastFrame: function(data, metadata) |
836 { | 835 { |
837 this._resourceTreeModel.dispatchEventToListeners(WebInspector.ResourceTr
eeModel.EventTypes.ScreencastFrame, {data:data, metadata:metadata, frameNumber:f
rameNumber}); | 836 this._resourceTreeModel.dispatchEventToListeners(WebInspector.ResourceTr
eeModel.EventTypes.ScreencastFrame, { data: data, metadata: metadata }); |
838 }, | 837 }, |
839 | 838 |
840 /** | 839 /** |
841 * @override | 840 * @override |
842 * @param {boolean} visible | 841 * @param {boolean} visible |
843 */ | 842 */ |
844 screencastVisibilityChanged: function(visible) | 843 screencastVisibilityChanged: function(visible) |
845 { | 844 { |
846 this._resourceTreeModel.dispatchEventToListeners(WebInspector.ResourceTr
eeModel.EventTypes.ScreencastVisibilityChanged, {visible:visible}); | 845 this._resourceTreeModel.dispatchEventToListeners(WebInspector.ResourceTr
eeModel.EventTypes.ScreencastVisibilityChanged, { visible:visible }); |
847 }, | 846 }, |
848 | 847 |
849 /** | 848 /** |
850 * @override | 849 * @override |
851 * @param {!DOMAgent.RGBA} color | 850 * @param {!DOMAgent.RGBA} color |
852 */ | 851 */ |
853 colorPicked: function(color) | 852 colorPicked: function(color) |
854 { | 853 { |
855 this._resourceTreeModel.dispatchEventToListeners(WebInspector.ResourceTr
eeModel.EventTypes.ColorPicked, color); | 854 this._resourceTreeModel.dispatchEventToListeners(WebInspector.ResourceTr
eeModel.EventTypes.ColorPicked, color); |
856 }, | 855 }, |
857 | 856 |
858 /** | 857 /** |
859 * @override | 858 * @override |
860 */ | 859 */ |
861 interstitialShown: function() | 860 interstitialShown: function() |
862 { | 861 { |
863 // Frontend is not interested in interstitials. | 862 // Frontend is not interested in interstitials. |
864 }, | 863 }, |
865 | 864 |
866 /** | 865 /** |
867 * @override | 866 * @override |
868 */ | 867 */ |
869 interstitialHidden: function() | 868 interstitialHidden: function() |
870 { | 869 { |
871 // Frontend is not interested in interstitials. | 870 // Frontend is not interested in interstitials. |
872 } | 871 } |
873 } | 872 } |
OLD | NEW |