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

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

Issue 1145863002: Disable stuck key detection on ChromeOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase & fix compilation errors. Created 5 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
« no previous file with comments | « remoting/client/plugin/chromoting_instance.cc ('k') | remoting/client/plugin/pepper_input_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « remoting/client/plugin/chromoting_instance.cc ('k') | remoting/client/plugin/pepper_input_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698