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 1017 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1028 media::CdmFactory* GetCdmFactory(); | 1028 media::CdmFactory* GetCdmFactory(); |
1029 media::DecoderFactory* GetDecoderFactory(); | 1029 media::DecoderFactory* GetDecoderFactory(); |
1030 | 1030 |
1031 void RegisterMojoInterfaces(); | 1031 void RegisterMojoInterfaces(); |
1032 | 1032 |
1033 // Connect to an interface provided by the service registry. | 1033 // Connect to an interface provided by the service registry. |
1034 template <typename Interface> | 1034 template <typename Interface> |
1035 void GetInterface(mojo::InterfaceRequest<Interface> request); | 1035 void GetInterface(mojo::InterfaceRequest<Interface> request); |
1036 | 1036 |
1037 // Connects to a Mojo application and returns a proxy to its exposed | 1037 // Connects to a Mojo application and returns a proxy to its exposed |
1038 // ServiceProvider. | 1038 // InterfaceProvider. |
1039 shell::mojom::InterfaceProviderPtr ConnectToApplication(const GURL& url); | 1039 shell::mojom::InterfaceProviderPtr ConnectToApplication(const GURL& url); |
1040 | 1040 |
1041 // Returns the media delegate for WebMediaPlayer usage. If | 1041 // Returns the media delegate for WebMediaPlayer usage. If |
1042 // |media_player_delegate_| is NULL, one is created. | 1042 // |media_player_delegate_| is NULL, one is created. |
1043 media::RendererWebMediaPlayerDelegate* GetWebMediaPlayerDelegate(); | 1043 media::RendererWebMediaPlayerDelegate* GetWebMediaPlayerDelegate(); |
1044 | 1044 |
1045 // Called to get the WebPlugin to handle find requests in the document. | 1045 // Called to get the WebPlugin to handle find requests in the document. |
1046 // Returns nullptr if there is no such WebPlugin. | 1046 // Returns nullptr if there is no such WebPlugin. |
1047 blink::WebPlugin* GetWebPluginForFind(); | 1047 blink::WebPlugin* GetWebPluginForFind(); |
1048 | 1048 |
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1301 mojom::FrameHostPtr frame_host_; | 1301 mojom::FrameHostPtr frame_host_; |
1302 | 1302 |
1303 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1303 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
1304 | 1304 |
1305 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1305 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
1306 }; | 1306 }; |
1307 | 1307 |
1308 } // namespace content | 1308 } // namespace content |
1309 | 1309 |
1310 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1310 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |