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

Unified Diff: remoting/host/it2me_desktop_environment.cc

Issue 1033913003: Touch Events capability negotiation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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/it2me_desktop_environment.cc
diff --git a/remoting/host/it2me_desktop_environment.cc b/remoting/host/it2me_desktop_environment.cc
index 7bb5507cf41f9a207d124e4aabf2e8071a076f4a..9f5f8786c61053c385f25ce8fffbb275a958073a 100644
--- a/remoting/host/it2me_desktop_environment.cc
+++ b/remoting/host/it2me_desktop_environment.cc
@@ -85,10 +85,12 @@ scoped_ptr<DesktopEnvironment> It2MeDesktopEnvironmentFactory::Create(
base::WeakPtr<ClientSessionControl> client_session_control) {
DCHECK(caller_task_runner()->BelongsToCurrentThread());
- return make_scoped_ptr(new It2MeDesktopEnvironment(caller_task_runner(),
- input_task_runner(),
- ui_task_runner(),
- client_session_control));
+ scoped_ptr<It2MeDesktopEnvironment> desktop_environment = make_scoped_ptr(
+ new It2MeDesktopEnvironment(caller_task_runner(), input_task_runner(),
+ ui_task_runner(), client_session_control));
+
+ desktop_environment->SetEnableMultiTouch(multi_touch_enabled());
+ return desktop_environment.Pass();
}
} // namespace remoting

Powered by Google App Engine
This is Rietveld 408576698