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

Cherry-pick with conflict of chromium
crrev.com/7a2b1cb83546418638417fc4d3c9aa6172fe02e9

Conflicts:
	content/browser/android/in_process/synchronous_compositor_factory_impl.h
	content/renderer/media/android/stream_texture_factory_synchronous_impl.cc
	content/renderer/media/android/webmediaplayer_android.cc

Note this by itself does not compile.

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
StreamTextureProxy.

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

Change-Id: I143678de1ddf6cd66e3c49c1f1f8615d904dfcf5
Cr-Commit-Position: refs/heads/master@{#295219}
9 files changed