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

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

Issue 1760633003: Notify normalizing input filters on blur. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix host build. Created 4 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/client/plugin/chromoting_instance.h ('k') | remoting/client/plugin/pepper_input_handler.h » ('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 23f60af335ac6b7fc45face543e99e828f0081a4..c5ec7f7706bae1252f7a7223ffa8ca07e517743e 100644
--- a/remoting/client/plugin/chromoting_instance.cc
+++ b/remoting/client/plugin/chromoting_instance.cc
@@ -151,8 +151,7 @@ ChromotingInstance::ChromotingInstance(PP_Instance pp_instance)
initialized_(false),
plugin_task_runner_(new PepperMainThreadTaskRunner()),
context_(plugin_task_runner_.get()),
- input_tracker_(&mouse_input_filter_),
- touch_input_scaler_(&input_tracker_),
+ touch_input_scaler_(&mouse_input_filter_),
key_mapper_(&touch_input_scaler_),
input_handler_(&input_tracker_),
cursor_setter_(this),
@@ -649,7 +648,7 @@ void ChromotingInstance::HandleConnect(const base::DictionaryValue& data) {
DCHECK(key_filter.empty());
normalizing_input_filter_.reset(new protocol::InputFilter(&key_mapper_));
}
- input_handler_.set_input_stub(normalizing_input_filter_.get());
+ input_tracker_.set_input_stub(normalizing_input_filter_.get());
// Try initializing 3D video renderer.
video_renderer_.reset(new PepperVideoRenderer3D());
« no previous file with comments | « remoting/client/plugin/chromoting_instance.h ('k') | remoting/client/plugin/pepper_input_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698