1/*
2 *  Copyright 2010 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#ifndef WEBRTC_BASE_MACWINDOWPICKER_H_
11#define WEBRTC_BASE_MACWINDOWPICKER_H_
12
13#include "webrtc/base/windowpicker.h"
14
15namespace rtc {
16
17class MacWindowPicker : public WindowPicker {
18 public:
19  MacWindowPicker();
20  ~MacWindowPicker();
21  virtual bool Init();
22  virtual bool IsVisible(const WindowId& id);
23  virtual bool MoveToFront(const WindowId& id);
24  virtual bool GetWindowList(WindowDescriptionList* descriptions);
25  virtual bool GetDesktopList(DesktopDescriptionList* descriptions);
26  virtual bool GetDesktopDimensions(const DesktopId& id, int* width,
27                                    int* height);
28
29 private:
30  void* lib_handle_;
31  void* get_window_list_;
32  void* get_window_list_desc_;
33};
34
35}  // namespace rtc
36
37#endif  // WEBRTC_BASE_MACWINDOWPICKER_H_
38