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

Unified Diff: remoting/host/single_window_desktop_environment.cc

Issue 1033913003: Touch Events capability negotiation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: change setter to public and add license header Created 5 years, 6 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/host/remoting_me2me_host.cc ('k') | remoting/host/win/session_desktop_environment.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/single_window_desktop_environment.cc
diff --git a/remoting/host/single_window_desktop_environment.cc b/remoting/host/single_window_desktop_environment.cc
index 3b721fce0e3fa83fb43a4b52aff603e3954c5a11..15da395237f0b49ff001acf98978773a7fd884d1 100644
--- a/remoting/host/single_window_desktop_environment.cc
+++ b/remoting/host/single_window_desktop_environment.cc
@@ -28,7 +28,8 @@ class SingleWindowDesktopEnvironment : public BasicDesktopEnvironment {
scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner,
scoped_refptr<base::SingleThreadTaskRunner> input_task_runner,
scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner,
- webrtc::WindowId window_id);
+ webrtc::WindowId window_id,
+ bool supports_touch_events);
private:
webrtc::WindowId window_id_;
@@ -69,10 +70,12 @@ SingleWindowDesktopEnvironment::SingleWindowDesktopEnvironment(
scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner,
scoped_refptr<base::SingleThreadTaskRunner> input_task_runner,
scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner,
- webrtc::WindowId window_id)
+ webrtc::WindowId window_id,
+ bool supports_touch_events)
: BasicDesktopEnvironment(caller_task_runner,
input_task_runner,
- ui_task_runner),
+ ui_task_runner,
+ supports_touch_events),
window_id_(window_id) {
}
@@ -99,7 +102,8 @@ scoped_ptr<DesktopEnvironment> SingleWindowDesktopEnvironmentFactory::Create(
new SingleWindowDesktopEnvironment(caller_task_runner(),
input_task_runner(),
ui_task_runner(),
- window_id_));
+ window_id_,
+ supports_touch_events()));
return desktop_environment.Pass();
}
« no previous file with comments | « remoting/host/remoting_me2me_host.cc ('k') | remoting/host/win/session_desktop_environment.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698