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

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: Sync. 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') | 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 // 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 18 matching lines...) Expand all
29 namespace protocol { 29 namespace protocol {
30 class TransportFactory; 30 class TransportFactory;
31 } // namespace protocol 31 } // namespace protocol
32 32
33 class ClientContext; 33 class ClientContext;
34 class RectangleUpdateDecoder; 34 class RectangleUpdateDecoder;
35 35
36 // TODO(sergeyu): Move VideoStub implementation to RectangleUpdateDecoder. 36 // TODO(sergeyu): Move VideoStub implementation to RectangleUpdateDecoder.
37 class ChromotingClient : public protocol::ConnectionToHost::HostEventCallback, 37 class ChromotingClient : public protocol::ConnectionToHost::HostEventCallback,
38 public protocol::ClientStub, 38 public protocol::ClientStub,
39 public protocol::ClipboardStub,
40 public protocol::VideoStub { 39 public protocol::VideoStub {
41 public: 40 public:
42 // Objects passed in are not owned by this class. 41 // Objects passed in are not owned by this class.
43 ChromotingClient(const ClientConfig& config, 42 ChromotingClient(const ClientConfig& config,
44 ClientContext* context, 43 ClientContext* context,
45 protocol::ConnectionToHost* connection, 44 protocol::ConnectionToHost* connection,
46 ChromotingView* view, 45 ChromotingView* view,
47 RectangleUpdateDecoder* rectangle_decoder, 46 RectangleUpdateDecoder* rectangle_decoder,
48 const base::Closure& client_done); 47 const base::Closure& client_done);
49 virtual ~ChromotingClient(); 48 virtual ~ChromotingClient();
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 int64 last_sequence_number_; 121 int64 last_sequence_number_;
123 122
124 ScopedThreadProxy thread_proxy_; 123 ScopedThreadProxy thread_proxy_;
125 124
126 DISALLOW_COPY_AND_ASSIGN(ChromotingClient); 125 DISALLOW_COPY_AND_ASSIGN(ChromotingClient);
127 }; 126 };
128 127
129 } // namespace remoting 128 } // namespace remoting
130 129
131 #endif // REMOTING_CLIENT_CHROMOTING_CLIENT_H_ 130 #endif // REMOTING_CLIENT_CHROMOTING_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | remoting/host/client_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698