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

Side by Side Diff: remoting/client/chromoting_client.h

Issue 10399052: [Chromoting] Add a filter that will stop the host sending unnecessary clipboard events to the clien… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | remoting/host/client_session.h » ('j') | remoting/host/client_session.cc » ('J')
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 // ChromotingClient is the controller for the Client implementation. 5 // ChromotingClient is the controller for the Client implementation.
6 6
7 #ifndef REMOTING_CLIENT_CHROMOTING_CLIENT_H_ 7 #ifndef REMOTING_CLIENT_CHROMOTING_CLIENT_H_
8 #define REMOTING_CLIENT_CHROMOTING_CLIENT_H_ 8 #define REMOTING_CLIENT_CHROMOTING_CLIENT_H_
9 9
10 #include <list> 10 #include <list>
(...skipping 14 matching lines...) Expand all
25 class MessageLoop; 25 class MessageLoop;
26 26
27 namespace remoting { 27 namespace remoting {
28 28
29 class ClientContext; 29 class ClientContext;
30 class RectangleUpdateDecoder; 30 class RectangleUpdateDecoder;
31 31
32 // TODO(sergeyu): Move VideoStub implementation to RectangleUpdateDecoder. 32 // TODO(sergeyu): Move VideoStub implementation to RectangleUpdateDecoder.
33 class ChromotingClient : public protocol::ConnectionToHost::HostEventCallback, 33 class ChromotingClient : public protocol::ConnectionToHost::HostEventCallback,
34 public protocol::ClientStub, 34 public protocol::ClientStub,
35 public protocol::ClipboardStub,
36 public protocol::VideoStub { 35 public protocol::VideoStub {
37 public: 36 public:
38 // Objects passed in are not owned by this class. 37 // Objects passed in are not owned by this class.
39 ChromotingClient(const ClientConfig& config, 38 ChromotingClient(const ClientConfig& config,
40 ClientContext* context, 39 ClientContext* context,
41 protocol::ConnectionToHost* connection, 40 protocol::ConnectionToHost* connection,
42 ChromotingView* view, 41 ChromotingView* view,
43 RectangleUpdateDecoder* rectangle_decoder, 42 RectangleUpdateDecoder* rectangle_decoder,
44 const base::Closure& client_done); 43 const base::Closure& client_done);
45 virtual ~ChromotingClient(); 44 virtual ~ChromotingClient();
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 int64 last_sequence_number_; 116 int64 last_sequence_number_;
118 117
119 ScopedThreadProxy thread_proxy_; 118 ScopedThreadProxy thread_proxy_;
120 119
121 DISALLOW_COPY_AND_ASSIGN(ChromotingClient); 120 DISALLOW_COPY_AND_ASSIGN(ChromotingClient);
122 }; 121 };
123 122
124 } // namespace remoting 123 } // namespace remoting
125 124
126 #endif // REMOTING_CLIENT_CHROMOTING_CLIENT_H_ 125 #endif // REMOTING_CLIENT_CHROMOTING_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | remoting/host/client_session.h » ('j') | remoting/host/client_session.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698