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 625 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
636 const blink::WebAXObject& end_object, | 636 const blink::WebAXObject& end_object, |
637 int end_offset) override; | 637 int end_offset) override; |
638 void didChangeManifest() override; | 638 void didChangeManifest() override; |
639 void enterFullscreen() override; | 639 void enterFullscreen() override; |
640 void exitFullscreen() override; | 640 void exitFullscreen() override; |
641 void registerProtocolHandler(const blink::WebString& scheme, | 641 void registerProtocolHandler(const blink::WebString& scheme, |
642 const blink::WebURL& url, | 642 const blink::WebURL& url, |
643 const blink::WebString& title) override; | 643 const blink::WebString& title) override; |
644 void unregisterProtocolHandler(const blink::WebString& scheme, | 644 void unregisterProtocolHandler(const blink::WebString& scheme, |
645 const blink::WebURL& url) override; | 645 const blink::WebURL& url) override; |
646 blink::WebBluetooth* bluetooth() override; | |
647 void checkIfAudioSinkExistsAndIsAuthorized( | 646 void checkIfAudioSinkExistsAndIsAuthorized( |
648 const blink::WebString& sink_id, | 647 const blink::WebString& sink_id, |
649 const blink::WebSecurityOrigin& security_origin, | 648 const blink::WebSecurityOrigin& security_origin, |
650 blink::WebSetSinkIdCallbacks* web_callbacks) override; | 649 blink::WebSetSinkIdCallbacks* web_callbacks) override; |
651 blink::InterfaceProvider* interfaceProvider() override; | 650 blink::InterfaceProvider* interfaceProvider() override; |
652 blink::InterfaceRegistry* interfaceRegistry() override; | 651 blink::InterfaceRegistry* interfaceRegistry() override; |
653 blink::WebPageVisibilityState visibilityState() const override; | 652 blink::WebPageVisibilityState visibilityState() const override; |
654 | 653 |
655 // WebFrameSerializerClient implementation: | 654 // WebFrameSerializerClient implementation: |
656 void didSerializeDataForFrame( | 655 void didSerializeDataForFrame( |
(...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1282 // process. | 1281 // process. |
1283 ManifestManager* manifest_manager_; | 1282 ManifestManager* manifest_manager_; |
1284 | 1283 |
1285 // The current accessibility mode. | 1284 // The current accessibility mode. |
1286 AccessibilityMode accessibility_mode_; | 1285 AccessibilityMode accessibility_mode_; |
1287 | 1286 |
1288 // Only valid if |accessibility_mode_| is anything other than | 1287 // Only valid if |accessibility_mode_| is anything other than |
1289 // AccessibilityModeOff. | 1288 // AccessibilityModeOff. |
1290 RenderAccessibilityImpl* render_accessibility_; | 1289 RenderAccessibilityImpl* render_accessibility_; |
1291 | 1290 |
1292 std::unique_ptr<blink::WebBluetooth> bluetooth_; | |
1293 | |
1294 // Manages play, pause notifications for WebMediaPlayer implementations; its | 1291 // Manages play, pause notifications for WebMediaPlayer implementations; its |
1295 // lifetime is tied to the RenderFrame via the RenderFrameObserver interface. | 1292 // lifetime is tied to the RenderFrame via the RenderFrameObserver interface. |
1296 media::RendererWebMediaPlayerDelegate* media_player_delegate_; | 1293 media::RendererWebMediaPlayerDelegate* media_player_delegate_; |
1297 | 1294 |
1298 // Whether or not this RenderFrame is using Lo-Fi mode. | 1295 // Whether or not this RenderFrame is using Lo-Fi mode. |
1299 bool is_using_lofi_; | 1296 bool is_using_lofi_; |
1300 | 1297 |
1301 // Effective connection type when the document of this frame was fetched. | 1298 // Effective connection type when the document of this frame was fetched. |
1302 blink::WebEffectiveConnectionType effective_connection_type_; | 1299 blink::WebEffectiveConnectionType effective_connection_type_; |
1303 | 1300 |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1361 bool browser_side_navigation_pending_ = false; | 1358 bool browser_side_navigation_pending_ = false; |
1362 | 1359 |
1363 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1360 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
1364 | 1361 |
1365 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1362 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
1366 }; | 1363 }; |
1367 | 1364 |
1368 } // namespace content | 1365 } // namespace content |
1369 | 1366 |
1370 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1367 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |