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

Unified Diff: remoting/host/basic_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 | « no previous file | remoting/host/basic_desktop_environment.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/basic_desktop_environment.h
diff --git a/remoting/host/basic_desktop_environment.h b/remoting/host/basic_desktop_environment.h
index 5bf983aec4b24b1c07ef120fe6ae9c6c236fddf5..222c1768e76bdd7676b21cda8fcb1b52bc6d0ae9 100644
--- a/remoting/host/basic_desktop_environment.h
+++ b/remoting/host/basic_desktop_environment.h
@@ -46,8 +46,7 @@ class BasicDesktopEnvironment : public DesktopEnvironment {
scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner,
scoped_refptr<base::SingleThreadTaskRunner> video_capture_task_runner,
scoped_refptr<base::SingleThreadTaskRunner> input_task_runner,
- scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner,
- bool supports_touch_events);
+ scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner);
scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner() const {
return caller_task_runner_;
@@ -91,9 +90,6 @@ class BasicDesktopEnvironment : public DesktopEnvironment {
// find build errors.
std::unique_ptr<webrtc::DesktopCaptureOptions> desktop_capture_options_;
- // True if the touch events capability should be offered.
- const bool supports_touch_events_;
-
DISALLOW_COPY_AND_ASSIGN(BasicDesktopEnvironment);
};
@@ -110,10 +106,6 @@ class BasicDesktopEnvironmentFactory : public DesktopEnvironmentFactory {
// DesktopEnvironmentFactory implementation.
bool SupportsAudioCapture() const override;
- void set_supports_touch_events(bool enable) {
- supports_touch_events_ = enable;
- }
-
protected:
scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner() const {
return caller_task_runner_;
@@ -132,8 +124,6 @@ class BasicDesktopEnvironmentFactory : public DesktopEnvironmentFactory {
return ui_task_runner_;
}
- bool supports_touch_events() const { return supports_touch_events_; }
-
private:
// Task runner on which methods of DesktopEnvironmentFactory interface should
// be called.
@@ -148,10 +138,6 @@ class BasicDesktopEnvironmentFactory : public DesktopEnvironmentFactory {
// Used to run UI code.
scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner_;
- // True if the touch events capability should be offered by the
- // DesktopEnvironment instances.
- bool supports_touch_events_;
-
DISALLOW_COPY_AND_ASSIGN(BasicDesktopEnvironmentFactory);
};
« no previous file with comments | « no previous file | remoting/host/basic_desktop_environment.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698