This CL modifies the check that prevents shelf gestures from working in
fullscreen mode so that it allows gestures during immersive mode.
    
This also modifies the drag completion behaviour to keep the shelf in the
correct state while immersive.
    
BUG=chromium:224301
BUG=chromium:230039
TEST=Tested that swipe in/out works in immersive mode.
     Tested that transitioning between immersive and non-immersive doesn't break
     the shelf.
     Tested that swiping doesn't work in traditional fullscreen mode.

Review URL: https://chromiumcodereview.appspot.com/14740012

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201733 0039d316-1c4b-4281-b951-d872f2087c98
3 files changed