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

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

Issue 1844143002: Add VideoLayout message. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
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
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 73
74 message ExtensionMessage { 74 message ExtensionMessage {
75 // The message type. This is used to dispatch the message to the correct 75 // The message type. This is used to dispatch the message to the correct
76 // recipient. 76 // recipient.
77 optional string type = 1; 77 optional string type = 1;
78 78
79 // String-encoded message data. The client and host must agree on the encoding 79 // String-encoded message data. The client and host must agree on the encoding
80 // for each message type; different message types need not shared the same 80 // for each message type; different message types need not shared the same
81 // encoding. 81 // encoding.
82 optional string data = 2; 82 optional string data = 2;
83 } 83 }
84
85 message VideoTrackLayout {
86 // Name of the video track.
87 optional string track_name = 1;
88
89 // Position of the top left corner of the rectangle covered by the video
90 // track in DIPs (device independent pixels).
91 optional int32 position_x = 2;
92 optional int32 position_y = 3;
93
94 // Size of the area covered by the video track in DIPs.
95 optional int32 width = 4;
96 optional int32 height = 5;
97
98 // DPI of the screen.
99 optional int32 x_dpi = 6;
100 optional int32 y_dpi = 7;
101 }
102
103 message VideoLayout {
104 // Layout for each video track.
105 repeated VideoTrackLayout video_track = 1;
106 }
OLDNEW
« no previous file with comments | « remoting/host/security_key/gnubby_extension_session_unittest.cc ('k') | remoting/proto/internal.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698