diff options
Diffstat (limited to 'third_party/libwebrtc/modules/desktop_capture/window_finder_win.h')
-rw-r--r-- | third_party/libwebrtc/modules/desktop_capture/window_finder_win.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/third_party/libwebrtc/modules/desktop_capture/window_finder_win.h b/third_party/libwebrtc/modules/desktop_capture/window_finder_win.h new file mode 100644 index 0000000000..a04e7e1aae --- /dev/null +++ b/third_party/libwebrtc/modules/desktop_capture/window_finder_win.h @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. + * + * Use of this source code is governed by a BSD-style license + * that can be found in the LICENSE file in the root of the source + * tree. An additional intellectual property rights grant can be found + * in the file PATENTS. All contributing project authors may + * be found in the AUTHORS file in the root of the source tree. + */ + +#ifndef MODULES_DESKTOP_CAPTURE_WINDOW_FINDER_WIN_H_ +#define MODULES_DESKTOP_CAPTURE_WINDOW_FINDER_WIN_H_ + +#include "modules/desktop_capture/window_finder.h" + +namespace webrtc { + +// The implementation of WindowFinder for Windows. +class WindowFinderWin final : public WindowFinder { + public: + WindowFinderWin(); + ~WindowFinderWin() override; + + // WindowFinder implementation. + WindowId GetWindowUnderPoint(DesktopVector point) override; +}; + +} // namespace webrtc + +#endif // MODULES_DESKTOP_CAPTURE_WINDOW_FINDER_WIN_H_ |