Fix up the sign-out flow for the --new-profile-management flag.

Changes that are happening in this CL:
- trying to open a profile that is signed out will take you to
the User Manager screen, with the pod for that profile focused
- once you sign out from a profile, this also will take you to the
User Manager screen
- actions from the User Manager screen that open a browser (i.e.
switching to a profile, guest mode) will close the User Manager
once the browser is opened
- the User Manager html page takes a hash parameter that is used
to explicitely focus a given pod
- the profiles::SwitchToProfile api has changes slightly, to
take a callback as a parameter
- a static function moved out from the avatar menu and into profiles::, 
to join its brethren

BUG=304893,313471

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232731 0039d316-1c4b-4281-b951-d872f2087c98
Android: Fix calculation of event time for synthetic touch gestures.

On JB+ we use a TimeListener listening to vsync to send out touch events. The time of the touch event was computed by adding the time elapsed since the listener was created to the time when we first touched down a pointer, |mDownTime|. Instead of using |mDownTime| (which is uninitialized the first time round), we record the time when the gesture was started and use that to calculate the event time.

BUG=312731

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232732 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 232731
Allow navigations performed by extensions to pass through AllowExtensionResourceLoad.

BUG=312269

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

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