Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(362)

Unified Diff: remoting/client/plugin/pepper_input_handler.h

Issue 292103004: Enable keyboard filters in PNaCl client (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
« no previous file with comments | « remoting/client/plugin/normalizing_input_filter_mac_unittest.cc ('k') | remoting/client/plugin/pepper_input_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698