Use integer positions for sad tab page text

This fixes the issue where the text would come out blurry. It still
is lacking anti-aliasing.

BUG=351456

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256504 0039d316-1c4b-4281-b951-d872f2087c98
Fixing a visibility problem with hangout panels upon multi user switching

The problem manifests itself as follows:

Have a panel (e.g. a Hangout panel). It is docked to the shelf. Switch users which will hide the shelf, hiding and moving the panel window with it. Switch back and see that the panel does not come back.

- When Window::Hide is called, Window::visible_ and Window::layer()->IsVisible() are true. Upon exit Window::visible_ is false and Window::layer()->IsVisible() is true.
- This is because Window::SetVisible() calls the associated VisibilityClient to hide the layer. The VisibilityClient::UpdateLayerVisibility function checks then the currently scheduled animation and ignores the call if the animation is changing the target opacity to 0.

The opacity change however does not lead to a visibility change so that on the next Window::Show call gets ignored since the layer claims to be still visible.

CL http://crrev.com/132903003 was supposed to fix that, but it got reverted.

As discussed with sky we change the animation detection to a Visibility detection until the mentioned CL gets in.

BUG=347587
TEST=only visual

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256505 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 256505
Re-land r252832 after revert r252852 addressing Andriod test failure.

The bookmark undo is not desired functionality on Android and so the undo framework code is not compiled for Android.

This means that the group undo events are not fired on Android and thus the test should not call ExpectGroupedChangeCount() on Android.

Originally Committed: r252832
Reverted: r252852 ( Review URL: https://codereview.chromium.org/176563002 )

BUG=126092

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

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