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

Unified Diff: remoting/host/ipc_desktop_environment.h

Issue 2456563002: Remove supports_touch_events flag from BasicDesktopEnvironment (Closed)
Patch Set: remove test Created 4 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/host/desktop_session_proxy.cc ('k') | remoting/host/ipc_desktop_environment.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/ipc_desktop_environment.h
diff --git a/remoting/host/ipc_desktop_environment.h b/remoting/host/ipc_desktop_environment.h
index 72f0c10a58cb9cfeffddd4244179952f733f6209..7f3186fb2a853cdb6b3142cf436cc5038981ed80 100644
--- a/remoting/host/ipc_desktop_environment.h
+++ b/remoting/host/ipc_desktop_environment.h
@@ -44,8 +44,7 @@ class IpcDesktopEnvironment : public DesktopEnvironment {
scoped_refptr<base::SingleThreadTaskRunner> io_task_runner,
base::WeakPtr<ClientSessionControl> client_session_control,
base::WeakPtr<DesktopSessionConnector> desktop_session_connector,
- bool virtual_terminal,
- bool supports_touch_events);
+ bool virtual_terminal);
~IpcDesktopEnvironment() override;
// DesktopEnvironment implementation.
@@ -99,11 +98,6 @@ class IpcDesktopEnvironmentFactory
IPC::PlatformFileForTransit desktop_pipe) override;
void OnTerminalDisconnected(int terminal_id) override;
- // Enables or disables touch events capability.
- void set_supports_touch_events(bool enable) {
- supports_touch_events_ = enable;
- }
-
private:
// Used to run the audio capturer.
scoped_refptr<base::SingleThreadTaskRunner> audio_task_runner_;
@@ -130,10 +124,6 @@ class IpcDesktopEnvironmentFactory
// allocated every second.
int next_id_ = 0;
- // Defines whether desktop environments created by this factory will support
- // touch events by default.
- bool supports_touch_events_ = false;
-
// Factory for weak pointers to DesktopSessionConnector interface.
base::WeakPtrFactory<DesktopSessionConnector> connector_factory_;
« no previous file with comments | « remoting/host/desktop_session_proxy.cc ('k') | remoting/host/ipc_desktop_environment.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698