OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
611 bool enterFullscreen() override; | 611 bool enterFullscreen() override; |
612 bool exitFullscreen() override; | 612 bool exitFullscreen() override; |
613 blink::WebPermissionClient* permissionClient() override; | 613 blink::WebPermissionClient* permissionClient() override; |
614 blink::WebAppBannerClient* appBannerClient() override; | 614 blink::WebAppBannerClient* appBannerClient() override; |
615 void registerProtocolHandler(const blink::WebString& scheme, | 615 void registerProtocolHandler(const blink::WebString& scheme, |
616 const blink::WebURL& url, | 616 const blink::WebURL& url, |
617 const blink::WebString& title) override; | 617 const blink::WebString& title) override; |
618 void unregisterProtocolHandler(const blink::WebString& scheme, | 618 void unregisterProtocolHandler(const blink::WebString& scheme, |
619 const blink::WebURL& url) override; | 619 const blink::WebURL& url) override; |
620 blink::WebBluetooth* bluetooth() override; | 620 blink::WebBluetooth* bluetooth() override; |
621 blink::WebUSBClient* usbClient() override; | |
622 void checkIfAudioSinkExistsAndIsAuthorized( | 621 void checkIfAudioSinkExistsAndIsAuthorized( |
623 const blink::WebString& sink_id, | 622 const blink::WebString& sink_id, |
624 const blink::WebSecurityOrigin& security_origin, | 623 const blink::WebSecurityOrigin& security_origin, |
625 blink::WebSetSinkIdCallbacks* web_callbacks) override; | 624 blink::WebSetSinkIdCallbacks* web_callbacks) override; |
626 blink::ServiceRegistry* serviceRegistry() override; | 625 blink::ServiceRegistry* serviceRegistry() override; |
627 | 626 |
628 #if defined(ENABLE_WEBVR) | 627 #if defined(ENABLE_WEBVR) |
629 blink::WebVRClient* webVRClient() override; | 628 blink::WebVRClient* webVRClient() override; |
630 #endif | 629 #endif |
631 | 630 |
(...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1192 // Only valid if |accessibility_mode_| is anything other than | 1191 // Only valid if |accessibility_mode_| is anything other than |
1193 // AccessibilityModeOff. | 1192 // AccessibilityModeOff. |
1194 RendererAccessibility* renderer_accessibility_; | 1193 RendererAccessibility* renderer_accessibility_; |
1195 | 1194 |
1196 std::unique_ptr<PermissionDispatcher> permission_client_; | 1195 std::unique_ptr<PermissionDispatcher> permission_client_; |
1197 | 1196 |
1198 std::unique_ptr<blink::WebAppBannerClient> app_banner_client_; | 1197 std::unique_ptr<blink::WebAppBannerClient> app_banner_client_; |
1199 | 1198 |
1200 std::unique_ptr<blink::WebBluetooth> bluetooth_; | 1199 std::unique_ptr<blink::WebBluetooth> bluetooth_; |
1201 | 1200 |
1202 std::unique_ptr<blink::WebUSBClient> usb_client_; | |
1203 | |
1204 // Manages play, pause notifications for WebMediaPlayer implementations; its | 1201 // Manages play, pause notifications for WebMediaPlayer implementations; its |
1205 // lifetime is tied to the RenderFrame via the RenderFrameObserver interface. | 1202 // lifetime is tied to the RenderFrame via the RenderFrameObserver interface. |
1206 media::RendererWebMediaPlayerDelegate* media_player_delegate_; | 1203 media::RendererWebMediaPlayerDelegate* media_player_delegate_; |
1207 | 1204 |
1208 // Whether or not this RenderFrame is using Lo-Fi mode. | 1205 // Whether or not this RenderFrame is using Lo-Fi mode. |
1209 bool is_using_lofi_; | 1206 bool is_using_lofi_; |
1210 | 1207 |
1211 // Whether or not this RenderFrame is currently pasting. | 1208 // Whether or not this RenderFrame is currently pasting. |
1212 bool is_pasting_; | 1209 bool is_pasting_; |
1213 | 1210 |
(...skipping 15 matching lines...) Expand all Loading... |
1229 FrameBlameContext* blame_context_; // Not owned. | 1226 FrameBlameContext* blame_context_; // Not owned. |
1230 | 1227 |
1231 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1228 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
1232 | 1229 |
1233 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1230 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
1234 }; | 1231 }; |
1235 | 1232 |
1236 } // namespace content | 1233 } // namespace content |
1237 | 1234 |
1238 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1235 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |