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

Side by Side Diff: remoting/host/desktop_environment.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/desktop_environment.h ('k') | remoting/host/event_executor.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/desktop_environment.h" 5 #include "remoting/host/desktop_environment.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "remoting/host/capturer.h" 9 #include "remoting/host/capturer.h"
10 #include "remoting/host/chromoting_host_context.h" 10 #include "remoting/host/chromoting_host_context.h"
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 scoped_ptr<Capturer> capturer, 79 scoped_ptr<Capturer> capturer,
80 scoped_ptr<EventExecutor> event_executor) 80 scoped_ptr<EventExecutor> event_executor)
81 : context_(context), 81 : context_(context),
82 capturer_(capturer.Pass()), 82 capturer_(capturer.Pass()),
83 event_executor_(event_executor.Pass()) { 83 event_executor_(event_executor.Pass()) {
84 } 84 }
85 85
86 DesktopEnvironment::~DesktopEnvironment() { 86 DesktopEnvironment::~DesktopEnvironment() {
87 } 87 }
88 88
89 void DesktopEnvironment::OnSessionStarted() { 89 void DesktopEnvironment::OnSessionStarted(
90 event_executor_->OnSessionStarted(); 90 scoped_ptr<protocol::ClipboardStub> client_clipboard) {
91 event_executor_->OnSessionStarted(client_clipboard.Pass());
91 } 92 }
92 93
93 void DesktopEnvironment::OnSessionFinished() { 94 void DesktopEnvironment::OnSessionFinished() {
94 event_executor_->OnSessionFinished(); 95 event_executor_->OnSessionFinished();
95 } 96 }
96 97
97 } // namespace remoting 98 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/desktop_environment.h ('k') | remoting/host/event_executor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698