Chromium Code Reviews| Index: webrtc/modules/desktop_capture/desktop_capture_options.h | 
| diff --git a/webrtc/modules/desktop_capture/desktop_capture_options.h b/webrtc/modules/desktop_capture/desktop_capture_options.h | 
| index 68bb5884459ea13fe569a8e0d10483091f1f0450..2bf995876297eda4fb962729217e2b242b09ac84 100644 | 
| --- a/webrtc/modules/desktop_capture/desktop_capture_options.h | 
| +++ b/webrtc/modules/desktop_capture/desktop_capture_options.h | 
| @@ -83,6 +83,14 @@ class DesktopCaptureOptions { | 
| void set_allow_use_magnification_api(bool allow) { | 
| allow_use_magnification_api_ = allow; | 
| } | 
| + // Allowing directx based capturer or not, this capturer works on windows 7 | 
| + // with platform update / windows 8 or upper. | 
| + bool allow_directx_capturer() const { | 
| + return allow_directx_capturer_; | 
| + } | 
| + void set_allow_directx_capturer(bool enabled) { | 
| + allow_directx_capturer_ = enabled; | 
| + } | 
| #endif | 
| private: | 
| @@ -98,6 +106,7 @@ class DesktopCaptureOptions { | 
| #if defined(WEBRTC_WIN) | 
| bool allow_use_magnification_api_; | 
| + bool allow_directx_capturer_; | 
| 
 
Sergey Ulanov
2016/05/13 19:38:10
= false; so the new capturer is disabled by defaul
 
Hzj_jie
2016/05/16 18:17:28
Done.
 
 | 
| #endif | 
| bool use_update_notifications_; | 
| bool disable_effects_; |