blob: 5e8fc6ad9a5ff72989017db5af037a280644ec19 [file] [log] [blame]
henrike@webrtc.org0e118e72013-07-10 00:45:36 +00001// 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
10namespace talk_base {
11
12class 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_