Adopt to https://codereview.chromium.org/201573015
Fix shared_component build for Ozone platform.

This patch makes necessary changes in Ozone Wayland code base to fix
shared_component build.
Gardening: Update to latest revision.
Garndeing: Fix linking issue when building Chrome.

Effecting CL: https://codereview.chromium.org/270383007
Gardening: Adopt to https://codereview.chromium.org/291473002

Thic CL introduces WaylandProxyDisplay which acts as a proxy for
WaylandDisplay in multi-process mode. This is a temporary solution
to get master working again with latest chromium.
Gardening: Adopt to https://codereview.chromium.org/284323002
Update README.md

Add ricardo-vieira's suggestion on the HOWTO for saving lots of disk space when building chrome.
wayland: Fix segfault when trying to set cursor without input

[17567:17567:0528/100616:ERROR:display.cc(227)] Not implemented reached in virtual void ozonewayland::WaylandDisplay::SetWidgetState(unsigned int, ui::WidgetState, unsigned int, unsigned int) SHOW 1
[17567:17606:0528/100616:WARNING:server_connection_manager.cc(296)] ServerConnectionManager forcing SYNC_AUTH_ERROR
[17567:17606:0528/100616:WARNING:syncer_proto_util.cc(277)] Error posting from syncer: Response Code (bogus on error): -1 Content-Length (bogus on error): -1 Server Status: SYNC_AUTH_ERROR
[17567:17606:0528/100616:ERROR:get_updates_processor.cc(240)] PostClientToServerMessage() failed during GetUpdates
[17567:17584:0528/100617:WARNING:backend_impl.cc(1780)] Destroying invalid entry.
[17567:17567:0528/100616:FATAL:input_device.cc(216)] Check failed: input_pointer_.
 #0 0x7f9f01fd0a99 base::debug::StackTrace::StackTrace()
 #1 0x7f9f02022a33 logging::LogMessage::~LogMessage()
 #2 0x7f9f03337610 ozonewayland::WaylandInputDevice::SetCursorType()
 #3 0x7f9f0332f9c8 ozonewayland::WaylandDisplay::SetWidgetCursor()
 #4 0x7f9f06f07869 views::DesktopWindowTreeHostWayland::SetCursorNative()
 #5 0x7f9f033238ad aura::WindowTreeHost::SetCursor()
 #6 0x7f9f06f1da8d views::DesktopNativeCursorManager::SetCursor()
 #7 0x7f9f06dcdf5c wm::CursorManager::SetCursor()
 #8 0x7f9f06dc94d8 wm::CompoundEventFilter::UpdateCursor()
 #9 0x7f9f06dc99bf wm::CompoundEventFilter::OnMouseEvent()
 #10 0x7f9f086c0093 ui::EventHandler::OnEvent()
 #11 0x7f9f086bdcf1 ui::EventDispatcher::DispatchEvent()
 #12 0x7f9f086bdab7 ui::EventDispatcher::DispatchEventToEventHandlers()
 #13 0x7f9f086bd79d ui::EventDispatcher::ProcessEvent()
 #14 0x7f9f086bd476 ui::EventDispatcherDelegate::DispatchEventToTarget()
 #15 0x7f9f086bd33d ui::EventDispatcherDelegate::DispatchEvent()
 #16 0x7f9f0331bcbf aura::WindowEventDispatcher::DispatchMouseEnterOrExit()
 #17 0x7f9f0331dde1 aura::WindowEventDispatcher::PreDispatchMouseEvent()
 #18 0x7f9f0331c5c1 aura::WindowEventDispatcher::PreDispatchEvent()
 #19 0x7f9f086bd2dd ui::EventDispatcherDelegate::DispatchEvent()
 #20 0x7f9f086c15e7 ui::EventProcessor::OnEventFromSource()
 #21 0x7f9f0331d845 aura::WindowEventDispatcher::SynthesizeMouseMoveEvent()
 #22 0x7f9f0331fe00 base::internal::RunnableAdapter<>::Run()
 #23 0x7f9f0331fc87 base::internal::InvokeHelper<>::MakeItSo()
 #24 0x7f9f0331fab8 base::internal::Invoker<>::Run()
 #25 0x7f9f00e1beb9 base::Callback<>::Run()
 #26 0x7f9f02033288 base::MessageLoop::RunTask()
 #27 0x7f9f020333ac base::MessageLoop::DeferOrRunPendingTask()
 #28 0x7f9f020338d3 base::MessageLoop::DoWork()
 #29 0x7f9f01fb45ef base::MessagePumpLibevent::Run()
 #30 0x7f9f02032dd7 base::MessageLoop::RunHandler()
 #31 0x7f9f0207300a base::RunLoop::Run()
 #32 0x7f9f01678366 ChromeBrowserMainParts::MainMessageLoopRun()
 #33 0x7f9f05851634 content::BrowserMainLoop::RunMainMessageLoopParts()
 #34 0x7f9f058589dc content::BrowserMainRunnerImpl::Run()
 #35 0x7f9f0584dba8 content::BrowserMain()
 #36 0x7f9f01f73f75 content::RunNamedProcessTypeMain()
 #37 0x7f9f01f74fa1 content::ContentMainRunnerImpl::Run()
 #38 0x7f9f01f73439 content::ContentMain()
 #39 0x7f9f00d75344 ChromeMain
 #40 0x7f9f00d752ea main
 #41 0x7f9efcbc876d __libc_start_main
 #42 0x7f9f00d751f9 <unknown>
