diff options
author | ajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-02 21:42:25 +0000 |
---|---|---|
committer | ajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-02 21:42:25 +0000 |
commit | 5e240672f29d5371b193ca641bab85e8fcc72e7e (patch) | |
tree | 3e6b99b8ba30155099c63fcc00bb35cd83d1ecde /remoting/proto/control.proto | |
parent | b92699afc8e0c70dfa9ed198786cba63d38fd5b2 (diff) | |
download | chromium_src-5e240672f29d5371b193ca641bab85e8fcc72e7e.zip chromium_src-5e240672f29d5371b193ca641bab85e8fcc72e7e.tar.gz chromium_src-5e240672f29d5371b193ca641bab85e8fcc72e7e.tar.bz2 |
Stub classes for Chromoting and use them in HostMessageDispatcher.
(Landing http://http://codereview.chromium.org/4167011 for hclam)
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/4336001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64818 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/proto/control.proto')
-rw-r--r-- | remoting/proto/control.proto | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/remoting/proto/control.proto b/remoting/proto/control.proto index 99b5d37..6e40658 100644 --- a/remoting/proto/control.proto +++ b/remoting/proto/control.proto @@ -8,26 +8,21 @@ syntax = "proto2"; option optimize_for = LITE_RUNTIME; -package remoting; +package remoting.protocol; -message SuggestScreenResolutionRequest { +// TODO(hclam): Isolate rectangle from these two messages. +message SuggestResolutionRequest { required int32 width = 1; required int32 height = 2; }; -// Represents a control message that sent from the client to the host. -// This message is transmitted on the control channel. -message ClientControlMessage { - optional SuggestScreenResolutionRequest suggest_screen_resolution_request = 1; -} - -message SetScreenResolutionRequest { +message NotifyResolutionRequest { required int32 width = 1; required int32 height = 2; }; -// Represents a control message that sent from host to the client. -// This message is transmitted on the control channel. -message HostControlMessage { - optional SetScreenResolutionRequest set_screen_resolution_request = 1; +// Represents a message being sent on the control channel. +message ControlMessage { + optional SuggestResolutionRequest suggest_resolution = 1; + optional NotifyResolutionRequest notify_resolution = 2; } |