summaryrefslogtreecommitdiffstats
path: root/remoting/host/daemon_process.h
diff options
context:
space:
mode:
authoralexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-18 04:38:56 +0000
committeralexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-18 04:38:56 +0000
commit6f526ce0c021f9414024e78da36683a661971698 (patch)
tree0dc3fd4bfcc15fb2cd6335dca944a1dfad5d7af3 /remoting/host/daemon_process.h
parent802e8c8fb32ef2546b6f2d70a78813588efd4f29 (diff)
downloadchromium_src-6f526ce0c021f9414024e78da36683a661971698.zip
chromium_src-6f526ce0c021f9414024e78da36683a661971698.tar.gz
chromium_src-6f526ce0c021f9414024e78da36683a661971698.tar.bz2
Pass the client resolutin updates to the daemon and desktop processes and create a desktop resizer in the desktop process.
BUG=196316 Review URL: https://chromiumcodereview.appspot.com/12678009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188673 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/daemon_process.h')
-rw-r--r--remoting/host/daemon_process.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/remoting/host/daemon_process.h b/remoting/host/daemon_process.h
index 3276315..99ddb2a 100644
--- a/remoting/host/daemon_process.h
+++ b/remoting/host/daemon_process.h
@@ -97,15 +97,19 @@ class DaemonProcess
const ScreenResolution& resolution,
bool virtual_terminal);
+ // Changes the screen resolution of the desktop session identified by
+ // |terminal_id|.
+ void SetScreenResolution(int terminal_id, const ScreenResolution& resolution);
+
// Requests the network process to crash.
void CrashNetworkProcess(const tracked_objects::Location& location);
// Reads the host configuration and launches the network process.
void Initialize();
- // Returns true if |terminal_id| is considered to be known. I.e. it is
+ // Returns true if |terminal_id| is in the range of allocated IDs. I.e. it is
// less or equal to the highest ID we have seen so far.
- bool IsTerminalIdKnown(int terminal_id);
+ bool WasTerminalIdAllocated(int terminal_id);
// Handlers for the host status notifications received from the network
// process.