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

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

Issue 8536002: Cleanup: Remove unneeded forward declarations from remoting. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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/frame_consumer.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef REMOTING_CLIENT_CHROMOTING_VIEW_H_ 5 #ifndef REMOTING_CLIENT_CHROMOTING_VIEW_H_
6 #define REMOTING_CLIENT_CHROMOTING_VIEW_H_ 6 #define REMOTING_CLIENT_CHROMOTING_VIEW_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "media/base/video_frame.h" 11 #include "media/base/video_frame.h"
12 #include "remoting/protocol/connection_to_host.h" 12 #include "remoting/protocol/connection_to_host.h"
13 13
14 class MessageLoop;
15
16 namespace base {
17 class WaitableEvent;
18 } // namespace base
19
20 namespace remoting { 14 namespace remoting {
21 15
22 static const uint32 kCreatedColor = 0xffccccff; 16 static const uint32 kCreatedColor = 0xffccccff;
23 static const uint32 kDisconnectedColor = 0xff00ccff; 17 static const uint32 kDisconnectedColor = 0xff00ccff;
24 static const uint32 kFailedColor = 0xffcc00ff; 18 static const uint32 kFailedColor = 0xffcc00ff;
25 19
26 // ChromotingView defines the behavior of an object that draws a view of the 20 // ChromotingView defines the behavior of an object that draws a view of the
27 // remote desktop. Its main function is to render the update stream onto the 21 // remote desktop. Its main function is to render the update stream onto the
28 // screen. 22 // screen.
29 class ChromotingView { 23 class ChromotingView {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 scoped_refptr<media::VideoFrame> frame_; 61 scoped_refptr<media::VideoFrame> frame_;
68 62
69 // Dimensions of |frame_| bitmap. 63 // Dimensions of |frame_| bitmap.
70 int frame_width_; 64 int frame_width_;
71 int frame_height_; 65 int frame_height_;
72 }; 66 };
73 67
74 } // namespace remoting 68 } // namespace remoting
75 69
76 #endif // REMOTING_CLIENT_CHROMOTING_VIEW_H_ 70 #endif // REMOTING_CLIENT_CHROMOTING_VIEW_H_
OLDNEW
« no previous file with comments | « remoting/client/chromoting_client.h ('k') | remoting/client/frame_consumer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698