| 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 943 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 954 // Called when a connection error happened on |media_service_factory_|. | 954 // Called when a connection error happened on |media_service_factory_|. |
| 955 void OnMediaServiceFactoryConnectionError(); | 955 void OnMediaServiceFactoryConnectionError(); |
| 956 #endif | 956 #endif |
| 957 | 957 |
| 958 media::CdmFactory* GetCdmFactory(); | 958 media::CdmFactory* GetCdmFactory(); |
| 959 | 959 |
| 960 void RegisterMojoServices(); | 960 void RegisterMojoServices(); |
| 961 | 961 |
| 962 // Connect to an interface provided by the service registry. | 962 // Connect to an interface provided by the service registry. |
| 963 template <typename Interface> | 963 template <typename Interface> |
| 964 void ConnectToService(mojo::InterfaceRequest<Interface> request); | 964 void GetInterface(mojo::InterfaceRequest<Interface> request); |
| 965 | 965 |
| 966 // Connects to a Mojo application and returns a proxy to its exposed | 966 // Connects to a Mojo application and returns a proxy to its exposed |
| 967 // ServiceProvider. | 967 // ServiceProvider. |
| 968 mojo::InterfaceProviderPtr ConnectToApplication(const GURL& url); | 968 mojo::InterfaceProviderPtr ConnectToApplication(const GURL& url); |
| 969 | 969 |
| 970 // Returns the media delegate for WebMediaPlayer usage. If | 970 // Returns the media delegate for WebMediaPlayer usage. If |
| 971 // |media_player_delegate_| is NULL, one is created. | 971 // |media_player_delegate_| is NULL, one is created. |
| 972 media::RendererWebMediaPlayerDelegate* GetWebMediaPlayerDelegate(); | 972 media::RendererWebMediaPlayerDelegate* GetWebMediaPlayerDelegate(); |
| 973 | 973 |
| 974 // Called to get the WebPlugin to handle find requests in the document. | 974 // Called to get the WebPlugin to handle find requests in the document. |
| (...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1207 #endif | 1207 #endif |
| 1208 | 1208 |
| 1209 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1209 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
| 1210 | 1210 |
| 1211 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1211 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 1212 }; | 1212 }; |
| 1213 | 1213 |
| 1214 } // namespace content | 1214 } // namespace content |
| 1215 | 1215 |
| 1216 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1216 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |