diff options
Diffstat (limited to 'chromium/third_party/webrtc/modules/desktop_capture/desktop_capturer.h')
-rw-r--r-- | chromium/third_party/webrtc/modules/desktop_capture/desktop_capturer.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chromium/third_party/webrtc/modules/desktop_capture/desktop_capturer.h b/chromium/third_party/webrtc/modules/desktop_capture/desktop_capturer.h index bcb664ef859..7ad16364977 100644 --- a/chromium/third_party/webrtc/modules/desktop_capture/desktop_capturer.h +++ b/chromium/third_party/webrtc/modules/desktop_capture/desktop_capturer.h @@ -13,6 +13,8 @@ #include <stddef.h> +#include "webrtc/modules/desktop_capture/desktop_capture_types.h" + namespace webrtc { class DesktopFrame; @@ -52,6 +54,11 @@ class DesktopCapturer { // the top left corner of the capture target. Pending capture operations are // canceled when DesktopCapturer is deleted. virtual void Capture(const DesktopRegion& region) = 0; + + // Sets the window to be excluded from the captured image in the future + // Capture calls. Used to exclude the screenshare notification window for + // screen capturing. + virtual void SetExcludedWindow(WindowId window) {} }; } // namespace webrtc |