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

Unified Diff: content/browser/renderer_host/media/video_capture_manager.cc

Issue 615133002: Add support for a virtual display on ChromeOS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix remaining comment periods (thanks achuithb@) Created 5 years, 10 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
Index: content/browser/renderer_host/media/video_capture_manager.cc
diff --git a/content/browser/renderer_host/media/video_capture_manager.cc b/content/browser/renderer_host/media/video_capture_manager.cc
index 282da80360194a445e6ce36f5072c6b7dab1636c..a0eacb1dc81b23747f482e715c88057d036f8d80 100644
--- a/content/browser/renderer_host/media/video_capture_manager.cc
+++ b/content/browser/renderer_host/media/video_capture_manager.cc
@@ -411,7 +411,8 @@ VideoCaptureManager::DoStartDeviceOnDeviceThread(
#if defined(ENABLE_SCREEN_CAPTURE)
DesktopMediaID desktop_id = DesktopMediaID::Parse(id);
#if defined(USE_AURA)
- if (desktop_id.type == DesktopMediaID::TYPE_AURA_WINDOW) {
+ if (desktop_id.type == DesktopMediaID::TYPE_AURA_WINDOW ||
+ desktop_id.type == DesktopMediaID::TYPE_AURA_VIRTUAL_SCREEN) {
video_capture_device.reset(
DesktopCaptureDeviceAura::Create(desktop_id));
} else

Powered by Google App Engine
This is Rietveld 408576698