OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef REMOTING_PROTOCOL_HOST_CONTROL_MESSAGE_HANDLER_H_ | |
6 #define REMOTING_PROTOCOL_HOST_CONTROL_MESSAGE_HANDLER_H_ | |
7 | |
8 #include "remoting/proto/control.pb.h" | |
9 | |
10 class Task; | |
11 | |
12 namespace remoting { | |
13 | |
14 // The interface for handling control messages sent to the host. | |
15 // For all methods of this interface. |task| needs to be called when | |
16 // receiver is done processing the event. | |
17 class HostControlMessageHandler { | |
18 public: | |
19 virtual ~HostControlMessageHandler() {} | |
20 | |
21 virtual void OnSuggestScreenResolutionRequest( | |
22 const SuggestScreenResolutionRequest& request, Task* task) = 0; | |
23 }; | |
24 | |
25 } // namespace remoting | |
26 | |
27 #endif // REMOTING_PROTOCOL_HOST_CONTROL_MESSAGE_HANDLER_H_ | |
OLD | NEW |