aw: Post SynchronousCompositorClient to UI
commit596f7e7939f195288d621f18302f4cc5a2e97b17
authorboliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 21 Mar 2014 20:03:26 +0000 (21 20:03 +0000)
committerboliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 21 Mar 2014 20:03:26 +0000 (21 20:03 +0000)
tree251d267142090068c60788b2e175d41d02aab28f
parent80f2fa72c7a3fb0c7fca3e29e35d149a6bb100b0
aw: Post SynchronousCompositorClient to UI

Do not assume that the callbacks happen on the UI thread, and instead
post them back to UI thread when needed. For accessors, just
return canned value if it involves the view system, or lock protect the
access if it is not

This is a temporary hack until SynchronousCompositor is moved back to
only accessed on UI thread.

BUG=344087

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258654 0039d316-1c4b-4281-b951-d872f2087c98
android_webview/browser/browser_view_renderer.cc
android_webview/browser/browser_view_renderer.h
android_webview/native/aw_contents.cc