1// Copyright 2010 Google Inc. All Rights Reserved 2 3 4#ifndef TALK_BASE_MACWINDOWPICKER_H_ 5#define TALK_BASE_MACWINDOWPICKER_H_ 6 7#include "talk/base/windowpicker.h" 8 9namespace talk_base { 10 11class MacWindowPicker : public WindowPicker { 12 public: 13 MacWindowPicker(); 14 ~MacWindowPicker(); 15 virtual bool Init(); 16 virtual bool IsVisible(const WindowId& id); 17 virtual bool MoveToFront(const WindowId& id); 18 virtual bool GetWindowList(WindowDescriptionList* descriptions); 19 virtual bool GetDesktopList(DesktopDescriptionList* descriptions); 20 virtual bool GetDesktopDimensions(const DesktopId& id, int* width, 21 int* height); 22 23 private: 24 void* lib_handle_; 25 void* get_window_list_; 26 void* get_window_list_desc_; 27}; 28 29} // namespace talk_base 30 31#endif // TALK_BASE_MACWINDOWPICKER_H_ 32