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

Side by Side Diff: remoting/host/event_executor.h

Issue 2690003: Copy the (early prototype of) remoting in Chrome into the public tree.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « remoting/host/encoder_vp8_unittest.cc ('k') | remoting/host/event_executor_linux.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(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_HOST_EVENT_EXECUTOR_H_
6 #define REMOTING_HOST_EVENT_EXECUTOR_H_
7
8 #include <vector>
9
10 #include "remoting/base/protocol_decoder.h"
11
12 namespace remoting {
13
14 // An interface that defines the behavior of an event executor object.
15 // An event executor is to perform actions on the host machine. For example
16 // moving the mouse cursor, generating keyboard events and manipulating
17 // clipboards.
18 class EventExecutor {
19 public:
20 EventExecutor() {}
21 virtual ~EventExecutor() {}
22
23 // Handles input events from ClientMessageList and removes them from the
24 // list.
25 virtual void HandleInputEvents(ClientMessageList* messages) = 0;
26 // TODO(hclam): Define actions for clipboards.
27
28 private:
29 DISALLOW_COPY_AND_ASSIGN(EventExecutor);
30 };
31
32 } // namespace remoting
33
34 #endif // REMOTING_HOST_EVENT_EXECUTOR_H_
OLDNEW
« no previous file with comments | « remoting/host/encoder_vp8_unittest.cc ('k') | remoting/host/event_executor_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698