[Chromoting] Set the window size to use only the available screen area.
commit972d458e0010f616364e6e4fd0fc50826fda431f
authorgarykac <garykac@chromium.org>
Wed, 7 Jan 2015 01:57:17 +0000 (6 17:57 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 7 Jan 2015 01:58:09 +0000 (7 01:58 +0000)
tree356371bbe71a9dd1ee7e9a8f45b37a340107eff6
parent31e6c6eb732320629485180ff712ac06de90012e
[Chromoting] Set the window size to use only the available screen area.

Most platforms reserve some of the screen area for use by the OS (on Mac
and some Linux WM's there is a menu bar; on all platforms there is some
sort of application launcher). Since the window must be positioned outside
this reserved area, creating a window as large as the entire screen causes
it to extend beyond the bounds of the screen (or monitor), which results
in some client-side UI attached to the edge of the window being off-screen.

NOTRY=True
BUG=

Review URL: https://codereview.chromium.org/841603003

Cr-Commit-Position: refs/heads/master@{#310216}
remoting/webapp/app_remoting/js/ar_background.js