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

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

Issue 4017002: HostMessageDispatcher to parse control messages (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merged again Created 10 years, 1 month 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/client/chromoting_client.h ('k') | remoting/client/host_connection.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/client/chromoting_client.h" 5 #include "remoting/client/chromoting_client.h"
6 6
7 #include "base/message_loop.h" 7 #include "base/message_loop.h"
8 #include "remoting/base/tracer.h" 8 #include "remoting/base/tracer.h"
9 #include "remoting/client/chromoting_view.h" 9 #include "remoting/client/chromoting_view.h"
10 #include "remoting/client/client_context.h" 10 #include "remoting/client/client_context.h"
11 #include "remoting/client/host_connection.h" 11 #include "remoting/client/host_connection.h"
12 #include "remoting/client/input_handler.h" 12 #include "remoting/client/input_handler.h"
13 #include "remoting/client/rectangle_update_decoder.h" 13 #include "remoting/client/rectangle_update_decoder.h"
14 #include "remoting/proto/internal.pb.h"
14 15
15 namespace remoting { 16 namespace remoting {
16 17
17 ChromotingClient::ChromotingClient(const ClientConfig& config, 18 ChromotingClient::ChromotingClient(const ClientConfig& config,
18 ClientContext* context, 19 ClientContext* context,
19 HostConnection* connection, 20 HostConnection* connection,
20 ChromotingView* view, 21 ChromotingView* view,
21 RectangleUpdateDecoder* rectangle_decoder, 22 RectangleUpdateDecoder* rectangle_decoder,
22 InputHandler* input_handler, 23 InputHandler* input_handler,
23 CancelableTask* client_done) 24 CancelableTask* client_done)
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 view_->SetViewport(0, 0, width, height); 216 view_->SetViewport(0, 0, width, height);
216 217
217 // Schedule the input handler to process the event queue. 218 // Schedule the input handler to process the event queue.
218 input_handler_->Initialize(); 219 input_handler_->Initialize();
219 220
220 done->Run(); 221 done->Run();
221 delete done; 222 delete done;
222 } 223 }
223 224
224 } // namespace remoting 225 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/client/chromoting_client.h ('k') | remoting/client/host_connection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698