| OLD | NEW |
| 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 // Internal message types that should not be seen outside the protocol | 5 // Internal message types that should not be seen outside the protocol |
| 6 // directory. | 6 // directory. |
| 7 | 7 |
| 8 syntax = "proto2"; | 8 syntax = "proto2"; |
| 9 | 9 |
| 10 import "control.proto"; | 10 import "control.proto"; |
| 11 import "event.proto"; | 11 import "event.proto"; |
| 12 import "video.proto"; | |
| 13 | 12 |
| 14 option optimize_for = LITE_RUNTIME; | 13 option optimize_for = LITE_RUNTIME; |
| 15 | 14 |
| 16 package remoting; | 15 package remoting.protocol; |
| 16 |
| 17 // Represents a message being sent on the control channel. |
| 18 message ControlMessage { |
| 19 optional SuggestResolutionRequest suggest_resolution = 1; |
| 20 optional NotifyResolutionRequest notify_resolution = 2; |
| 21 } |
| 17 | 22 |
| 18 // TODO(garykac) This is dead, remove remaining references and delete. | 23 // TODO(garykac) This is dead, remove remaining references and delete. |
| 19 message ChromotingClientMessage { | 24 message ChromotingClientMessage { |
| 20 optional KeyEvent key_event = 1; | 25 optional KeyEvent key_event = 1; |
| 21 optional MouseEvent mouse_event = 2; | 26 optional MouseEvent mouse_event = 2; |
| 22 } | 27 } |
| OLD | NEW |