Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(162)

Side by Side Diff: content/renderer/render_frame_impl.h

Issue 2565913002: [Onion Soup] Move WebBluetoothImpl from //content/renderer/bluetooth to Blink's bluetooth module (Closed)
Patch Set: fixed layout tests Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 617 matching lines...) Expand 10 before | Expand all | Expand 10 after
628 const blink::WebAXObject& end_object, 628 const blink::WebAXObject& end_object,
629 int end_offset) override; 629 int end_offset) override;
630 void didChangeManifest() override; 630 void didChangeManifest() override;
631 void enterFullscreen() override; 631 void enterFullscreen() override;
632 void exitFullscreen() override; 632 void exitFullscreen() override;
633 void registerProtocolHandler(const blink::WebString& scheme, 633 void registerProtocolHandler(const blink::WebString& scheme,
634 const blink::WebURL& url, 634 const blink::WebURL& url,
635 const blink::WebString& title) override; 635 const blink::WebString& title) override;
636 void unregisterProtocolHandler(const blink::WebString& scheme, 636 void unregisterProtocolHandler(const blink::WebString& scheme,
637 const blink::WebURL& url) override; 637 const blink::WebURL& url) override;
638 blink::WebBluetooth* bluetooth() override;
639 void checkIfAudioSinkExistsAndIsAuthorized( 638 void checkIfAudioSinkExistsAndIsAuthorized(
640 const blink::WebString& sink_id, 639 const blink::WebString& sink_id,
641 const blink::WebSecurityOrigin& security_origin, 640 const blink::WebSecurityOrigin& security_origin,
642 blink::WebSetSinkIdCallbacks* web_callbacks) override; 641 blink::WebSetSinkIdCallbacks* web_callbacks) override;
643 blink::InterfaceProvider* interfaceProvider() override; 642 blink::InterfaceProvider* interfaceProvider() override;
644 blink::InterfaceRegistry* interfaceRegistry() override; 643 blink::InterfaceRegistry* interfaceRegistry() override;
645 blink::WebPageVisibilityState visibilityState() const override; 644 blink::WebPageVisibilityState visibilityState() const override;
646 645
647 // WebFrameSerializerClient implementation: 646 // WebFrameSerializerClient implementation:
648 void didSerializeDataForFrame( 647 void didSerializeDataForFrame(
(...skipping 620 matching lines...) Expand 10 before | Expand all | Expand 10 after
1269 // process. 1268 // process.
1270 ManifestManager* manifest_manager_; 1269 ManifestManager* manifest_manager_;
1271 1270
1272 // The current accessibility mode. 1271 // The current accessibility mode.
1273 AccessibilityMode accessibility_mode_; 1272 AccessibilityMode accessibility_mode_;
1274 1273
1275 // Only valid if |accessibility_mode_| is anything other than 1274 // Only valid if |accessibility_mode_| is anything other than
1276 // AccessibilityModeOff. 1275 // AccessibilityModeOff.
1277 RenderAccessibilityImpl* render_accessibility_; 1276 RenderAccessibilityImpl* render_accessibility_;
1278 1277
1279 std::unique_ptr<blink::WebBluetooth> bluetooth_;
1280
1281 // Manages play, pause notifications for WebMediaPlayer implementations; its 1278 // Manages play, pause notifications for WebMediaPlayer implementations; its
1282 // lifetime is tied to the RenderFrame via the RenderFrameObserver interface. 1279 // lifetime is tied to the RenderFrame via the RenderFrameObserver interface.
1283 media::RendererWebMediaPlayerDelegate* media_player_delegate_; 1280 media::RendererWebMediaPlayerDelegate* media_player_delegate_;
1284 1281
1285 // Whether or not this RenderFrame is using Lo-Fi mode. 1282 // Whether or not this RenderFrame is using Lo-Fi mode.
1286 bool is_using_lofi_; 1283 bool is_using_lofi_;
1287 1284
1288 // Effective connection type when the document of this frame was fetched. 1285 // Effective connection type when the document of this frame was fetched.
1289 blink::WebEffectiveConnectionType effective_connection_type_; 1286 blink::WebEffectiveConnectionType effective_connection_type_;
1290 1287
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
1345 bool browser_side_navigation_pending_ = false; 1342 bool browser_side_navigation_pending_ = false;
1346 1343
1347 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1344 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1348 1345
1349 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1346 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1350 }; 1347 };
1351 1348
1352 } // namespace content 1349 } // namespace content
1353 1350
1354 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1351 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698