diff options
author | garykac@chromium.org <garykac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-25 17:23:53 +0000 |
---|---|---|
committer | garykac@chromium.org <garykac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-25 17:23:53 +0000 |
commit | 08f44aa3b9de47dec72f931ff36db9c1d067aeed (patch) | |
tree | ad2401d48b4549e87650ced64e09877f42f37f79 /remoting/client/plugin/chromoting_instance.cc | |
parent | 779ff2a938b102350bbbc709b7223860b2b3b04d (diff) | |
download | chromium_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/plugin/chromoting_instance.cc')
-rw-r--r-- | remoting/client/plugin/chromoting_instance.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/remoting/client/plugin/chromoting_instance.cc b/remoting/client/plugin/chromoting_instance.cc index 819eec9..6cbc510 100644 --- a/remoting/client/plugin/chromoting_instance.cc +++ b/remoting/client/plugin/chromoting_instance.cc @@ -68,7 +68,8 @@ bool ChromotingInstance::Init(uint32_t argc, // Create the chromoting objects. host_connection_.reset(new JingleHostConnection(&context_)); view_.reset(new PepperView(this)); - input_handler_.reset(new PepperInputHandler()); + input_handler_.reset(new PepperInputHandler(&context_, host_connection_.get(), + view_.get())); // Default to a medium grey. view_->SetSolidFill(0xFFCDCDCD); |