Have mojo_shell run in its custom thread on android.
commit86a03daabe6e9ca8e203b48cc39b190e49bdba46
authorqsr@chromium.org <qsr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 17 Jul 2014 13:01:51 +0000 (17 13:01 +0000)
committerqsr@chromium.org <qsr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 17 Jul 2014 13:01:51 +0000 (17 13:01 +0000)
treef67f3db5f918bea54654516df22c5363f3276af1
parentc81f5b20472512792be6b2e866a730c06a21ac3b
Have mojo_shell run in its custom thread on android.

The native viewport service on android must run on the main thread
of the application. Because it is expected at the moment to run on
its own thread, this CL move the shell thread on android to a
secondary background thread and use the main thread of the
application for the native viewport service.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283764 0039d316-1c4b-4281-b951-d872f2087c98
12 files changed:
mojo/mojo.gyp
mojo/shell/android/apk/src/org/chromium/mojo_shell_apk/MojoMain.java
mojo/shell/android/apk/src/org/chromium/mojo_shell_apk/MojoShellActivity.java
mojo/shell/android/mojo_main.cc
mojo/shell/context.cc
mojo/shell/context.h
mojo/shell/dbus_service_loader_linux.cc
mojo/shell/keep_alive.cc
mojo/shell/task_runners.cc
mojo/shell/task_runners.h
mojo/shell/ui_service_loader_android.cc [new file with mode: 0644]
mojo/shell/ui_service_loader_android.h [new file with mode: 0644]