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

Unified Diff: remoting/client/x11_view.h

Issue 2788003: Enable chromoting in the build by default (Closed)
Patch Set: fixed mac Created 10 years, 6 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
« no previous file with comments | « remoting/client/x11_client.cc ('k') | remoting/client/x11_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/x11_view.h
diff --git a/remoting/client/x11_view.h b/remoting/client/x11_view.h
index 1959e1847bc397f55d318e3edd4f5e59ad8eb6fc..f6f8a3db6fde44f1d798a16ac002fa6a01ef67c1 100644
--- a/remoting/client/x11_view.h
+++ b/remoting/client/x11_view.h
@@ -11,6 +11,7 @@
#include "remoting/client/decoder.h"
#include "remoting/client/chromoting_view.h"
+typedef unsigned long XID;
typedef struct _XDisplay Display;
namespace remoting {
@@ -18,7 +19,7 @@ namespace remoting {
// A ChromotingView implemented using X11 and XRender.
class X11View : public ChromotingView {
public:
- X11View(Display* display, int window, int width, int height);
+ X11View(Display* display, XID window, int width, int height);
virtual ~X11View();
@@ -34,13 +35,13 @@ class X11View : public ChromotingView {
void OnDecodeDone();
Display* display_;
- int window_;
+ XID window_;
int width_;
int height_;
// A picture created in the X server that represents drawing area of the
// window.
- int picture_;
+ XID picture_;
scoped_refptr<media::VideoFrame> frame_;
UpdatedRects update_rects_;
« no previous file with comments | « remoting/client/x11_client.cc ('k') | remoting/client/x11_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698