Currently, we do not cache the type of fullscreen that an app is in. When we relaunch an app which was fullscreen when the user closed the app (e.g. by pressing Ctrl+Shift+W), we relaunch it with the FULLSCREEN_TYPE_WINDOW_API fullscreen type. It is jarring when an app which was previously in immersive fullscreen is relaunched with the FULLSCREEN_TYPE_WINDOW_API type. Because immersive fullscreen for apps is still experimental, relaunch apps which were in immersive fullscreen when they were closed in maximized mode.

BUG=323061
TEST=Manual, see bug

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237225 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 237225