blob: 30c841b17f115b1107bb2461311f3159005e7e8f [file] [log] [blame]
Zijie He70fbbad2017-08-15 15:45:00 -07001/*
2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
Mirko Bonadei92ea95e2017-09-15 06:47:31 +020011#ifndef MODULES_DESKTOP_CAPTURE_WINDOW_FINDER_MAC_H_
12#define MODULES_DESKTOP_CAPTURE_WINDOW_FINDER_MAC_H_
Zijie He70fbbad2017-08-15 15:45:00 -070013
Mirko Bonadei92ea95e2017-09-15 06:47:31 +020014#include "modules/desktop_capture/window_finder.h"
Zijie He70fbbad2017-08-15 15:45:00 -070015
16namespace webrtc {
17
Zijie He12827112017-08-29 11:19:13 -070018// The implementation of WindowFinder for Mac OSX.
Zijie He70fbbad2017-08-15 15:45:00 -070019class WindowFinderMac final : public WindowFinder {
20 public:
21 WindowFinderMac();
22 ~WindowFinderMac() override;
23
24 // WindowFinder implementation.
25 WindowId GetWindowUnderPoint(DesktopVector point) override;
26};
27
28} // namespace webrtc
29
Mirko Bonadei92ea95e2017-09-15 06:47:31 +020030#endif // MODULES_DESKTOP_CAPTURE_WINDOW_FINDER_MAC_H_