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

Side by Side Diff: content/browser/frame_host/render_frame_host_impl.h

Issue 2812883003: Browser test dry runs with mojo audio streams.
Patch Set: Rebase Created 3 years, 6 months 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
« no previous file with comments | « no previous file | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 887 matching lines...) Expand 10 before | Expand all | Expand 10 after
898 // Creates Web Bluetooth Service owned by the frame. Returns a raw pointer 898 // Creates Web Bluetooth Service owned by the frame. Returns a raw pointer
899 // to it. 899 // to it.
900 WebBluetoothServiceImpl* CreateWebBluetoothService( 900 WebBluetoothServiceImpl* CreateWebBluetoothService(
901 const service_manager::BindSourceInfo& source_info, 901 const service_manager::BindSourceInfo& source_info,
902 blink::mojom::WebBluetoothServiceRequest request); 902 blink::mojom::WebBluetoothServiceRequest request);
903 903
904 // Deletes the Web Bluetooth Service owned by the frame. 904 // Deletes the Web Bluetooth Service owned by the frame.
905 void DeleteWebBluetoothService( 905 void DeleteWebBluetoothService(
906 WebBluetoothServiceImpl* web_bluetooth_service); 906 WebBluetoothServiceImpl* web_bluetooth_service);
907 907
908 void CreateAudioOutputStreamFactory(
909 const service_manager::BindSourceInfo& source_info,
910 mojom::RendererAudioOutputStreamFactoryRequest request);
911
908 void BindMediaInterfaceFactoryRequest( 912 void BindMediaInterfaceFactoryRequest(
909 const service_manager::BindSourceInfo& source_info, 913 const service_manager::BindSourceInfo& source_info,
910 media::mojom::InterfaceFactoryRequest request); 914 media::mojom::InterfaceFactoryRequest request);
911 915
912 // Callback for connection error on the media::mojom::InterfaceFactory client. 916 // Callback for connection error on the media::mojom::InterfaceFactory client.
913 void OnMediaInterfaceFactoryConnectionError(); 917 void OnMediaInterfaceFactoryConnectionError();
914 918
915 void BindWakeLockServiceRequest( 919 void BindWakeLockServiceRequest(
916 const service_manager::BindSourceInfo& source_info, 920 const service_manager::BindSourceInfo& source_info,
917 device::mojom::WakeLockServiceRequest request); 921 device::mojom::WakeLockServiceRequest request);
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
1183 bool has_focused_editable_element_; 1187 bool has_focused_editable_element_;
1184 1188
1185 typedef std::pair<CommonNavigationParams, BeginNavigationParams> 1189 typedef std::pair<CommonNavigationParams, BeginNavigationParams>
1186 PendingNavigation; 1190 PendingNavigation;
1187 std::unique_ptr<PendingNavigation> pendinging_navigate_; 1191 std::unique_ptr<PendingNavigation> pendinging_navigate_;
1188 1192
1189 // Callback for responding when 1193 // Callback for responding when
1190 // |FrameHostMsg_TextSurroundingSelectionResponse| message comes. 1194 // |FrameHostMsg_TextSurroundingSelectionResponse| message comes.
1191 TextSurroundingSelectionCallback text_surrounding_selection_callback_; 1195 TextSurroundingSelectionCallback text_surrounding_selection_callback_;
1192 1196
1197 UniqueAudioOutputStreamFactoryPtr audio_output_stream_factory_;
1198
1193 // Hosts media::mojom::InterfaceFactory for the RenderFrame and forwards 1199 // Hosts media::mojom::InterfaceFactory for the RenderFrame and forwards
1194 // media::mojom::InterfaceFactory calls to the remote "media" service. 1200 // media::mojom::InterfaceFactory calls to the remote "media" service.
1195 std::unique_ptr<MediaInterfaceProxy> media_interface_proxy_; 1201 std::unique_ptr<MediaInterfaceProxy> media_interface_proxy_;
1196 1202
1197 std::unique_ptr<AssociatedInterfaceProviderImpl> 1203 std::unique_ptr<AssociatedInterfaceProviderImpl>
1198 remote_associated_interfaces_; 1204 remote_associated_interfaces_;
1199 1205
1200 // A bitwise OR of bindings types that have been enabled for this RenderFrame. 1206 // A bitwise OR of bindings types that have been enabled for this RenderFrame.
1201 // See BindingsPolicy for details. 1207 // See BindingsPolicy for details.
1202 int enabled_bindings_ = 0; 1208 int enabled_bindings_ = 0;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
1234 1240
1235 // NOTE: This must be the last member. 1241 // NOTE: This must be the last member.
1236 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 1242 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
1237 1243
1238 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 1244 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
1239 }; 1245 };
1240 1246
1241 } // namespace content 1247 } // namespace content
1242 1248
1243 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 1249 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698