Convert view manager to surfaces with uploading shim in client lib

This converts the view manager protocol over to specify view contents via
surfaces instead of shuffling a bitmap. To ease the transition, this provides a
wrapper in the client library that accepts an SkBitmap and uploads it into a
texture wrapped in a surface so existing code still works. Next I'll port the
clients over to providing surfaces themselves and remove this shim.

BUG=

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

Cr-Commit-Position: refs/heads/master@{#294501}


CrOS-Libchrome-Original-Commit: 529c759bf153b8eec2178244ddd3e87e5790b7c4
47 files changed
tree: 52eec370edb51ecf4e516f7c3234a5f79771c5e9
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/