VAVDA: Fallback to H264 Constrained Baseline if Baseline is unsupported.

Due to crbug.com/345569, we are currently always given Baseline profile
in Initialize, even if the profile is actually Constrained Baseline.
Intel HW codec supports Constrained Baseline only. Since Baseline is
a superset of Constrained Baseline, try to use Baseline, but if it is not
supported, fall back to Constrained Baseline. Baseline is relatively rare,
as is the usage of Baseline-only FMO/ASO features, so this should not make
us fail in majority of cases.

Actually, libva-intel-driver until 1.2.2 used to accept Baseline instead
of Constrained Baseline as well
(see http://cgit.freedesktop.org/vaapi/intel-driver/commit/?id=9d0bd942552a68411f2c223e362591ac9520a7f8),
which made us not fail when asking for Baseline instead of Constrained
before. Without this change, after updating to 1.2.2, we would start
failing instead, so this is effectively maintaining the current behavior.

BUG=chromium:341289
TEST=play constrained baseline streams on driver v1.2.1 and 1.2.2, vdatest

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253651 0039d316-1c4b-4281-b951-d872f2087c98
Replace WebDocument::clearfocusedNode to clearFocusedElement

WebDocument::clearFocusedNode is a deprecated Api, move chromium to new api clearFocusedElement.

BUG=258763

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

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

New in this roll:

Update resources added in Chromium r253153
https://android-review.googlesource.com/#/c/83519/

BUG=
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253653 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 253653
Remove an expectation that has been upstreamed.

BUG=342077
TEST=none
TBR=derat

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

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