diff options
author | garykac@google.com <garykac@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-31 15:56:05 +0000 |
---|---|---|
committer | garykac@google.com <garykac@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-31 15:56:05 +0000 |
commit | 411fd1d31c6ff7eb4d0436266e1f384d1095bbc5 (patch) | |
tree | 38cad8a0b8f8887a21c71f6fec48c36e4e9c53fd /remoting/host/event_executor.h | |
parent | dbdab285c50cb4f8d119199dd99fd92f82920095 (diff) | |
download | chromium_src-411fd1d31c6ff7eb4d0436266e1f384d1095bbc5.zip chromium_src-411fd1d31c6ff7eb4d0436266e1f384d1095bbc5.tar.gz chromium_src-411fd1d31c6ff7eb4d0436266e1f384d1095bbc5.tar.bz2 |
Chromoting: Get screen size locally if it wasn't given in the mouse message.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/3229007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58002 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/event_executor.h')
-rw-r--r-- | remoting/host/event_executor.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/remoting/host/event_executor.h b/remoting/host/event_executor.h index 0623464..bfdf38f 100644 --- a/remoting/host/event_executor.h +++ b/remoting/host/event_executor.h @@ -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 @@ class EventExecutor { virtual void HandleInputEvents(ClientMessageList* messages) = 0; // TODO(hclam): Define actions for clipboards. + protected: + Capturer* capturer_; + private: DISALLOW_COPY_AND_ASSIGN(EventExecutor); }; |