Remote assistance on Chrome OS Part VII - Clipboard Injection
commitaa9ca49a54d400d4e5f1fcbedf6ac632b31a2fda
authorkelvinp <kelvinp@chromium.org>
Fri, 7 Nov 2014 23:30:06 +0000 (7 15:30 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 7 Nov 2014 23:30:49 +0000 (7 23:30 +0000)
treecaeb14bf7316dbe62cb5ef9badea54649b0b7e4b
parentec55a85845f0e3721f929d5effd6a2d1f4a7368c
Remote assistance on Chrome OS Part VII - Clipboard Injection

On Chrome OS, the clipboard is managed by aura instead of the underlying
native platform (e.g. x11, ozone, etc).

This CL introduces a class that
1) Monitors the aura clipboard on the host for changes and notifies the client clipboard.
2) Provides an interface to inject clipboard event into aura.

The public API of this class can be called in any thread as internally it
always posts the call to the |ui_task_runner|.  On ChromeOS, that should
be the UI thread of the browser process.

BUG=424717

Committed: https://crrev.com/7a468734170979bca9e48590267d2d123f0c0f84
Cr-Commit-Position: refs/heads/master@{#303168}

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

Cr-Commit-Position: refs/heads/master@{#303323}
remoting/host/clipboard_aura.cc [new file with mode: 0644]
remoting/host/clipboard_aura.h [new file with mode: 0644]
remoting/host/clipboard_aura_unittest.cc [new file with mode: 0644]
remoting/remoting_host.gypi
remoting/remoting_test.gypi