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

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

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/pepper_input_handler.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/plugin/pepper_input_handler.cc
diff --git a/remoting/client/plugin/pepper_input_handler.cc b/remoting/client/plugin/pepper_input_handler.cc
index fda6a02032c911d603f35514b2e032e61c27ec22..01fec29419924043c715e0a714fe71c5e0d1ad41 100644
--- a/remoting/client/plugin/pepper_input_handler.cc
+++ b/remoting/client/plugin/pepper_input_handler.cc
@@ -118,11 +118,13 @@ PepperInputHandler::PepperInputHandler(
wheel_delta_x_(0),
wheel_delta_y_(0),
wheel_ticks_x_(0),
- wheel_ticks_y_(0) {
+ wheel_ticks_y_(0),
+ detect_stuck_modifiers_(false) {
}
bool PepperInputHandler::HandleInputEvent(const pp::InputEvent& event) {
- ReleaseAllIfModifiersStuck(event);
+ if (detect_stuck_modifiers_)
+ ReleaseAllIfModifiersStuck(event);
switch (event.GetType()) {
// Touch input cases.
« no previous file with comments | « remoting/client/plugin/pepper_input_handler.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698