- add third_party src.
[platform/framework/web/crosswalk.git] / src / third_party / libjingle / source / talk / base / win32windowpicker.h
1 // Copyright 2010 Google Inc. All Rights Reserved
2
3
4 #ifndef TALK_BASE_WIN32WINDOWPICKER_H_
5 #define TALK_BASE_WIN32WINDOWPICKER_H_
6
7 #include "talk/base/win32.h"
8 #include "talk/base/windowpicker.h"
9
10 namespace talk_base {
11
12 class Win32WindowPicker : public WindowPicker {
13  public:
14   Win32WindowPicker();
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  protected:
24   static BOOL CALLBACK EnumProc(HWND hwnd, LPARAM l_param);
25   static BOOL CALLBACK MonitorEnumProc(HMONITOR h_monitor,
26                                        HDC hdc_monitor,
27                                        LPRECT lprc_monitor,
28                                        LPARAM l_param);
29 };
30
31 }  // namespace talk_base
32
33 #endif  // TALK_BASE_WIN32WINDOWPICKER_H_