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

Unified Diff: media/video/capture/screen/screen_capturer.h

Issue 13556004: Add CreateWithDisableAero, to allow Windows capturer to be created without disabling Aero. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Create screen capture device without disabling Aero. Created 7 years, 8 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: media/video/capture/screen/screen_capturer.h
diff --git a/media/video/capture/screen/screen_capturer.h b/media/video/capture/screen/screen_capturer.h
index 1dc2330ac6d62fb07e1ddbce6bacbe72d5feb404..51cdc083a309d21770719e6e5813c6fed877b89b 100644
--- a/media/video/capture/screen/screen_capturer.h
+++ b/media/video/capture/screen/screen_capturer.h
@@ -86,6 +86,10 @@ class MEDIA_EXPORT ScreenCapturer {
// Creates platform-specific capturer and instructs it whether it should use
// X DAMAGE support.
static scoped_ptr<ScreenCapturer> CreateWithXDamage(bool use_x_damage);
+#elif defined(OS_WIN)
+ // Creates Windows-specific capturer and instructs it whether or not to
+ // disable desktop compositing.
+ static scoped_ptr<ScreenCapturer> CreateWithDisableAero(bool disable_aero);
#endif // defined(OS_LINUX)
Sergey Ulanov 2013/04/10 03:20:26 update the comment. It might be better to replace
Wez 2013/04/15 19:37:36 The #if block is sufficiently short that I've just
// Called at the beginning of a capturing session. |delegate| must remain
« no previous file with comments | « media/video/capture/screen/screen_capture_device.cc ('k') | media/video/capture/screen/screen_capturer_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698