| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2011, 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 class WebFormElement; | 83 class WebFormElement; |
| 84 class WebInstalledAppClient; | 84 class WebInstalledAppClient; |
| 85 class WebMediaPlayer; | 85 class WebMediaPlayer; |
| 86 class WebMediaPlayerClient; | 86 class WebMediaPlayerClient; |
| 87 class WebMediaPlayerEncryptedMediaClient; | 87 class WebMediaPlayerEncryptedMediaClient; |
| 88 class WebMediaPlayerSource; | 88 class WebMediaPlayerSource; |
| 89 class WebMediaSession; | 89 class WebMediaSession; |
| 90 class WebMediaStream; | 90 class WebMediaStream; |
| 91 class WebMIDIClient; | 91 class WebMIDIClient; |
| 92 class WebNotificationPermissionCallback; | 92 class WebNotificationPermissionCallback; |
| 93 class WebPermissionClient; | |
| 94 class WebServiceWorkerProvider; | 93 class WebServiceWorkerProvider; |
| 95 class WebSocketHandle; | 94 class WebSocketHandle; |
| 96 class WebPlugin; | 95 class WebPlugin; |
| 97 class WebPresentationClient; | 96 class WebPresentationClient; |
| 98 class WebPushClient; | 97 class WebPushClient; |
| 99 class WebRTCPeerConnectionHandler; | 98 class WebRTCPeerConnectionHandler; |
| 100 class WebScreenOrientationClient; | 99 class WebScreenOrientationClient; |
| 101 class WebString; | 100 class WebString; |
| 102 class WebURL; | 101 class WebURL; |
| 103 class WebURLResponse; | 102 class WebURLResponse; |
| (...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 668 // Called when elements preventing the sudden termination of the frame | 667 // Called when elements preventing the sudden termination of the frame |
| 669 // become present or stop being present. |type| is the type of element | 668 // become present or stop being present. |type| is the type of element |
| 670 // (BeforeUnload handler, Unload handler). | 669 // (BeforeUnload handler, Unload handler). |
| 671 enum SuddenTerminationDisablerType { | 670 enum SuddenTerminationDisablerType { |
| 672 BeforeUnloadHandler, | 671 BeforeUnloadHandler, |
| 673 UnloadHandler, | 672 UnloadHandler, |
| 674 }; | 673 }; |
| 675 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio
nDisablerType) { } | 674 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio
nDisablerType) { } |
| 676 | 675 |
| 677 | 676 |
| 678 // Permissions --------------------------------------------------------- | |
| 679 | |
| 680 // Access the embedder API for permission client. | |
| 681 virtual WebPermissionClient* permissionClient() { return 0; } | |
| 682 | |
| 683 // App Banners --------------------------------------------------------- | 677 // App Banners --------------------------------------------------------- |
| 684 virtual WebAppBannerClient* appBannerClient() { return 0; } | 678 virtual WebAppBannerClient* appBannerClient() { return 0; } |
| 685 | 679 |
| 686 // Navigator Content Utils -------------------------------------------- | 680 // Navigator Content Utils -------------------------------------------- |
| 687 | 681 |
| 688 // Registers a new URL handler for the given protocol. | 682 // Registers a new URL handler for the given protocol. |
| 689 virtual void registerProtocolHandler(const WebString& scheme, | 683 virtual void registerProtocolHandler(const WebString& scheme, |
| 690 const WebURL& url, | 684 const WebURL& url, |
| 691 const WebString& title) { } | 685 const WebString& title) { } |
| 692 | 686 |
| (...skipping 25 matching lines...) Expand all Loading... |
| 718 // Mojo ---------------------------------------------------------------- | 712 // Mojo ---------------------------------------------------------------- |
| 719 virtual ServiceRegistry* serviceRegistry() { return nullptr; } | 713 virtual ServiceRegistry* serviceRegistry() { return nullptr; } |
| 720 | 714 |
| 721 protected: | 715 protected: |
| 722 virtual ~WebFrameClient() { } | 716 virtual ~WebFrameClient() { } |
| 723 }; | 717 }; |
| 724 | 718 |
| 725 } // namespace blink | 719 } // namespace blink |
| 726 | 720 |
| 727 #endif | 721 #endif |
| OLD | NEW |