diff options
Diffstat (limited to 'chromium/third_party/webrtc/modules/desktop_capture/window_capturer.h')
-rw-r--r-- | chromium/third_party/webrtc/modules/desktop_capture/window_capturer.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/chromium/third_party/webrtc/modules/desktop_capture/window_capturer.h b/chromium/third_party/webrtc/modules/desktop_capture/window_capturer.h index 478c8ee99c3..ad75c88d5d8 100644 --- a/chromium/third_party/webrtc/modules/desktop_capture/window_capturer.h +++ b/chromium/third_party/webrtc/modules/desktop_capture/window_capturer.h @@ -11,12 +11,12 @@ #ifndef WEBRTC_MODULES_DESKTOP_CAPTURE_WINDOW_CAPTURER_H_ #define WEBRTC_MODULES_DESKTOP_CAPTURE_WINDOW_CAPTURER_H_ -#include <vector> #include <string> +#include <vector> +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/desktop_capture/desktop_capture_types.h" #include "webrtc/modules/desktop_capture/desktop_capturer.h" -#include "webrtc/system_wrappers/interface/constructor_magic.h" #include "webrtc/typedefs.h" namespace webrtc { @@ -49,6 +49,14 @@ class WindowCapturer : public DesktopCapturer { // Select window to be captured. Returns false in case of a failure (e.g. if // there is no window with the specified id). virtual bool SelectWindow(WindowId id) = 0; + + // Bring the selected window to the front. Returns false in case of a + // failure or no window selected. + // TODO(jiayl): remove the default impl when FakeWindowCapturer is updated in + // Chromium. + virtual bool BringSelectedWindowToFront() { + return true; + } }; } // namespace webrtc |