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

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

Issue 2840036: Moving Encoder and Decoder to remoting/base (Closed)
Patch Set: fix DEPS 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 unified diff | Download patch
« no previous file with comments | « remoting/client/x11_view.h ('k') | remoting/host/capturer.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) 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 #include "remoting/client/x11_view.h" 5 #include "remoting/client/x11_view.h"
6 6
7 #include <X11/Xlib.h> 7 #include <X11/Xlib.h>
8 #include <X11/Xutil.h> 8 #include <X11/Xutil.h>
9 #include <X11/extensions/Xrender.h> 9 #include <X11/extensions/Xrender.h>
10 #include <X11/extensions/Xcomposite.h> 10 #include <X11/extensions/Xcomposite.h>
11 11
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "remoting/client/decoder_verbatim.h" 13 #include "remoting/base/decoder_verbatim.h"
14 14
15 namespace remoting { 15 namespace remoting {
16 16
17 X11View::X11View() 17 X11View::X11View()
18 : display_(NULL), 18 : display_(NULL),
19 window_(0), 19 window_(0),
20 width_(0), 20 width_(0),
21 height_(0), 21 height_(0),
22 picture_(0) { 22 picture_(0) {
23 } 23 }
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 XEvent event; 211 XEvent event;
212 event.type = Expose; 212 event.type = Expose;
213 XSendEvent(display_, static_cast<int>(window_), true, ExposureMask, &event); 213 XSendEvent(display_, static_cast<int>(window_), true, ExposureMask, &event);
214 } 214 }
215 215
216 void X11View::OnDecodeDone() { 216 void X11View::OnDecodeDone() {
217 // Since we do synchronous decoding here there's nothing in this method. 217 // Since we do synchronous decoding here there's nothing in this method.
218 } 218 }
219 219
220 } // namespace remoting 220 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/client/x11_view.h ('k') | remoting/host/capturer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698