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

Unified Diff: content/renderer/pepper_plugin_delegate_impl.cc

Issue 8036005: Add a flag in StopCapture to allow event handler to choose event notification. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: add missing file 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.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper_plugin_delegate_impl.cc
===================================================================
--- content/renderer/pepper_plugin_delegate_impl.cc (revision 102594)
+++ content/renderer/pepper_plugin_delegate_impl.cc (working copy)
@@ -438,9 +438,10 @@
video_capture_->StartCapture(handler_proxy_.get(), capability);
}
- virtual void StopCapture(EventHandler* handler) OVERRIDE {
+ virtual void StopCapture(EventHandler* handler,
+ bool need_notification) OVERRIDE {
DCHECK(handler == handler_proxy_->proxied());
- video_capture_->StopCapture(handler_proxy_.get());
+ video_capture_->StopCapture(handler_proxy_.get(), need_notification);
}
virtual void FeedBuffer(scoped_refptr<VideoFrameBuffer> buffer) OVERRIDE {
« no previous file with comments | « content/renderer/media/video_capture_module_impl.cc ('k') | media/video/capture/video_capture.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698