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

Unified Diff: remoting/client/x11_view.h

Issue 2861047: Refactor the client code. Move all x11-related code into X11View and create... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: remoting/client/x11_view.h
===================================================================
--- remoting/client/x11_view.h (revision 52921)
+++ remoting/client/x11_view.h (working copy)
@@ -19,20 +19,25 @@
// A ChromotingView implemented using X11 and XRender.
class X11View : public ChromotingView {
public:
+ X11View(); // Delete this.
X11View(Display* display, XID window, int width, int height);
virtual ~X11View();
// ChromotingView implementations.
+ virtual bool Initialize();
+ virtual void TearDown();
virtual void Paint();
virtual void SetSolidFill(uint32 color);
virtual void UnsetSolidFill();
virtual void SetViewport(int x, int y, int width, int height);
- virtual void SetBackingStoreSize(int width, int height);
+ virtual void SetHostScreenSize(int width, int height);
virtual void HandleBeginUpdateStream(HostMessage* msg);
virtual void HandleUpdateStreamPacket(HostMessage* msg);
virtual void HandleEndUpdateStream(HostMessage* msg) ;
+ Display* display() { return display_; }
+
private:
void InitPaintTarget();
void OnPartialDecodeDone();
Property changes on: remoting/client/x11_view.h
___________________________________________________________________
Added: svn:eol-style
+ LF

Powered by Google App Engine
This is Rietveld 408576698