| 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 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 491 FrameWillNavigate: Symbol('FrameWillNavigate'), | 491 FrameWillNavigate: Symbol('FrameWillNavigate'), |
| 492 MainFrameNavigated: Symbol('MainFrameNavigated'), | 492 MainFrameNavigated: Symbol('MainFrameNavigated'), |
| 493 MainFrameStartedLoading: Symbol('MainFrameStartedLoading'), | 493 MainFrameStartedLoading: Symbol('MainFrameStartedLoading'), |
| 494 ResourceAdded: Symbol('ResourceAdded'), | 494 ResourceAdded: Symbol('ResourceAdded'), |
| 495 WillLoadCachedResources: Symbol('WillLoadCachedResources'), | 495 WillLoadCachedResources: Symbol('WillLoadCachedResources'), |
| 496 CachedResourcesLoaded: Symbol('CachedResourcesLoaded'), | 496 CachedResourcesLoaded: Symbol('CachedResourcesLoaded'), |
| 497 DOMContentLoaded: Symbol('DOMContentLoaded'), | 497 DOMContentLoaded: Symbol('DOMContentLoaded'), |
| 498 Load: Symbol('Load'), | 498 Load: Symbol('Load'), |
| 499 PageReloadRequested: Symbol('PageReloadRequested'), | 499 PageReloadRequested: Symbol('PageReloadRequested'), |
| 500 WillReloadPage: Symbol('WillReloadPage'), | 500 WillReloadPage: Symbol('WillReloadPage'), |
| 501 ColorPicked: Symbol('ColorPicked'), | |
| 502 InterstitialShown: Symbol('InterstitialShown'), | 501 InterstitialShown: Symbol('InterstitialShown'), |
| 503 InterstitialHidden: Symbol('InterstitialHidden') | 502 InterstitialHidden: Symbol('InterstitialHidden') |
| 504 }; | 503 }; |
| 505 | 504 |
| 506 | 505 |
| 507 /** | 506 /** |
| 508 * @unrestricted | 507 * @unrestricted |
| 509 */ | 508 */ |
| 510 SDK.ResourceTreeFrame = class { | 509 SDK.ResourceTreeFrame = class { |
| 511 /** | 510 /** |
| (...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 863 | 862 |
| 864 /** | 863 /** |
| 865 * @override | 864 * @override |
| 866 * @param {boolean} visible | 865 * @param {boolean} visible |
| 867 */ | 866 */ |
| 868 screencastVisibilityChanged(visible) { | 867 screencastVisibilityChanged(visible) { |
| 869 } | 868 } |
| 870 | 869 |
| 871 /** | 870 /** |
| 872 * @override | 871 * @override |
| 873 * @param {!Protocol.DOM.RGBA} color | |
| 874 */ | |
| 875 colorPicked(color) { | |
| 876 this._resourceTreeModel.dispatchEventToListeners(SDK.ResourceTreeModel.Event
s.ColorPicked, color); | |
| 877 } | |
| 878 | |
| 879 /** | |
| 880 * @override | |
| 881 */ | 872 */ |
| 882 interstitialShown() { | 873 interstitialShown() { |
| 883 this._resourceTreeModel._isInterstitialShowing = true; | 874 this._resourceTreeModel._isInterstitialShowing = true; |
| 884 this._resourceTreeModel.dispatchEventToListeners(SDK.ResourceTreeModel.Event
s.InterstitialShown); | 875 this._resourceTreeModel.dispatchEventToListeners(SDK.ResourceTreeModel.Event
s.InterstitialShown); |
| 885 } | 876 } |
| 886 | 877 |
| 887 /** | 878 /** |
| 888 * @override | 879 * @override |
| 889 */ | 880 */ |
| 890 interstitialHidden() { | 881 interstitialHidden() { |
| 891 this._resourceTreeModel._isInterstitialShowing = false; | 882 this._resourceTreeModel._isInterstitialShowing = false; |
| 892 this._resourceTreeModel.dispatchEventToListeners(SDK.ResourceTreeModel.Event
s.InterstitialHidden); | 883 this._resourceTreeModel.dispatchEventToListeners(SDK.ResourceTreeModel.Event
s.InterstitialHidden); |
| 893 } | 884 } |
| 894 | 885 |
| 895 /** | 886 /** |
| 896 * @override | 887 * @override |
| 897 */ | 888 */ |
| 898 navigationRequested() { | 889 navigationRequested() { |
| 899 // Frontend is not interested in when navigations are requested. | 890 // Frontend is not interested in when navigations are requested. |
| 900 } | 891 } |
| 901 }; | 892 }; |
| OLD | NEW |