Use validating IPC enum macros in speech recogniton messages.

This is part of a long-running background task to remove the remaining
uses of the unchecked IPC_ENUM_TRAITS() macro.

BUG=246708

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249960 0039d316-1c4b-4281-b951-d872f2087c98
Fixing supervised user: No MultiProfile allowed for this type of user.

BUG=341643
TEST=visual

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249961 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 249960
Move DidFailLoad from RenderView to RenderFrame

BUG=304341

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249962 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 249962
V4L2VDA: Clean up AssignPictureBuffers, error out on destruction failures.

This is a follow up CL to reorganize AssignPictureBuffers and get rid of now
unneeded PictureBufferArrayRef. On allocation failure, previously-allocated
EGL images will be freed in V4L2VDA's destructor instead.

Also start checking return values from egl* calls and add a return value
to DestroyOutputBuffers(), so that we can error out when any of the cleanup
calls fails during resolution change. Until now we would go on without
noticing.

BUG=319495,327869
TEST=vdatest, MSE tests, seek tests, res switch tests, youtube with &t=1m

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

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