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

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

Issue 11192042: Protocol plumbing for audio toggle. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 2 months 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
« no previous file with comments | « remoting/host/client_session.cc ('k') | remoting/proto/internal.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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.protocol; 11 package remoting.protocol;
12 12
13 message ClientDimensions { 13 message ClientDimensions {
14 // Width and height of the client. 14 // Width and height of the client.
15 optional int32 width = 1; 15 optional int32 width = 1;
16 optional int32 height = 2; 16 optional int32 height = 2;
17 } 17 }
18 18
19 message VideoControl { 19 message VideoControl {
20 // Enables the video channel if true, pauses if false. 20 // Enables the video channel if true, pauses if false.
21 optional bool enable = 1; 21 optional bool enable = 1;
22 } 22 }
23 23
24 message AudioControl {
25 // Enables the audio channel if true, pauses if false.
26 optional bool enable = 1;
27 }
28
24 message CursorShapeInfo { 29 message CursorShapeInfo {
25 // Width, height (in screen pixels) of the cursor. 30 // Width, height (in screen pixels) of the cursor.
26 optional int32 width = 1; 31 optional int32 width = 1;
27 optional int32 height = 2; 32 optional int32 height = 2;
28 33
29 // X,Y coordinates (relative to upper-left corner) of the cursor hotspot. 34 // X,Y coordinates (relative to upper-left corner) of the cursor hotspot.
30 optional int32 hotspot_x = 3; 35 optional int32 hotspot_x = 3;
31 optional int32 hotspot_y = 4; 36 optional int32 hotspot_y = 4;
32 37
33 // Cursor pixmap data in 32-bit BGRA format. 38 // Cursor pixmap data in 32-bit BGRA format.
34 optional bytes data = 5; 39 optional bytes data = 5;
35 } 40 }
OLDNEW
« no previous file with comments | « remoting/host/client_session.cc ('k') | remoting/proto/internal.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698