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