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

Side by Side Diff: remoting/host/session_event_executor_win.cc

Issue 10413060: [Chromoting] Let the Windows IT2Me host send clipboard events to the client. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Correct fix. Created 8 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « remoting/host/session_event_executor_win.h ('k') | remoting/protocol/clipboard_thread_proxy.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "remoting/host/session_event_executor_win.h" 5 #include "remoting/host/session_event_executor_win.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 channel_name, 61 channel_name,
62 IPC::Channel::MODE_CLIENT, 62 IPC::Channel::MODE_CLIENT,
63 this, 63 this,
64 io_message_loop)); 64 io_message_loop));
65 } 65 }
66 } 66 }
67 67
68 SessionEventExecutorWin::~SessionEventExecutorWin() { 68 SessionEventExecutorWin::~SessionEventExecutorWin() {
69 } 69 }
70 70
71 void SessionEventExecutorWin::OnSessionStarted() { 71 void SessionEventExecutorWin::OnSessionStarted(
72 scoped_ptr<protocol::ClipboardStub> client_clipboard) {
72 // TODO(simonmorris): Delegate to the nested executor. 73 // TODO(simonmorris): Delegate to the nested executor.
73 } 74 }
74 75
75 void SessionEventExecutorWin::OnSessionFinished() { 76 void SessionEventExecutorWin::OnSessionFinished() {
76 // TODO(simonmorris): Delegate to the nested executor. 77 // TODO(simonmorris): Delegate to the nested executor.
77 } 78 }
78 79
79 void SessionEventExecutorWin::InjectClipboardEvent( 80 void SessionEventExecutorWin::InjectClipboardEvent(
80 const ClipboardEvent& event) { 81 const ClipboardEvent& event) {
81 // TODO(simonmorris): Delegate to the nested executor. 82 // TODO(simonmorris): Delegate to the nested executor.
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 // one. 136 // one.
136 scoped_ptr<DesktopWin> input_desktop = DesktopWin::GetInputDesktop(); 137 scoped_ptr<DesktopWin> input_desktop = DesktopWin::GetInputDesktop();
137 if (input_desktop.get() != NULL && !desktop_.IsSame(*input_desktop)) { 138 if (input_desktop.get() != NULL && !desktop_.IsSame(*input_desktop)) {
138 // If SetThreadDesktop() fails, the thread is still assigned a desktop. 139 // If SetThreadDesktop() fails, the thread is still assigned a desktop.
139 // So we can continue capture screen bits, just from a diffected desktop. 140 // So we can continue capture screen bits, just from a diffected desktop.
140 desktop_.SetThreadDesktop(input_desktop.Pass()); 141 desktop_.SetThreadDesktop(input_desktop.Pass());
141 } 142 }
142 } 143 }
143 144
144 } // namespace remoting 145 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/session_event_executor_win.h ('k') | remoting/protocol/clipboard_thread_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698