Fix the crossfade animation when using --ash-enable-alternate-caption-button

This CL:
- Makes the new icon actually fade in.
- Makes the fade out of the old icon occur twice as fast as the fade in of the new icon as per discussion with sgabriel@ and mclement@

BUG=297187
TEST=None

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247359 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 247359
Avoid aliasing two resources to the same base::SharedMemory* for video.

The lifetimes of the two resources could be different with delegated rendering, causing a use-after-free error. Instead continue to use the old software path to upload, but check for whether the resource is in use by a consumer before attempting to recycle it.

BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247360 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 247360
sendNativeMessage documentation typo fix 'send' -> 'sent'

BUG=none
NOTRY=true

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

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