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 598 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
609 bool enterFullscreen() override; | 609 bool enterFullscreen() override; |
610 bool exitFullscreen() override; | 610 bool exitFullscreen() override; |
611 blink::WebPermissionClient* permissionClient() override; | 611 blink::WebPermissionClient* permissionClient() override; |
612 blink::WebAppBannerClient* appBannerClient() override; | 612 blink::WebAppBannerClient* appBannerClient() override; |
613 void registerProtocolHandler(const blink::WebString& scheme, | 613 void registerProtocolHandler(const blink::WebString& scheme, |
614 const blink::WebURL& url, | 614 const blink::WebURL& url, |
615 const blink::WebString& title) override; | 615 const blink::WebString& title) override; |
616 void unregisterProtocolHandler(const blink::WebString& scheme, | 616 void unregisterProtocolHandler(const blink::WebString& scheme, |
617 const blink::WebURL& url) override; | 617 const blink::WebURL& url) override; |
618 blink::WebBluetooth* bluetooth() override; | 618 blink::WebBluetooth* bluetooth() override; |
619 blink::WebUSBClient* usbClient() override; | |
620 void checkIfAudioSinkExistsAndIsAuthorized( | 619 void checkIfAudioSinkExistsAndIsAuthorized( |
621 const blink::WebString& sink_id, | 620 const blink::WebString& sink_id, |
622 const blink::WebSecurityOrigin& security_origin, | 621 const blink::WebSecurityOrigin& security_origin, |
623 blink::WebSetSinkIdCallbacks* web_callbacks) override; | 622 blink::WebSetSinkIdCallbacks* web_callbacks) override; |
624 blink::ServiceRegistry* serviceRegistry() override; | 623 blink::ServiceRegistry* serviceRegistry() override; |
625 | 624 |
626 #if defined(ENABLE_WEBVR) | 625 #if defined(ENABLE_WEBVR) |
627 blink::WebVRClient* webVRClient() override; | 626 blink::WebVRClient* webVRClient() override; |
628 #endif | 627 #endif |
629 | 628 |
(...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1186 // Only valid if |accessibility_mode_| is anything other than | 1185 // Only valid if |accessibility_mode_| is anything other than |
1187 // AccessibilityModeOff. | 1186 // AccessibilityModeOff. |
1188 RendererAccessibility* renderer_accessibility_; | 1187 RendererAccessibility* renderer_accessibility_; |
1189 | 1188 |
1190 std::unique_ptr<PermissionDispatcher> permission_client_; | 1189 std::unique_ptr<PermissionDispatcher> permission_client_; |
1191 | 1190 |
1192 std::unique_ptr<blink::WebAppBannerClient> app_banner_client_; | 1191 std::unique_ptr<blink::WebAppBannerClient> app_banner_client_; |
1193 | 1192 |
1194 std::unique_ptr<blink::WebBluetooth> bluetooth_; | 1193 std::unique_ptr<blink::WebBluetooth> bluetooth_; |
1195 | 1194 |
1196 std::unique_ptr<blink::WebUSBClient> usb_client_; | |
1197 | |
1198 // Manages play, pause notifications for WebMediaPlayer implementations; its | 1195 // Manages play, pause notifications for WebMediaPlayer implementations; its |
1199 // lifetime is tied to the RenderFrame via the RenderFrameObserver interface. | 1196 // lifetime is tied to the RenderFrame via the RenderFrameObserver interface. |
1200 media::RendererWebMediaPlayerDelegate* media_player_delegate_; | 1197 media::RendererWebMediaPlayerDelegate* media_player_delegate_; |
1201 | 1198 |
1202 // Whether or not this RenderFrame is using Lo-Fi mode. | 1199 // Whether or not this RenderFrame is using Lo-Fi mode. |
1203 bool is_using_lofi_; | 1200 bool is_using_lofi_; |
1204 | 1201 |
1205 // Whether or not this RenderFrame is currently pasting. | 1202 // Whether or not this RenderFrame is currently pasting. |
1206 bool is_pasting_; | 1203 bool is_pasting_; |
1207 | 1204 |
(...skipping 15 matching lines...) Expand all Loading... |
1223 std::unique_ptr<FrameBlameContext> blame_context_; | 1220 std::unique_ptr<FrameBlameContext> blame_context_; |
1224 | 1221 |
1225 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1222 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
1226 | 1223 |
1227 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1224 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
1228 }; | 1225 }; |
1229 | 1226 |
1230 } // namespace content | 1227 } // namespace content |
1231 | 1228 |
1232 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1229 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |