| Index: remoting/host/basic_desktop_environment.h
|
| diff --git a/remoting/host/basic_desktop_environment.h b/remoting/host/basic_desktop_environment.h
|
| index 6b6b8e25ede0e94a14c63af789926a45a7a8e130..9bdae7102d9d824587333187c9d91be89b4a85d2 100644
|
| --- a/remoting/host/basic_desktop_environment.h
|
| +++ b/remoting/host/basic_desktop_environment.h
|
| @@ -40,6 +40,8 @@ class BasicDesktopEnvironment : public DesktopEnvironment {
|
| scoped_ptr<GnubbyAuthHandler> CreateGnubbyAuthHandler(
|
| protocol::ClientStub* client_stub) override;
|
|
|
| + void SetEnableMultiTouch(bool enable);
|
| +
|
| protected:
|
| friend class BasicDesktopEnvironmentFactory;
|
|
|
| @@ -64,6 +66,8 @@ class BasicDesktopEnvironment : public DesktopEnvironment {
|
| return desktop_capture_options_.get();
|
| }
|
|
|
| + bool multi_touch_enabled() const { return multi_touch_enabled_; }
|
| +
|
| private:
|
| // Task runner on which methods of DesktopEnvironment interface should be
|
| // called.
|
| @@ -82,6 +86,8 @@ class BasicDesktopEnvironment : public DesktopEnvironment {
|
| // find build errors.
|
| scoped_ptr<webrtc::DesktopCaptureOptions> desktop_capture_options_;
|
|
|
| + bool multi_touch_enabled_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(BasicDesktopEnvironment);
|
| };
|
|
|
| @@ -96,6 +102,7 @@ class BasicDesktopEnvironmentFactory : public DesktopEnvironmentFactory {
|
|
|
| // DesktopEnvironmentFactory implementation.
|
| bool SupportsAudioCapture() const override;
|
| + void SetEnableMultiTouch(bool enable) override;
|
|
|
| protected:
|
| scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner() const {
|
| @@ -110,6 +117,8 @@ class BasicDesktopEnvironmentFactory : public DesktopEnvironmentFactory {
|
| return ui_task_runner_;
|
| }
|
|
|
| + bool multi_touch_enabled() const { return multi_touch_enabled_; }
|
| +
|
| private:
|
| // Task runner on which methods of DesktopEnvironmentFactory interface should
|
| // be called.
|
| @@ -121,6 +130,8 @@ class BasicDesktopEnvironmentFactory : public DesktopEnvironmentFactory {
|
| // Used to run UI code.
|
| scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner_;
|
|
|
| + bool multi_touch_enabled_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(BasicDesktopEnvironmentFactory);
|
| };
|
|
|
|
|