Use chrome.app.window full-screen API for apps v2.
commit3febebe90d62a419d49ccc80eaf7228ac632c2fa
authorjamiewalch@chromium.org <jamiewalch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 30 Apr 2014 21:07:27 +0000 (30 21:07 +0000)
committerjamiewalch@chromium.org <jamiewalch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 30 Apr 2014 21:07:27 +0000 (30 21:07 +0000)
tree8120e36bd5e8743791f786afedbe5195ce4b036b
parent2547c91ed6fd014a7eac9a5a764f87f54b9bc714
Use chrome.app.window full-screen API for apps v2.

This allows us to hook onMaximized to enter full-screen which is a cleaner UX.
In the future, we will also have on-screen auto-hide close/minimize/restore
controls in full-screen mode, which will eliminate the need for the tool-bar
menu entry completely.

See https://developer.chrome.com/apps/app_window#type-AppWindow for details
of the API, and http://code.google.com/p/chromium/issues/detail?id=364942 for a discussion of why
this behaviour is not going to be supported by requestFullscreen.

BUG=134213,252927
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267329 0039d316-1c4b-4281-b951-d872f2087c98
remoting/remoting_webapp_files.gypi
remoting/webapp/client_session.js
remoting/webapp/fullscreen.js [new file with mode: 0644]
remoting/webapp/fullscreen_v1.js [new file with mode: 0644]
remoting/webapp/fullscreen_v2.js [new file with mode: 0644]
remoting/webapp/js_proto/chrome_proto.js
remoting/webapp/remoting.js