OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef MEDIA_MOJO_SERVICES_MOJO_MEDIA_PLAYER_RENDERER_HELPER_H_ |
| 6 #define MEDIA_MOJO_SERVICES_MOJO_MEDIA_PLAYER_RENDERER_HELPER_H_ |
| 7 |
| 8 #include "content/public/browser/render_frame_host.h" |
| 9 #include "media/mojo/interfaces/renderer.mojom.h" |
| 10 |
| 11 namespace media { |
| 12 |
| 13 // Helper class to instantiate a Mojo Renderer wrapping a MediaPlayerRenderer |
| 14 class MEDIA_EXPORT MojoMediaPlayerRendererHelper { |
| 15 public: |
| 16 static void CreateMediaPlayerRenderer( |
| 17 content::RenderFrameHost* render_frame_host, |
| 18 mojo::InterfaceRequest<mojom::Renderer> request); |
| 19 }; |
| 20 |
| 21 } // namespace media |
| 22 |
| 23 #endif // MEDIA_MOJO_SERVICES_MOJO_MEDIA_PLAYER_RENDERER_HELPER_H_ |
OLD | NEW |