Index: remoting/client/plugin/pepper_input_handler.h |
diff --git a/remoting/client/plugin/pepper_input_handler.h b/remoting/client/plugin/pepper_input_handler.h |
index c72243e5a0e8f924413a279533c2f56be4ff53a3..d975670b57b223403ff0c8b7cd1e413c29bafddf 100644 |
--- a/remoting/client/plugin/pepper_input_handler.h |
+++ b/remoting/client/plugin/pepper_input_handler.h |
@@ -27,9 +27,13 @@ class InputStub; |
class PepperInputHandler : public pp::MouseLock { |
public: |
// |instance| must outlive |this|. |
- PepperInputHandler(pp::Instance* instance, protocol::InputStub* input_stub); |
+ explicit PepperInputHandler(pp::Instance* instance); |
virtual ~PepperInputHandler(); |
+ void set_input_stub(protocol::InputStub* input_stub) { |
+ input_stub_ = input_stub; |
+ } |
+ |
bool HandleInputEvent(const pp::InputEvent& event); |
// Enables locking the mouse when the host sets a completely transparent mouse |