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

Unified Diff: remoting/host/event_executor.h

Issue 3229007: Chromoting: Get screen size locally if it wasn't given in the mouse message.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/service/service_process.cc ('k') | remoting/host/event_executor_linux.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/event_executor.h
===================================================================
--- remoting/host/event_executor.h (revision 57860)
+++ remoting/host/event_executor.h (working copy)
@@ -11,13 +11,17 @@
namespace remoting {
+class Capturer;
+
// An interface that defines the behavior of an event executor object.
// An event executor is to perform actions on the host machine. For example
// moving the mouse cursor, generating keyboard events and manipulating
// clipboards.
class EventExecutor {
public:
- EventExecutor() {}
+ EventExecutor(Capturer* capturer)
+ : capturer_(capturer) {
+ }
virtual ~EventExecutor() {}
// Handles input events from ClientMessageList and removes them from the
@@ -25,6 +29,9 @@
virtual void HandleInputEvents(ClientMessageList* messages) = 0;
// TODO(hclam): Define actions for clipboards.
+ protected:
+ Capturer* capturer_;
+
private:
DISALLOW_COPY_AND_ASSIGN(EventExecutor);
};
« no previous file with comments | « chrome/service/service_process.cc ('k') | remoting/host/event_executor_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698