Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(95)

Side by Side Diff: remoting/proto/control.proto

Issue 4336001: Stub classes for Chromoting and use them in HostMessageDispatcher. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | remoting/proto/event.proto » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // Protocol for control messages. 5 // Protocol for control messages.
6 6
7 syntax = "proto2"; 7 syntax = "proto2";
8 8
9 option optimize_for = LITE_RUNTIME; 9 option optimize_for = LITE_RUNTIME;
10 10
11 package remoting; 11 package remoting.protocol;
12 12
13 message SuggestScreenResolutionRequest { 13 // TODO(hclam): Isolate rectangle from these two messages.
14 message SuggestResolutionRequest {
14 required int32 width = 1; 15 required int32 width = 1;
15 required int32 height = 2; 16 required int32 height = 2;
16 }; 17 };
17 18
18 // Represents a control message that sent from the client to the host. 19 message NotifyResolutionRequest {
19 // This message is transmitted on the control channel.
20 message ClientControlMessage {
21 optional SuggestScreenResolutionRequest suggest_screen_resolution_request = 1;
22 }
23
24 message SetScreenResolutionRequest {
25 required int32 width = 1; 20 required int32 width = 1;
26 required int32 height = 2; 21 required int32 height = 2;
27 }; 22 };
28 23
29 // Represents a control message that sent from host to the client. 24 // Represents a message being sent on the control channel.
30 // This message is transmitted on the control channel. 25 message ControlMessage {
31 message HostControlMessage { 26 optional SuggestResolutionRequest suggest_resolution = 1;
32 optional SetScreenResolutionRequest set_screen_resolution_request = 1; 27 optional NotifyResolutionRequest notify_resolution = 2;
33 } 28 }
OLDNEW
« no previous file with comments | « no previous file | remoting/proto/event.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698