diff options
author | garykac@chromium.org <garykac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-26 23:03:19 +0000 |
---|---|---|
committer | garykac@chromium.org <garykac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-26 23:03:19 +0000 |
commit | 6730b450fb21fbb7560091b1943ed3be1c757852 (patch) | |
tree | c8c25191d6f5c6adc1a616d8bafb85d7c6094cda /remoting/client/chromoting_view.cc | |
parent | 234cd85cf6d9d4dd868c2a21bffe2ec575bb6ffc (diff) | |
download | chromium_src-6730b450fb21fbb7560091b1943ed3be1c757852.zip chromium_src-6730b450fb21fbb7560091b1943ed3be1c757852.tar.gz chromium_src-6730b450fb21fbb7560091b1943ed3be1c757852.tar.bz2 |
Add mouse event support to Chromoting client (Pepper and X11).
BUG=none
TEST=remoting unittests
Review URL: http://codereview.chromium.org/3175028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57598 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/client/chromoting_view.cc')
-rw-r--r-- | remoting/client/chromoting_view.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/remoting/client/chromoting_view.cc b/remoting/client/chromoting_view.cc index f985669..95d2dfa 100644 --- a/remoting/client/chromoting_view.cc +++ b/remoting/client/chromoting_view.cc @@ -14,6 +14,14 @@ ChromotingView::ChromotingView() frame_height_(0) { } + +// TODO(garykac): This assumes a single screen. This will need to be adjusted +// to add support for mulitple monitors. +void ChromotingView::GetScreenSize(int* width, int* height) { + *width = frame_width_; + *height = frame_height_; +} + bool ChromotingView::SetupDecoder(UpdateStreamEncoding encoding) { if (encoding == EncodingInvalid) { LOG(ERROR) << "Cannot create encoder for EncodingInvalid"; |