diff options
Diffstat (limited to 'remoting/host/desktop_environment.h')
-rw-r--r-- | remoting/host/desktop_environment.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/remoting/host/desktop_environment.h b/remoting/host/desktop_environment.h index 0df2e01a..0e8b480 100644 --- a/remoting/host/desktop_environment.h +++ b/remoting/host/desktop_environment.h @@ -40,6 +40,13 @@ class DesktopEnvironment { virtual scoped_ptr<InputInjector> CreateInputInjector() = 0; virtual scoped_ptr<ScreenControls> CreateScreenControls() = 0; virtual scoped_ptr<media::ScreenCapturer> CreateVideoCapturer() = 0; + + // Returns the set of all capabilities supported by |this|. + virtual std::string GetCapabilities() const = 0; + + // Passes the final set of capabilities negotiated between the client and host + // to |this|. + virtual void SetCapabilities(const std::string& capabilities) = 0; }; // Used to create |DesktopEnvironment| instances. |