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

Unified Diff: remoting/client/plugin/pepper_video_renderer.h

Issue 820823002: Implement video renderer based on VideoDecode API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 | « remoting/client/plugin/chromoting_instance.cc ('k') | remoting/client/plugin/pepper_video_renderer_3d.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/plugin/pepper_video_renderer.h
diff --git a/remoting/client/plugin/pepper_video_renderer.h b/remoting/client/plugin/pepper_video_renderer.h
index e604986d49bdd72ef4ff64d34c5d0c4979fd3d71..b9192360c17b6ad2ab84479a04c692b8e23dcd4b 100644
--- a/remoting/client/plugin/pepper_video_renderer.h
+++ b/remoting/client/plugin/pepper_video_renderer.h
@@ -13,6 +13,11 @@ class DesktopVector;
class DesktopRegion;
} // namespace webrtc
+namespace pp {
+class Instance;
+class View;
+} // namespace pp
+
namespace remoting {
class ClientContext;
@@ -25,6 +30,9 @@ class PepperVideoRenderer : public VideoRenderer {
EventHandler() {}
virtual ~EventHandler() {}
+ // Called if video decoding fails, for any reason.
+ virtual void OnVideoDecodeError() = 0;
+
// Called when the first frame is received.
virtual void OnVideoFirstFrameReceived() = 0;
« no previous file with comments | « remoting/client/plugin/chromoting_instance.cc ('k') | remoting/client/plugin/pepper_video_renderer_3d.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698