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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 class WebServiceWorkerProvider; | 90 class WebServiceWorkerProvider; |
91 class WebSocketHandle; | 91 class WebSocketHandle; |
92 class WebPlugin; | 92 class WebPlugin; |
93 class WebPresentationClient; | 93 class WebPresentationClient; |
94 class WebPushClient; | 94 class WebPushClient; |
95 class WebRTCPeerConnectionHandler; | 95 class WebRTCPeerConnectionHandler; |
96 class WebScreenOrientationClient; | 96 class WebScreenOrientationClient; |
97 class WebString; | 97 class WebString; |
98 class WebURL; | 98 class WebURL; |
99 class WebURLResponse; | 99 class WebURLResponse; |
100 class WebUSBClient; | |
101 class WebUserMediaClient; | 100 class WebUserMediaClient; |
102 class WebVRClient; | 101 class WebVRClient; |
103 class WebWakeLockClient; | 102 class WebWakeLockClient; |
104 class WebWorkerContentSettingsClientProxy; | 103 class WebWorkerContentSettingsClientProxy; |
105 struct WebColorSuggestion; | 104 struct WebColorSuggestion; |
106 struct WebConsoleMessage; | 105 struct WebConsoleMessage; |
107 struct WebContextMenuData; | 106 struct WebContextMenuData; |
108 struct WebPluginParams; | 107 struct WebPluginParams; |
109 struct WebPopupMenuInfo; | 108 struct WebPopupMenuInfo; |
110 struct WebRect; | 109 struct WebRect; |
(...skipping 597 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
708 | 707 |
709 // Check if a given URL handler is registered for the given protocol. | 708 // Check if a given URL handler is registered for the given protocol. |
710 virtual WebCustomHandlersState isProtocolHandlerRegistered(const WebString&
scheme, const WebURL& url) | 709 virtual WebCustomHandlersState isProtocolHandlerRegistered(const WebString&
scheme, const WebURL& url) |
711 { | 710 { |
712 return WebCustomHandlersNew; | 711 return WebCustomHandlersNew; |
713 } | 712 } |
714 | 713 |
715 // Bluetooth ----------------------------------------------------------- | 714 // Bluetooth ----------------------------------------------------------- |
716 virtual WebBluetooth* bluetooth() { return 0; } | 715 virtual WebBluetooth* bluetooth() { return 0; } |
717 | 716 |
718 // WebUSB -------------------------------------------------------------- | |
719 virtual WebUSBClient* usbClient() { return nullptr; } | |
720 | |
721 | 717 |
722 // Audio Output Devices API -------------------------------------------- | 718 // Audio Output Devices API -------------------------------------------- |
723 | 719 |
724 // Checks that the given audio sink exists and is authorized. The result is
provided via the callbacks. | 720 // Checks that the given audio sink exists and is authorized. The result is
provided via the callbacks. |
725 // This method takes ownership of the callbacks pointer. | 721 // This method takes ownership of the callbacks pointer. |
726 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId,
const WebSecurityOrigin&, WebSetSinkIdCallbacks* callbacks) | 722 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId,
const WebSecurityOrigin&, WebSetSinkIdCallbacks* callbacks) |
727 { | 723 { |
728 if (callbacks) { | 724 if (callbacks) { |
729 callbacks->onError(WebSetSinkIdError::NotSupported); | 725 callbacks->onError(WebSetSinkIdError::NotSupported); |
730 delete callbacks; | 726 delete callbacks; |
731 } | 727 } |
732 } | 728 } |
733 | 729 |
734 // Mojo ---------------------------------------------------------------- | 730 // Mojo ---------------------------------------------------------------- |
735 virtual ServiceRegistry* serviceRegistry() { return nullptr; } | 731 virtual ServiceRegistry* serviceRegistry() { return nullptr; } |
736 | 732 |
737 protected: | 733 protected: |
738 virtual ~WebFrameClient() { } | 734 virtual ~WebFrameClient() { } |
739 }; | 735 }; |
740 | 736 |
741 } // namespace blink | 737 } // namespace blink |
742 | 738 |
743 #endif | 739 #endif |
OLD | NEW |