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

Unified Diff: remoting/host/event_executor_win.cc

Issue 12320014: Switch Pepper Linux to use shared USB<->native key conversion table. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix missed kInvalidKeycode. Created 7 years, 10 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/host/event_executor_mac.cc ('k') | ui/base/keycodes/usb_keycode_map.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/event_executor_win.cc
diff --git a/remoting/host/event_executor_win.cc b/remoting/host/event_executor_win.cc
index 66e6059180bf1bf6d642905e124c2bc2e6065159..02e0f4c10624e96e1dc740fd29050507a998425e 100644
--- a/remoting/host/event_executor_win.cc
+++ b/remoting/host/event_executor_win.cc
@@ -197,7 +197,7 @@ void EventExecutorWin::Core::HandleKey(const KeyEvent& event) {
<< " to scancode: " << scancode << std::dec;
// Ignore events which can't be mapped.
- if (scancode == kInvalidKeycode)
+ if (scancode == InvalidNativeKeycode())
return;
// Windows scancodes are only 8-bit, so store the low-order byte into the
« no previous file with comments | « remoting/host/event_executor_mac.cc ('k') | ui/base/keycodes/usb_keycode_map.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698