Remove chromium-do-not-look-for-gtk2-when-using-ozone.patch

This patch was applied to upstream:
https://codereview.chromium.org/272743002/
wayland: Pin Wayland protocol version

We need to be consistent among tests, bugs, etc against Wayland and Weston. I
think we all could develop and productize using the same version therefore.
This CL attempts to do so. Note that Wayland and Weston versions required for
now are the same; I think we can live like that.

Eventually we could build up a gyp option to set the desired version at
configuration time like use_wayland_version='1.4.0', but for now let's try to
pin one given version only.
Handling IME messages.

Virtual keyboard does not work in Crosswalk on Tizen common because
IME messages are not handled.

This patch allows to handle PreeditString and CommitString messages,
which enables the users to input text in web pages with the Weston virtual
keyboard on Tizen common.

Bug: https://crosswalk-project.org/jira/browse/XWALK-1450
Gardening: Update to latest revision.

Effecting CL:
1)https://codereview.chromium.org/300023006
2)https://codereview.chromium.org/309463003
Gardening: Adopt to latest changes.

Effecting CL:
https://codereview.chromium.org/274273004
https://codereview.chromium.org/278823004
https://codereview.chromium.org/274633003
media: Enable video decode acceleration through VAAPI

This CL enables H.264 codec video decode, leveraged by VAAPI. This work was
originally made for Crosswalk runtime by Qing Zhang <qing.zhang@intel.com> and
now been ported here with many additional changes.

The commands used to download, build and test libva:

  git clone git://anongit.freedesktop.org/libva
  cd libva/
  git checkout libva-1.2.1
  ./autogen.sh --prefix=$WLD  # you need to set your installation prefix here
  make -j4 && make install

  cd ../
  git clone git://anongit.freedesktop.org/vaapi/intel-driver
  cd intel-driver/
  git checkout 1.2.1
  ./autogen.sh --prefix=$WLD  # you need to set your installation prefix here
  make -j4 && make install

then on Chromium side, targets have to be build with something like:

  export GYP_DEFINES='chromeos=0 use_ozone=1 proprietary_codecs=1 ffmpeg_branding=Chrome'
  ninja -j16 -C out/Release content

and to run:
  ~/git/chromium/src/out/Release$ ./content_shell --no-sandbox --user-data-dir=/tmp/chrome --ignore-gpu-blacklist ../../third_party/WebKit/PerformanceTests/resources/bear-1280x720.mp4  --vmodule=*/ozone/ui*=3 --v=0

additionally, you can start content_shell with --disable-accelerated-video-decode
to compare the results.
patches: Add Media Ozone Platform support

This patch was already committed upstream and has to be removed once gardening
takes place:

https://codereview.chromium.org/269673005/
patches: Add remaining upstream patches

These patches were lacking in the previous commit. They also will need to get
removed once Chromium version gets updated in here.
Gardening: Update to latest revision.
Enable support for Ash.

Support for ASH is part of Chromium-X11 and we should start using it by
default. This CL adds needed support for enabling ASH and also updated
the README instructions.
Media: Remove un-used wl_display in TFPPicture.
Media: Avoid initializing display connection in VaapiVideoDecodeAccelerator.

VaapiVideoDecodeAccelerator initializes a new Wayland Display connection,
instead it should try to reuse the already existing Display connection.
This patch changes it so that VaapiVideoDecodeAccelerator queries native
display via GetPlatformDefaultEGLNativeDisplay and uses it.