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

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

Issue 100743003: Extend content::DesktopMediaID to allow Aura windows as capture sources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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/desktop_capture_device.cc
diff --git a/content/browser/renderer_host/media/desktop_capture_device.cc b/content/browser/renderer_host/media/desktop_capture_device.cc
index 6cd014791ed358101a3486fe60de9b22d6bf2e65..e82b96fdb0bc9cc1c90718aaa981154a4aa7b34e 100644
--- a/content/browser/renderer_host/media/desktop_capture_device.cc
+++ b/content/browser/renderer_host/media/desktop_capture_device.cc
@@ -12,7 +12,7 @@
#include "base/synchronization/lock.h"
#include "base/threading/sequenced_worker_pool.h"
#include "content/public/browser/browser_thread.h"
-#include "content/public/common/desktop_media_id.h"
+#include "content/public/browser/desktop_media_id.h"
#include "media/base/video_util.h"
#include "third_party/libyuv/include/libyuv/scale_argb.h"
#include "third_party/webrtc/modules/desktop_capture/desktop_and_cursor_composer.h"
@@ -358,13 +358,6 @@ scoped_ptr<media::VideoCaptureDevice> DesktopCaptureDevice::Create(
webrtc::DesktopCaptureOptions options =
webrtc::DesktopCaptureOptions::CreateDefault();
-
-#if defined(OS_CHROMEOS)
- // Xdamage is not enabled by default because it's often broken. ChromeOS'
- // drivers [can be patched to] support DAMAGE properly, so use it.
- options.set_use_update_notifications(true);
-#endif
-
// Leave desktop effects enabled during WebRTC captures.
options.set_disable_effects(false);
« no previous file with comments | « chrome/browser/media/native_desktop_media_list.h ('k') | content/browser/renderer_host/media/desktop_capture_device_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698