A few last Android infobar cleanups:

* Calling ChangeInfoBarService(NULL) is not only OK, it's more correct than not
  calling it.
* Trivial whitespace/paren changes

BUG=none
TEST=none
R=miguelg@chromium.org, nyquist@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237384 0039d316-1c4b-4281-b951-d872f2087c98
cc: Allow activating to something other than high-res

If the pending tree is only allowed to activate when it has all of its
high res visible tiles ready to draw, then this can starve activation in
cases where the pending tree could have activated earlier without a
flash.

The fix is that when the active tree has high res tiles that are not
ready to draw or are shared with the pending tree, then the pending tree
does not need those tiles to be ready before activating.  To compensate
for not needing high res tiles, the pending tree may need to require low
res tiles if the active tree is drawing its low res tiles.  This
strategy allows faster activation during scrolling when both the active
and pending tree may be checkerboarding or showing low res.

Pending layers are still not allowed to activate with no content if the
active layer does not exist or if the active layer has no tilings (i.e.
didn't draw any content on previous frames).  This prevents newly
visible layers from activating without their content ready (which would
cause the content to incrementally appear over several frames in a
visually unappealing way).

BUG=315180

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237385 0039d316-1c4b-4281-b951-d872f2087c98
Move InfoBar notification typedefs from the global scope into InfoBar.

BUG=none
TEST=none
R=sky@chromium.org

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

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