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

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: Remove comment. 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..d28b9351eeb6d2ea7ac5f15c55f1cd89996afe31 100644
--- a/media/video/capture/screen/screen_capturer.h
+++ b/media/video/capture/screen/screen_capturer.h
@@ -86,7 +86,11 @@ 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);
-#endif // defined(OS_LINUX)
+#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
// Called at the beginning of a capturing session. |delegate| must remain
// valid until Stop() is called.
« 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