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

Unified Diff: media/video/capture/video_capture.h

Issue 8037055: Add OnRemoved() in VideoCapture::EventHandler API (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 3 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 | « content/renderer/media/video_capture_module_impl.cc ('k') | media/video/capture/video_capture_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/video/capture/video_capture.h
===================================================================
--- media/video/capture/video_capture.h (revision 102594)
+++ media/video/capture/video_capture.h (working copy)
@@ -66,6 +66,9 @@
// Notify client that video capture has hit some error |error_code|.
virtual void OnError(VideoCapture* capture, int error_code) = 0;
+ // Notify client that the client has been removed.
viettrungluu 2011/09/27 00:04:58 "[...] has been removed and no more calls will be
wjia(left Chromium) 2011/09/27 00:26:17 Done.
+ virtual void OnRemoved(VideoCapture* capture) = 0;
+
// Notify client that a buffer is available.
virtual void OnBufferReady(VideoCapture* capture,
scoped_refptr<VideoFrameBuffer> buffer) = 0;
« no previous file with comments | « content/renderer/media/video_capture_module_impl.cc ('k') | media/video/capture/video_capture_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698