From aa9ca49a54d400d4e5f1fcbedf6ac632b31a2fda Mon Sep 17 00:00:00 2001 From: kelvinp Date: Fri, 7 Nov 2014 15:30:06 -0800 Subject: 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/remoting_host.gypi | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'remoting/remoting_host.gypi') diff --git a/remoting/remoting_host.gypi b/remoting/remoting_host.gypi index 706f9739..60e0c38 100644 --- a/remoting/remoting_host.gypi +++ b/remoting/remoting_host.gypi @@ -90,6 +90,8 @@ 'host/client_session.h', 'host/client_session_control.h', 'host/clipboard.h', + 'host/clipboard_aura.cc', + 'host/clipboard_aura.h', 'host/clipboard_mac.mm', 'host/clipboard_win.cc', 'host/clipboard_x11.cc', @@ -337,10 +339,11 @@ '../third_party/skia/include/utils', ], 'sources!' : [ - 'host/policy_hack/policy_watcher_linux.cc', + 'host/clipboard_x11.cc', 'host/continue_window_linux.cc', 'host/disconnect_window.cc', 'host/disconnect_window_linux.cc', + 'host/policy_hack/policy_watcher_linux.cc', 'host/remoting_me2me_host.cc', ] }, { # chromeos==0 @@ -349,6 +352,8 @@ 'host/chromeos/aura_desktop_capturer.h', 'host/chromeos/message_box.cc', 'host/chromeos/message_box.h', + 'host/clipboard_aura.cc', + 'host/clipboard_aura.h', 'host/continue_window_chromeos.cc', 'host/disconnect_window_chromeos.cc', 'host/policy_hack/policy_watcher_chromeos.cc', -- cgit v1.1