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

Unified Diff: ppapi/examples/video_capture/video_capture.cc

Issue 11274036: Refactor video capture to new design (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: export Created 8 years, 1 month 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
Index: ppapi/examples/video_capture/video_capture.cc
diff --git a/ppapi/examples/video_capture/video_capture.cc b/ppapi/examples/video_capture/video_capture.cc
index 25d2ef017f71e26619d956db89371f47b2fd533e..8e080e1dfb607c61d0f55c1b4cdf72dc46a4c870 100644
--- a/ppapi/examples/video_capture/video_capture.cc
+++ b/ppapi/examples/video_capture/video_capture.cc
@@ -198,13 +198,6 @@ void VCDemoInstance::HandleMessage(const pp::Var& message_data) {
video_capture_.EnumerateDevices(callback);
} else if (event == "UseDefault") {
Open(pp::DeviceRef_Dev());
- } else if (event == "UseDefault(v0.1)") {
- const PPB_VideoCapture_Dev_0_1* video_capture_0_1 =
- static_cast<const PPB_VideoCapture_Dev_0_1*>(
- pp::Module::Get()->GetBrowserInterface(
- PPB_VIDEOCAPTURE_DEV_INTERFACE_0_1));
- video_capture_0_1->StartCapture(video_capture_.pp_resource(),
- &capture_info_, 4);
} else if (event == "Stop") {
video_capture_.StopCapture();
}
« no previous file with comments | « ppapi/examples/enumerate_devices/enumerate_devices.html ('k') | ppapi/examples/video_capture/video_capture.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698