summaryrefslogtreecommitdiffstats
path: root/remoting/client/x11_input_handler.h
diff options
context:
space:
mode:
authorgarykac@chromium.org <garykac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-25 17:23:53 +0000
committergarykac@chromium.org <garykac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-25 17:23:53 +0000
commit08f44aa3b9de47dec72f931ff36db9c1d067aeed (patch)
treead2401d48b4549e87650ced64e09877f42f37f79 /remoting/client/x11_input_handler.h
parent779ff2a938b102350bbbc709b7223860b2b3b04d (diff)
downloadchromium_src-08f44aa3b9de47dec72f931ff36db9c1d067aeed.zip
chromium_src-08f44aa3b9de47dec72f931ff36db9c1d067aeed.tar.gz
chromium_src-08f44aa3b9de47dec72f931ff36db9c1d067aeed.tar.bz2
Pass ClientContext, HostConnection and ChromotingView into the input handler since they will be needed to properly handle user input and sent it to the host.
BUG=none TEST=remoting unittests Review URL: http://codereview.chromium.org/3148029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57341 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/client/x11_input_handler.h')
-rw-r--r--remoting/client/x11_input_handler.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/remoting/client/x11_input_handler.h b/remoting/client/x11_input_handler.h
index f4b4471..5d63ca3 100644
--- a/remoting/client/x11_input_handler.h
+++ b/remoting/client/x11_input_handler.h
@@ -14,7 +14,9 @@ class ChromotingView;
class X11InputHandler : public InputHandler {
public:
- X11InputHandler(ClientContext* context, ChromotingView* view);
+ X11InputHandler(ClientContext* context,
+ HostConnection* connection,
+ ChromotingView* view);
virtual ~X11InputHandler();
void Initialize();
@@ -25,9 +27,6 @@ class X11InputHandler : public InputHandler {
void ScheduleX11EventHandler();
- ClientContext* context_;
- ChromotingView* view_;
-
DISALLOW_COPY_AND_ASSIGN(X11InputHandler);
};