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

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

Issue 1416233002: Add NormalizingInputFilterWin to un-pick AltGr sequences. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address review comments. Created 5 years, 2 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/normalizing_input_filter_win_unittest.cc ('k') | remoting/remoting_nacl.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/plugin/chromoting_instance.cc
diff --git a/remoting/client/plugin/chromoting_instance.cc b/remoting/client/plugin/chromoting_instance.cc
index 39a5595fd2ea9466d546746f3f9ad714a9dbbcef..cff5eb81c680da799cef8ff75766ef462aac6960 100644
--- a/remoting/client/plugin/chromoting_instance.cc
+++ b/remoting/client/plugin/chromoting_instance.cc
@@ -40,6 +40,7 @@
#include "remoting/client/chromoting_client.h"
#include "remoting/client/normalizing_input_filter_cros.h"
#include "remoting/client/normalizing_input_filter_mac.h"
+#include "remoting/client/normalizing_input_filter_win.h"
#include "remoting/client/plugin/delegating_signal_strategy.h"
#include "remoting/client/plugin/pepper_audio_player.h"
#include "remoting/client/plugin/pepper_main_thread_task_runner.h"
@@ -632,6 +633,9 @@ void ChromotingInstance::HandleConnect(const base::DictionaryValue& data) {
} else if (key_filter == "cros") {
normalizing_input_filter_.reset(
new NormalizingInputFilterCros(&key_mapper_));
+ } else if (key_filter == "windows") {
+ normalizing_input_filter_.reset(
+ new NormalizingInputFilterWin(&key_mapper_));
} else {
DCHECK(key_filter.empty());
normalizing_input_filter_.reset(new protocol::InputFilter(&key_mapper_));
« no previous file with comments | « remoting/client/normalizing_input_filter_win_unittest.cc ('k') | remoting/remoting_nacl.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698