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

Unified Diff: remoting/host/remoting_me2me_host.cc

Issue 1033913003: Touch Events capability negotiation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: back to setting a flag on DesktopEnvironmentFactory Created 5 years, 8 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
Index: remoting/host/remoting_me2me_host.cc
diff --git a/remoting/host/remoting_me2me_host.cc b/remoting/host/remoting_me2me_host.cc
index 96fe46e40165ff34fb2a592013ed555494c8eaff..031f0ec628a4fb0a873ec3ff87ea483ae729fc10 100644
--- a/remoting/host/remoting_me2me_host.cc
+++ b/remoting/host/remoting_me2me_host.cc
@@ -53,6 +53,7 @@
#include "remoting/host/host_main.h"
#include "remoting/host/host_signaling_manager.h"
#include "remoting/host/host_status_logger.h"
+#include "remoting/host/input_injector.h"
#include "remoting/host/ipc_constants.h"
#include "remoting/host/ipc_desktop_environment.h"
#include "remoting/host/ipc_host_event_logger.h"
@@ -818,6 +819,8 @@ void HostProcess::StartOnUiThread() {
desktop_environment_factory_.reset(desktop_environment_factory);
desktop_environment_factory_->SetEnableGnubbyAuth(enable_gnubby_auth_);
+ desktop_environment_factory_->SetEnableMultiTouch(
+ InputInjector::CanInjectTouch());
context_->network_task_runner()->PostTask(
FROM_HERE,

Powered by Google App Engine
This is Rietveld 408576698