Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(844)

Unified Diff: media/mojo/clients/mojo_renderer.h

Issue 2101043003: Plumb callbacks from mojo media service to client. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | media/mojo/clients/mojo_renderer.cc » ('j') | media/mojo/clients/mojo_renderer.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/clients/mojo_renderer.h
diff --git a/media/mojo/clients/mojo_renderer.h b/media/mojo/clients/mojo_renderer.h
index 44cad75635e57f260b4ebc87640bfe3a36480563..214f471f78240596eb8f552739d263661f6801ce 100644
--- a/media/mojo/clients/mojo_renderer.h
+++ b/media/mojo/clients/mojo_renderer.h
@@ -65,6 +65,8 @@ class MojoRenderer : public Renderer, public mojom::RendererClient {
void OnError() override;
void OnVideoNaturalSizeChange(const gfx::Size& size) override;
void OnVideoOpacityChange(bool opaque) override;
+ void OnWaitingForDecryptionKey() override;
+ void OnStatisticsUpdate(mojom::PipelineStatisticsPtr stats) override;
// Binds |remote_renderer_| to the mojo message pipe. Can be called multiple
// times. If an error occurs during connection, OnConnectionError will be
« no previous file with comments | « no previous file | media/mojo/clients/mojo_renderer.cc » ('j') | media/mojo/clients/mojo_renderer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698