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