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

Unified Diff: ui/events/ozone/evdev/keyboard_evdev.cc

Issue 985163002: ozone: evdev: Fix possibility of stuck keys (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 | « ui/events/ozone/evdev/keyboard_evdev.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/ozone/evdev/keyboard_evdev.cc
diff --git a/ui/events/ozone/evdev/keyboard_evdev.cc b/ui/events/ozone/evdev/keyboard_evdev.cc
index f28da45e2617a30ad17b6dac496a8367b5e0d9ef..7b25feab396f7849f7312cd14c3da874998fc197 100644
--- a/ui/events/ozone/evdev/keyboard_evdev.cc
+++ b/ui/events/ozone/evdev/keyboard_evdev.cc
@@ -82,11 +82,6 @@ void KeyboardEvdev::OnKeyChange(unsigned int key,
DispatchKey(key, down, false /* repeat */, timestamp);
}
-void KeyboardEvdev::Reset() {
- for (int key = 0; key < KEY_CNT; ++key)
- OnKeyChange(key, false /* down */, ui::EventTimeForNow());
-}
-
void KeyboardEvdev::SetCapsLockEnabled(bool enabled) {
modifiers_->SetModifierLock(EVDEV_MODIFIER_CAPS_LOCK, enabled);
}
« no previous file with comments | « ui/events/ozone/evdev/keyboard_evdev.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698