[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
[Views] Fix compiler initialization order errors.
Enabling Hardware Acceleration with Libva in linux-x86.

This commit is not upstreamable.

Currently, VAAPI only enabled for ChromeOS and Windows on
upstream. Although the ChromeOS uses same libva API as
common linux world, upstream refuesed to enable it for linux
common with maintainence concern. Refer to
"https://codereview.chromium.org/16430003/" for more details.

Upstream confirm VAVDA will continue to be restricted to
CrOS/X86 for dev & testing only and not for chromium road map.
So we maintain it for Crosswalk and that will benifit
linux with VAAPI installed and includes Tizen.
Revert "Fix the issue of video/audio playback with file://android_asset scheme."

This reverts commit b75d0b9ce310667ceb0ceb2c7c7019e5261bea36.
[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
[Android] Turn on WebNotification runtime feature on Android

It's disabled for chrome on Android.
For crosswalk, it will have an implementation working with
Android Notification.

BUG=https://crosswalk-project.org/jira/browse/XWALK-94
[Tizen] Enable geolocation for Tizen

Currently, geolocation is enabled only for Tizen mobile profile.
This patch enables geolocation subsystem for Tizen IVI as well.
[Backport] Backport Chromium changes: revision 251981

https://src.chromium.org/viewvc/chrome?revision=251981&view=revision

Hide X11 dependencies when use_x11=0.

When using a non X11 build with Ozone, we still have dependencies on
X11. This patch tries to hide X11 and related dependencies when
use_x11=0

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

Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>

Rework with 34.0.1847.45 code base.
[Android] [Backport] Volume is too low when playing audio through WebAudio API

This patch is back ported from chromium trunk, since the too low sound in webaudio
brings a bad user experience, and gets so many compaints from web game developers.

Please see: https://codereview.chromium.org/173503003/

Today, WebAudio uses the OpenSL ES low-latency audio backend in media/audio,
but the stream type is always communication mode (which is OK for WebRTC but
not for WebAudio).

This patch ensures that:
- Only switch to system-wide Communication mode when a low-latency input stream
  is created (e.g. from getUserMedia).
- Opens the native output stream in Media mode if system mode is Media and in
  Communication mode if system mode is Communication.

TEST=http://chromium.googlecode.com/svn/trunk/samples/audio/shiny-drum-machine.html

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

Rework with 34.0.1847.45 code base.
.gitignore: Ignore ozone/.

Just like we did for .xwalk/, ignore the ozone/ directory (it also prevents
it from being deleted if one runs gclient sync with -D).
[Android] Allow intercepter to extract paks

Embedders may want to put paks in res/raw instead of assets.
Because for Android Library project, assets is not handled well.
Add intercepter in ResourceExtractor to allow embedder to
provide the interceptable resources' list and the inputstream
to intercept with.
[Android] Enable Web Audio on x86 -- part 3

Enable the flag to let web audio work.

Conflicts:
	content/child/runtime_features.cc

Rework with 34.0.1809.0 code base.
Revert "[Android] Enable Web Audio on x86 -- part 3"

This reverts commit af75b1265672e5de08f381f6ea923c7075caa522.

The patch is useless after rebasing, as we have already enabled
Web Audio on x86 via the command line in xwalk.
See https://github.com/crosswalk-project/crosswalk/pull/1643
[Tizen] Hard code for va driver

This commit is not upstreamable, check details at
https://codereview.chromium.org/15955009/.

It can be mreged with previous libva patchset
d660a3e Enabling Hardware Acceleration with Libva in linux-x86.
[Backport] Remove X11 and GTK dependencies from host_forwarder

Use libevent as the implementation of MessagePumpForUI.

BUG=346113

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257853 0039d316-1c4b-4281-b951-d872f2087c98
[TIZEN] Tag the audio stream as "browser" in pulseaudio.

Tag the audio stream as "browser" in pulseaudio so that all the streams
coming from the web will be considered by Murphy as coming from the same
source and preempt them for example if there's a phone call coming.

At the moment the full Murphy integration is not in place due to some
integration issues with the main loop. But, once we have all the fixes
in place, we will directly connect to the Murphy's resource engine and
start receiving notifications when any another stream preempting the
streams tagged as 'browser'. This will make the Crosswalk fully
resource-aware.
[Temp] Add support to provide external ozone files in views.

The original patch comes from the ozone-wayland repository. It is
patches/0003-Add-support-to-provide-external-ozone-files-in-views.patch.

From the original commit message:

  We have un-necessary dependency on views. This is a temporary patch
  to include desktop_aura/ as part of view target.

One of the most practical results for us is that running a Crosswalk binary
built with -Dcomponent=shared_library works again.
[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