cc: Put a limit on number of scheduled raster tasks.

This re-introduces a limit that seems to have been lost. Previously,
it was set to 256. I've changed it to be 32, since that seems to be
a reasonable number for the amount of tiles to process in a frame.

Note that if all tiles are rasterized in one frame, we'll simply
call to tile manager to get more tasks, so this doesn't limit
the amount of work per frame, it just limits the amount of work
per call to ManageTiles().

R=reveman@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253764 0039d316-1c4b-4281-b951-d872f2087c98
The CL breaks up some of the work done in GeoLocationInfoBar.

Work that needs to be done in UI thread are kept there while other heavy lifing is done by workers.

BUG=276614

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253765 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 253765
ui: Add DCHECK to GLSurface::InitializeOneOffImplementation.

This DCHECK ensures we don't initialize GL twice, once with
GLSurface::InitializeOneOffForTests() which is meant for unit tests
with in-process GL, and a second time with
GLSurface::InitializeOneOff() which is meant for the full chrome
browser with out-of-process GL.

R=sievers
BUG=270918

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

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