#ifndef UI_AURA_CLIENT_DEFAULT_CAPTURE_CLIENT_H_
#define UI_AURA_CLIENT_DEFAULT_CAPTURE_CLIENT_H_
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "ui/aura/aura_export.h"
#include "ui/aura/client/capture_client.h"
namespace aura {
namespace client {
class AURA_EXPORT DefaultCaptureClient : public client::CaptureClient {
public:
explicit DefaultCaptureClient(Window* root_window);
virtual ~DefaultCaptureClient();
private:
virtual void SetCapture(Window* window) OVERRIDE;
virtual void ReleaseCapture(Window* window) OVERRIDE;
virtual Window* GetCaptureWindow() OVERRIDE;
virtual Window* GetGlobalCaptureWindow() OVERRIDE;
Window* root_window_;
Window* capture_window_;
DISALLOW_COPY_AND_ASSIGN(DefaultCaptureClient);
};
}
}
#endif