Convert clipboard_messages from IPC to Mojo.

Convert all of the IPC messages in content/common/clipboard_messages.h
to Mojo. This CL includes a number of changes as a result:

- Remove the Dispatch of messages for OS_WIN on the IO thread. The requirement
  to do this seems to be inspired by deadlocks with NPAPI plugins, but as
  NPAPI is now persona non grata we can remove this and all the code that
  existed to support it.
- interstitial page test was inserting a message_filter to intercept write calls
  to the clipboard - replace this with a ClipboardObserver and have the
  test_clipboard fire the event for observation. This also caused TSAN failures,
  so we can re-enable the cut test under TSAN now.
- Remove the clipboard delegate entirely, and move some logic to write
  images to shared memory for transport to the impl file now.

Bug: 775830, 631322
Cq-Include-Trybots: master.tryserver.chromium.linux:linux_site_isolation
Change-Id: I35c6238a41190b3bc82e0cfab7bbfe4325a3be21
Reviewed-on: https://chromium-review.googlesource.com/752861
Commit-Queue: Stuart Langley <slangley@chromium.org>
Reviewed-by: John Abd-El-Malek <jam@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Sam McNally <sammc@chromium.org>
Cr-Commit-Position: refs/heads/master@{#519040}

CrOS-Libchrome-Original-Commit: e830001af5df676765a3cf3567053e4eb342c232
1 file changed
tree: 5d8faf7dbd4bc6e63b535b82c5f364c80d92286b
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/