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