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 1004 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1015 | 1015 |
1016 media::CdmFactory* GetCdmFactory(); | 1016 media::CdmFactory* GetCdmFactory(); |
1017 media::DecoderFactory* GetDecoderFactory(); | 1017 media::DecoderFactory* GetDecoderFactory(); |
1018 | 1018 |
1019 void RegisterMojoInterfaces(); | 1019 void RegisterMojoInterfaces(); |
1020 | 1020 |
1021 // Connect to an interface provided by the service registry. | 1021 // Connect to an interface provided by the service registry. |
1022 template <typename Interface> | 1022 template <typename Interface> |
1023 void GetInterface(mojo::InterfaceRequest<Interface> request); | 1023 void GetInterface(mojo::InterfaceRequest<Interface> request); |
1024 | 1024 |
1025 // Connects to a Mojo application and returns a proxy to its exposed | |
1026 // ServiceProvider. | |
1027 shell::mojom::InterfaceProviderPtr ConnectToApplication(const GURL& url); | |
1028 | |
1029 // Returns the media delegate for WebMediaPlayer usage. If | 1025 // Returns the media delegate for WebMediaPlayer usage. If |
1030 // |media_player_delegate_| is NULL, one is created. | 1026 // |media_player_delegate_| is NULL, one is created. |
1031 media::RendererWebMediaPlayerDelegate* GetWebMediaPlayerDelegate(); | 1027 media::RendererWebMediaPlayerDelegate* GetWebMediaPlayerDelegate(); |
1032 | 1028 |
1033 // Called to get the WebPlugin to handle find requests in the document. | 1029 // Called to get the WebPlugin to handle find requests in the document. |
1034 // Returns nullptr if there is no such WebPlugin. | 1030 // Returns nullptr if there is no such WebPlugin. |
1035 blink::WebPlugin* GetWebPluginForFind(); | 1031 blink::WebPlugin* GetWebPluginForFind(); |
1036 | 1032 |
1037 // Sends a reply to the current find operation handling if it was a | 1033 // Sends a reply to the current find operation handling if it was a |
1038 // synchronous find request. | 1034 // synchronous find request. |
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1289 mojom::FrameHostPtr frame_host_; | 1285 mojom::FrameHostPtr frame_host_; |
1290 | 1286 |
1291 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1287 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
1292 | 1288 |
1293 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1289 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
1294 }; | 1290 }; |
1295 | 1291 |
1296 } // namespace content | 1292 } // namespace content |
1297 | 1293 |
1298 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1294 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |