Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(223)

Unified Diff: remoting/host/desktop_environment.cc

Issue 10381115: [Chromoting] The Windows IT2Me host gets any new text items it finds on the clipboard. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move ClipboardWin to the UI thread, and tidy up. Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/host/desktop_environment.cc
diff --git a/remoting/host/desktop_environment.cc b/remoting/host/desktop_environment.cc
index 412c27ed89e85b19c9e9b475a1f15e018ba136d0..4b5c5c1a120e930cdee2a9f7632bd9b82ce2ec73 100644
--- a/remoting/host/desktop_environment.cc
+++ b/remoting/host/desktop_environment.cc
@@ -22,7 +22,9 @@ scoped_ptr<DesktopEnvironment> DesktopEnvironment::Create(
ChromotingHostContext* context) {
scoped_ptr<Capturer> capturer(Capturer::Create());
scoped_ptr<EventExecutor> event_executor =
- EventExecutor::Create(context->desktop_message_loop(), capturer.get());
+ EventExecutor::Create(context->desktop_message_loop(),
+ context->ui_message_loop(),
+ capturer.get());
if (capturer.get() == NULL || event_executor.get() == NULL) {
LOG(ERROR) << "Unable to create DesktopEnvironment";
@@ -40,7 +42,9 @@ scoped_ptr<DesktopEnvironment> DesktopEnvironment::CreateForService(
ChromotingHostContext* context) {
scoped_ptr<Capturer> capturer(Capturer::Create());
scoped_ptr<EventExecutor> event_executor =
- EventExecutor::Create(context->desktop_message_loop(), capturer.get());
+ EventExecutor::Create(context->desktop_message_loop(),
+ context->ui_message_loop(),
+ capturer.get());
if (capturer.get() == NULL || event_executor.get() == NULL) {
LOG(ERROR) << "Unable to create DesktopEnvironment";

Powered by Google App Engine
This is Rietveld 408576698