[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 M37.
[Temp] Backport r279857 from upstream.

This is a build fix for the WebRTC disabled case.

  socket_dispatcher_host.h uses webrtc, skip when webrtc is disabled

  https://codereview.chromium.org/264793017 added some webrtc specific
  code to socket_dispatcher_host.h, and it only appears to be used for
  webrtc as far as I can see. So we should only include this file
  elsewhere when webrtc is enabled.

  BUG=363459
  TEST=build with enable_webrtc=0

  Review URL: https://codereview.chromium.org/345823003
[Temp] Backport r283541 from upstream.

This is another build fix for the WebRTC disabled case.

  content_renderer: Depend on libyuv even if WebRTC is not enabled.

  video_decoder_shim.cc uses libyuv, and the build fails if we're not
  building in component=shared_library mode and enable_webrtc=0:

  In file included from ../../third_party/libyuv/include/libyuv.h:15:0,
                   from ../../content/renderer/pepper/video_decoder_shim.cc:25:
  ../../third_party/libyuv/include/libyuv/compare.h:14:32: fatal error: libyuv/basic_types.h: No such file or directory
   #include "libyuv/basic_types.h"
                                  ^

  R=dmichael@chromium.org, bbudge@chromium.org

  Review URL: https://codereview.chromium.org/393813002
[Temp][Android] Fix 8c2a8abc.

An indentation error was introduced when that commit was reworked for
M37. Fix it by trying to make its logic work with Chromium r277050
[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] Implement ScreenOrientation.unlock align with spec

This is for compliance with ScreenOrientation
(https://w3c.github.io/screen-orientation).

When unlock screen orientation, it should lock the orientation
to default orientation.
Previous implementation is to set the orientation to "unspecified",
which is not fully aligned with spec.

Instead, read the configuration from the activity metadata in
AndroidManifest.xml and set the orientation accordingly.

BUG=394214

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284396 0039d316-1c4b-4281-b951-d872f2087c98
(cherry picked from commit 11420f58b5bd1ea957624f482ec0c8b45245ab14)