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

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

Issue 3141036: Revert 57112 - Rename (Host|Client)Message to Chromoting(Host|Client)Message.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 4 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/client/x11_input_handler.cc ('k') | remoting/client/x11_view.cc » ('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 #ifndef REMOTING_CLIENT_X11_VIEW_H_ 5 #ifndef REMOTING_CLIENT_X11_VIEW_H_
6 #define REMOTING_CLIENT_X11_VIEW_H_ 6 #define REMOTING_CLIENT_X11_VIEW_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/scoped_ptr.h" 9 #include "base/scoped_ptr.h"
10 #include "media/base/video_frame.h" 10 #include "media/base/video_frame.h"
(...skipping 14 matching lines...) Expand all
25 virtual ~X11View(); 25 virtual ~X11View();
26 26
27 // ChromotingView implementations. 27 // ChromotingView implementations.
28 virtual bool Initialize(); 28 virtual bool Initialize();
29 virtual void TearDown(); 29 virtual void TearDown();
30 virtual void Paint(); 30 virtual void Paint();
31 virtual void SetSolidFill(uint32 color); 31 virtual void SetSolidFill(uint32 color);
32 virtual void UnsetSolidFill(); 32 virtual void UnsetSolidFill();
33 virtual void SetViewport(int x, int y, int width, int height); 33 virtual void SetViewport(int x, int y, int width, int height);
34 virtual void SetHostScreenSize(int width, int height); 34 virtual void SetHostScreenSize(int width, int height);
35 virtual void HandleBeginUpdateStream(ChromotingHostMessage* msg); 35 virtual void HandleBeginUpdateStream(HostMessage* msg);
36 virtual void HandleUpdateStreamPacket(ChromotingHostMessage* msg); 36 virtual void HandleUpdateStreamPacket(HostMessage* msg);
37 virtual void HandleEndUpdateStream(ChromotingHostMessage* msg) ; 37 virtual void HandleEndUpdateStream(HostMessage* msg) ;
38 38
39 Display* display() { return display_; } 39 Display* display() { return display_; }
40 40
41 private: 41 private:
42 void InitPaintTarget(); 42 void InitPaintTarget();
43 void OnPartialDecodeDone(); 43 void OnPartialDecodeDone();
44 void OnDecodeDone(); 44 void OnDecodeDone();
45 45
46 Display* display_; 46 Display* display_;
47 XID window_; 47 XID window_;
(...skipping 11 matching lines...) Expand all
59 scoped_ptr<Decoder> decoder_; 59 scoped_ptr<Decoder> decoder_;
60 60
61 DISALLOW_COPY_AND_ASSIGN(X11View); 61 DISALLOW_COPY_AND_ASSIGN(X11View);
62 }; 62 };
63 63
64 } // namespace remoting 64 } // namespace remoting
65 65
66 DISABLE_RUNNABLE_METHOD_REFCOUNT(remoting::X11View); 66 DISABLE_RUNNABLE_METHOD_REFCOUNT(remoting::X11View);
67 67
68 #endif // REMOTING_CLIENT_X11_VIEW_H_ 68 #endif // REMOTING_CLIENT_X11_VIEW_H_
OLDNEW
« no previous file with comments | « remoting/client/x11_input_handler.cc ('k') | remoting/client/x11_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698