[Android] Add a new listener to listen the first rendered frame
To support the feature of launch screen. Added a new listener FirstRenderedFrameListener.
This listener will be triggered when the first visible content has been updated to the screen.

SPEC: https://docs.google.com/a/intel.com/document/d/17PuNuHRTQuREUpaCvj-eEx7uYi2avd-VW-oaMXMpvwo/edit?pli=1#
Design Doc: https://docs.google.com/a/intel.com/document/d/1YLajlZC7CkBOtEvzD6p6yeBr0HrPsaIGX8Eqhr3oTF4/edit#heading=h.mfsu3bk9566e
Bug: XWALK-637

Reworked for M37
Provide a ScreenOrientationDispatcherHost getter.

SSIA. We need it in order to be able to set ScreenOrientationProvider
from Xwalk.
[Temp][Tizen] Temporarily remove ozone dependency for gl

Currently, the ozone-wayland depends on ui/gl. However, that will cause cycling
dependency error. So temporarily remove ozone dependency for gl until we find a
better way.

Refer to https://github.com/01org/ozone-wayland/issues/240 and
https://github.com/01org/ozone-wayland/pull/246
[Android] Use TextureView as an alternative compositing surface target

Unlike SurfaceView, TextureView can be moved, transformed and animated,
but may consume a bit more memory resource. We need this since Crosswalk
embedding API should have the capability of animating XWalkView in the
embedder.

See the discussion in chromium graphics-dev group
https://groups.google.com/a/chromium.org/forum/#!topic/graphics-dev/Z0yE-PWQXc4

BUG=https://crosswalk-project.org/jira/browse/XWALK-1574

Reworked with M38
[Android] Only initialize ContentReadbackHandler in onNativeLibraryLoaded for TextureView.

Let's bail out after ContentReadbackHandler initialization in the case of
TextureView.

BUG=https://crosswalk-project.org/jira/browse/XWALK-1887

Reworked with M38.
Introduce vaLockBuffer APIs in libva.

Reason that add this change:
1080p video playback on Tizen is quite unsmooth on VTC-1010, with only 15 render
fps and ~70% CPU usage. Ozone-wl landed a workaround solution that enables a
zero buffer copy method that uses libva vaLockBuffer APIs which gains much better
performance than previous method.
https://github.com/01org/ozone-wayland/pull/260

In order to make the change also benifit Crosswalk/Tizen, we should add the
vaLockBuffer API declarations inside Chromium Crosswalk to compile
the code successfully.

The long term goal of our work would be landing those API declarations inside
Chromium upstream, after the API implementations are landed in libva and
libva-driver upstream.

Therefore, this CL is a temporary solution. It would be reverted after the long
term goal is achived.
[Tizen] Add Tizen Murphy resource policy daemon integration

This patch includes Chromium side changes that are needed for
integrating WebMediaPlayer with the Murphy resource policy daemon.
[Tizen] Make content fit to the viewport

This actually means that 'setShrinksViewportContentToFit'
setting should be set. This is necessary for viewport
meta tag enabling on Tizen.
[Temp] Backport https://codereview.chromium.org/560553007 from upstream

Fix compilation with OS X SDK 10.9.
[Temp] Apply ozone-wayland's 0008-Fix-crash-when-switching-to-console-VT-mode.patch.

Original commit message:
  Fix crash when switching to console(VT) mode

  Buffer swapping should not be synchronized so that the GPU process
  is not blocked by waiting for a frame update from Weston.

  Bug: TC-341

It is not clear from ozone-wayland's pull request #300 if this change
has been submitted upstream.
.gitignore: Ignore src/third_party/khronos/CL.

We started checking out this directory with Crosswalk PR#2426, but since
we do not have it in .gitignore the directory ends up being removed
every time we run gclient sync.
.gitignore: Ignore src/third_party/webcl.

We started checking out this directory with Crosswalk including the
webcl conformance test suite. So we should ignore this directory
to avoid being removed when gclient sync.
[TIZEN] Set app ID and media class properties for the audio streams.

Set an application ID and media class properties for the audio streams in
pulseaudio and Murhy, so that the Murphy resource policy daemon can dictate
when the audio will be paused and resumed in response to other audio playing.

BUG=XWALK-2788
Revert Tizen changes to support changing the system location provider.

This reverts the following commits:
* 9132a4f "[Tizen] Enable geolocation for Tizen"
* 801bdbf "[Tizen] Use Tizen system location provider for geolocation
           subsystem"

They have not been needed since at least M35(!), when Chromium commit
5038bce99 ("location: Refactor LocationProvider") made it possible to
change the system location provider in ContentBrowserClient.

We can now do everything on the Crosswalk side, and also fixes an issue
with building Crosswalk for Tizen with -Dcomponent=shared_library, as
libcontent.so would not have an implementation of
content::NewSystemLocationProvider() (this did not happen before the
content layer was being built as a static library linked into the
Crosswalk binary that had an implementation for that symbol).
Fix GPU process crash

Fix GPU process crash on "Check failed: policy->PreSandboxHook()".

BUG=XWALK-2789