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 e5828262352a99afa6396d55431fc212cf6c6dbf..0218e5f928f7619f5cd58d3c236a3e40fe1969d7 100644 |
--- a/remoting/client/plugin/pepper_input_handler.h |
+++ b/remoting/client/plugin/pepper_input_handler.h |
@@ -40,6 +40,11 @@ class PepperInputHandler { |
send_mouse_move_deltas_ = enable; |
} |
+ // Enable or disable detection of stuck modifier keys. |
+ void set_detect_stuck_modifiers(bool detect) { |
+ detect_stuck_modifiers_ = detect; |
+ } |
+ |
// Processes PPAPI events and dispatches them to |input_stub_|. |
bool HandleInputEvent(const pp::InputEvent& event); |
@@ -76,6 +81,9 @@ class PepperInputHandler { |
float wheel_ticks_x_; |
float wheel_ticks_y_; |
+ // Whether or not to check for stuck modifier keys on keyboard input events. |
+ bool detect_stuck_modifiers_; |
+ |
DISALLOW_COPY_AND_ASSIGN(PepperInputHandler); |
}; |