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

Unified Diff: webrtc/modules/desktop_capture/desktop_capture_options.h

Issue 2314323002: Wrap ScreenCapturer with ScreenCapturerDifferWrapper (Closed)
Patch Set: Resolve review comments Created 4 years, 3 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
« no previous file with comments | « no previous file | webrtc/modules/desktop_capture/screen_capturer_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2aa3e5197c0b3672d08a9e9dbaf574e116d35906..0199e6d75b3f8993abc0a9d61bd715c0992beeca 100644
--- a/webrtc/modules/desktop_capture/desktop_capture_options.h
+++ b/webrtc/modules/desktop_capture/desktop_capture_options.h
@@ -72,6 +72,13 @@ class DesktopCaptureOptions {
disable_effects_ = disable_effects;
}
+ // Flag indicating that the capturer should use pixel-wise differ to detect
+ // accurate updated region.
Sergey Ulanov 2016/09/09 00:03:40 This comment makes it sound like updated_region()
+ bool accurate_updated_region() const { return accurate_updated_region_; }
Sergey Ulanov 2016/09/09 00:03:39 I don't think 'accurate' is the word to use here.
+ void set_accurate_updated_region(bool accurate_updated_region) {
+ accurate_updated_region_ = accurate_updated_region;
+ }
+
#if defined(WEBRTC_WIN)
bool allow_use_magnification_api() const {
return allow_use_magnification_api_;
@@ -110,6 +117,7 @@ class DesktopCaptureOptions {
bool use_update_notifications_ = true;
#endif
bool disable_effects_ = true;
+ bool accurate_updated_region_ = false;
};
} // namespace webrtc
« no previous file with comments | « no previous file | webrtc/modules/desktop_capture/screen_capturer_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698