diff options
author | alexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-08 18:26:18 +0000 |
---|---|---|
committer | alexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-08 18:26:18 +0000 |
commit | 96361d07bcba1c8e8bea994e79e2cfddbcff80df (patch) | |
tree | 52abe8f819965bdb58bb0a35ae12f5d29fcb4581 /remoting/host/chromoting_messages.h | |
parent | d9e5e751c6f9dc412ce8b7f956e0a3ec3c2cdd9b (diff) | |
download | chromium_src-96361d07bcba1c8e8bea994e79e2cfddbcff80df.zip chromium_src-96361d07bcba1c8e8bea994e79e2cfddbcff80df.tar.gz chromium_src-96361d07bcba1c8e8bea994e79e2cfddbcff80df.tar.bz2 |
Do not show the in-session UI in a curtained session.
This CL refactors the existing curtain mode implementation for Mac/Linux and finalizes one for Windows. Changes:
- The curtain mode policy setting is passed to the desktop environment factory. This way it will be able to pass the flag down to the created desktop environment instances.
- The curtain mode object is hosted by the desktop environment for the duration of the session.
- When a session is curtained the in-session UI is not created and local input is not monitored.
BUG=104544, 166882
R=cdn@chromium.org, rmsousa@chromium.org
Review URL: https://codereview.chromium.org/14435009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198945 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/chromoting_messages.h')
-rw-r--r-- | remoting/host/chromoting_messages.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/remoting/host/chromoting_messages.h b/remoting/host/chromoting_messages.h index 986879d..0c640ea 100644 --- a/remoting/host/chromoting_messages.h +++ b/remoting/host/chromoting_messages.h @@ -223,9 +223,10 @@ IPC_MESSAGE_CONTROL1(ChromotingDesktopNetworkMsg_AudioPacket, // Passes the client session data to the desktop session agent and starts it. // This must be the first message received from the host. -IPC_MESSAGE_CONTROL2(ChromotingNetworkDesktopMsg_StartSessionAgent, +IPC_MESSAGE_CONTROL3(ChromotingNetworkDesktopMsg_StartSessionAgent, std::string /* authenticated_jid */, - remoting::ScreenResolution /* resolution */) + remoting::ScreenResolution /* resolution */, + bool /* virtual_terminal */) // Notifies the desktop process that the shared memory buffer has been mapped to // the memory of the network process and so it can be safely dropped by |