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

Unified Diff: remoting/protocol/client_event_dispatcher.cc

Issue 10894050: Remove support for Windows-style keycodes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Linux EventExecutor typo. Created 8 years, 3 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/proto/event.proto ('k') | remoting/protocol/host_event_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/client_event_dispatcher.cc
diff --git a/remoting/protocol/client_event_dispatcher.cc b/remoting/protocol/client_event_dispatcher.cc
index 49f05f729686eeaaff91d92c0180f5835fd89887..afc481fb5ac1f429d3a45e26033aa37ff8949296 100644
--- a/remoting/protocol/client_event_dispatcher.cc
+++ b/remoting/protocol/client_event_dispatcher.cc
@@ -30,7 +30,7 @@ void ClientEventDispatcher::OnInitialized() {
}
void ClientEventDispatcher::InjectKeyEvent(const KeyEvent& event) {
- DCHECK(event.has_keycode() || event.has_usb_keycode());
+ DCHECK(event.has_usb_keycode());
DCHECK(event.has_pressed());
EventMessage message;
message.set_sequence_number(base::Time::Now().ToInternalValue());
« no previous file with comments | « remoting/proto/event.proto ('k') | remoting/protocol/host_event_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698