diff options
Diffstat (limited to 'remoting/client/x11_view.h')
-rw-r--r-- | remoting/client/x11_view.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/remoting/client/x11_view.h b/remoting/client/x11_view.h index 1a76cb3..73e63c7 100644 --- a/remoting/client/x11_view.h +++ b/remoting/client/x11_view.h @@ -19,20 +19,25 @@ namespace remoting { // 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(); |