#ifndef REMOTING_PROTOCOL_MOUSE_INPUT_FILTER_H_
#define REMOTING_PROTOCOL_MOUSE_INPUT_FILTER_H_
#include "base/compiler_specific.h"
#include "remoting/protocol/input_filter.h"
#include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h"
namespace remoting {
namespace protocol {
class MouseInputFilter : public InputFilter {
public:
MouseInputFilter();
explicit MouseInputFilter(InputStub* input_stub);
virtual ~MouseInputFilter();
void set_input_size(const webrtc::DesktopSize& size);
void set_output_size(const webrtc::DesktopSize& size);
virtual void InjectMouseEvent(const protocol::MouseEvent& event) OVERRIDE;
private:
webrtc::DesktopSize input_max_;
webrtc::DesktopSize output_max_;
DISALLOW_COPY_AND_ASSIGN(MouseInputFilter);
};
}
}
#endif