[Tizen IVI] Make HTML5 full screen API work on IVI.

Currently, Crosswalk for Ozone-wayland shows the title bar by default on IVI.
As a result, when webapps enter fullscreen mode using HTML5 fullscreen API,
their title bar still exist.

This patch allows to hide the title bar in fullscreen mode.

Bug: XWALK-896
[Android] Address Context leak in ResourceExtractor

The leak is fixed by commit "Make the ResourceExtractor
use the App context"(0f1465d5f), which is reverted
because xwalk shared mode needs to keep original Context.

In this commit, the static instance of ResourceExtractor
will be released after the background job is done. The
ResourceExtractor should not be used any more from that point.
[Android] Ignore status from non tracked activities

When activity_1 start activity_2(contains XWalkView), ApplicationStatus will start tracking when XWalkView initialized,
But ApplicationStatus will receive status such as onStop from activity_1, we do not need track activity_1, just ignore it.
For upstream, there is no such kind of case, ApplicationStatus will track all activities inside the package.

BUG=XWALK-1454
[Tizen] Enable media auto play

Current setting blocks some media test cases(XWALK-971) and peace keeper.
So, remove this setting and use the default value.
[Android] Add Resource loading filter for MediaPlayer

Why: There are requirements to customize the MediaPlayer resource
loading on Android which is implemented in Chromium code base.
Till now we have two points:
    1) Support the file:///android_asset in MediaPlayer.
    2) Support app scheme in the resource loading of MediaPlayer.
Unfortunately, the resource loading of MediaPlayer on Andoid goes
a different way from other ports and no interface to handle this.

How: Add a new interface ResourceLoadingFilter to filter the resource
loading(setDataSource) in MediaPlayerBridge, which could be used in
xwalk to do the customization by overriding the function of
shouldOverrideResourceLoading() in xwalk.

BUG=https://crosswalk-project.org/jira/browse/XWALK-880
[Extensions] Build glib message pump on Ozone

The GLib mainloop is a nice to have on the Extension Process (only) to ease
the integration with DBus based services.

The patch won't make glib the default, but will make it possible
to use it if explicitly declared.
[Tizen] Enable blink::OrientationEvent by default

SSIA.
[Extensions] Build glib message pump on Ozone

Squash this patch with the patch with the same name on the next rebase.

Follow-up patch fixing linking errors when using glib on Ozone and not
building component=shared_library.
[Android] Fix the crash of GetUserMedia

Crash happens when releasing the audio resource of localusermedia in
openSL ES. On Android there are two ways to get the audio input:
openSL ES and java Recording API. We swtich to the Recording API as a
workaround of the bug. The limitation is Recording API only be avaiable
after version 15 of SDK.

BUG=XWALK-1833
[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.
[Tizen][Temp] Allow a different ScreenOrientationProvider to be set.

At the moment, out-of-tree implementations of ScreenOrientationProvider
cannot be passed to ScreenOrientationDispatcherHost, so add a new method
SetProvider() to it to do that.

This was originally committed as pull request chromium-crosswalk/185,
and has been rewritten for M39.

It will not be necessary once https://codereview.chromium.org/546453004/
and https://code.google.com/p/chromium/issues/detail?id=396760 are fixed.