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