Cherry-pick: Handle context loss in WebMediaPlayerPlayer in-process

Cherry-pick with conflict of chromium


BUG: 17354106

Original description:

Add plumbing for a ResetStreamTextureProxy which should be
called on the event of a context loss. Only hooked up the
call for the in-process implementation in this CL when the
contex is restored.

ResetStreamTextureProxy currently handles "onContextLoss" as
well as "onContextRestored" concepts. It deletes the old
stream texture id, and recreates and binds a new

Review URL:

Cr-Commit-Position: refs/heads/master@{#295219}

Change-Id: I495ddac21f9066ef8555bf44c2461801e4f6b3aa
9 files changed