[GCM] Make GCMProfileService work with  GCMClient for checkin and registration

Changes:
1) Handle the case that GCM functions could be invoked when extension
   loaded notification was not received (the 1st GCM app is run)
2) The user check-in could only be initiated after GCMClient is ready.

BUG=284553
R=fgorski@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247541 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 247541
Don't allow glBindTexImage2D() with GL_TEXTURE_CUBE_MAP

We are using the same validators as for glBindTexture(), so we need to filter this out manually.

(Using the texImage2D()/TextureTarget validator is not really better either, because it would not allow GL_TEXTURE_RECTANGLE_ARB.)

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247542 0039d316-1c4b-4281-b951-d872f2087c98
Refactored GenericChangeProcessor::ProcessSyncChanges by splitting out add and update into into private helper methods.

BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247543 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 247542
Fix crash when accidentally touching the screen during a multi window resize

BUG=330672
TEST=*DetachToBrowserTabDragControllerTest.*

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

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