Fix default min-layout width and scrollbar appearence.

Fix the default min-layout width which is used when no viewport meta
is present. Is is now 0, meaning the window viewport width will always
be used.

Fix scrollbar lengths so that they match up with the size of the content.
[Tizen] Use Tizen system location provider for geolocation subsystem

This patch enables Tizen geolocation provider, so that it could be
used by chromium geolocation subsystem.
[Android] Use application context for shared pref's creation

The shared pref here is to save the status for pak file extraction.
Since the pak file is extracted to each app's data folder, the
prefs also needs to be saved for each app individually.

For crosswalk usage, in shared mode, the context in
ResourceExtractor is the context for library apk. Use the
application context of it to get the app's context.

BUG=https://crosswalk-project.org/jira/browse/XWALK-228
[SysApps] Make CodecIDToAudioCodec and CodecIDToVideoCodec available as global functions

Make CodecIDToAudioCodec and CodecIDToVideoCodec available as global functions
so that they can be used by Device Capabilities getAVCodecs() interface to
query the list of supported codecs.
[Temp] Add EGL-specific changes for Wayland.

The original commit comes from the ozone-wayland repository
(https://github.com/01org/ozone-wayland).

This is patches/0002-EGL-specific-changes-for-Wayland.patch.

  From: Kondapally Kalyan <kalyan.kondapally@intel.com>

  OffScreen-rendering support for use cases like WebGL and
  Canvas2D. This should be enabled in upstream but needs some
  cross platform support before it can be done.
  More info: https://codereview.chromium.org/49533003/

It is required for proper Ozone-Wayland support. The Ozone-Wayland team will
take care of upstreaming it.
[Views] Customize _NET_WM_PID for X11 window backing a Widget

This patch allow us to customize the _NET_WM_PID property of a X11
window that is backing a views::Widget. A new attribute was added to
InitParams that contains the new value, if not set, the PID of the
current running process is used.

The reason for having this ability is to make Task Manager able to
raise the right X11 window when one "running application" is selected.

In Tizen Mobile, we use a shared browser process, that will create all
the windows, and the homescreen launches a different program that will
trigger the launch in the shared browser process. To make Task Manager
work properly we need to set the _NET_WM_PID of the windows we create to
the appropriate PID of the program

Since both Linux Desktop and Tizen Mobile use the
DesktopWindowTreeHostX11, we don't change DesktopWindowTreeHost.

Rework with 34.0.1847.45 code base.
[Android] Use the Chromium TLS for thread local storage allocation

On Android ICS, the max number of thread local storage is limited to 64.
Chromium TLS provides a mechanism to support large number of TLS slots
which is independent of OS restictions.

This commit is to make sure the ThreadLocalPointer uses the Chromium TLS
mechnism instead of directly calling pthread_create_key, so that it can
avoid the crash if the number of TLS slots allocated exceeds the max number
allowed by OS.

BUG=https://crosswalk-project.org/jira/browse/XWALK-841
[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 35.0.1908.4
[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.
[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] 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.
[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.
[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.
[Android] Change the API for ApplicationStatus in base dir.

Chromium class inherits from Application directly. This is not suitable
for Crosswalk embedding API. Instead, define a new API which can pass Application
instance as the parameter instead of asking users' application inheriting from
Chromium Application.
This fix is due to the change in upstream:
https://codereview.chromium.org/159173002
[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.
[Temp] OzoneChannel: Add needed support in Content.

The original patch comes from the ozone-wayland repository. It is
patches/0004-OzoneChannel-Add-needed-support-in-Content.patch.

From the original commit message:

  In Wayland case all window related events need to be sent to GPU process.
  We have a minimal IPC implementation, handling messages very specific to
  our needs. This patch adds support for the following:

  1) Register OzoneChannel and Host as MessageFilters after the succesfull
     launch of GPU and Browser process respectively.
  2) Ensure our content related files are compiled as part of content_common
     target.

This is required for launching Crosswalk when built with Ozone-Wayland.
[Android] Add a new API to simulate activity started on ApplicationStatusManager

When ApplicationStatus initialized after application started, the onActivityCreated(),
onActivityStarted() and onActivityResumed() callbacks will be missed.
This function will give the chance to simulate these three callbacks.

BUG=XWALK-1366
[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