Chromium Code Reviews

Side by Side Diff: remoting/host/capturer_linux.h

Issue 3013015: Initial pass at integrating Differ into the chromoting host code.... (Closed) Base URL: svn://chrome-svn/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.
Jump to:
View unified diff | | Annotate | Revision Log
« no previous file with comments | « remoting/host/capturer_gdi.cc ('k') | remoting/host/capturer_linux.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_HOST_CAPTURER_LINUX_H_ 5 #ifndef REMOTING_HOST_CAPTURER_LINUX_H_
6 #define REMOTING_HOST_CAPTURER_LINUX_H_ 6 #define REMOTING_HOST_CAPTURER_LINUX_H_
7 7
8 #include "remoting/host/capturer.h" 8 #include "remoting/host/capturer.h"
9 9
10 namespace remoting { 10 namespace remoting {
11 11
12 // A class to perform capturing for Linux. 12 // A class to perform capturing for Linux.
13 class CapturerLinux : public Capturer { 13 class CapturerLinux : public Capturer {
14 public: 14 public:
15 CapturerLinux(); 15 CapturerLinux();
16 virtual ~CapturerLinux(); 16 virtual ~CapturerLinux();
17 17
18 virtual void CaptureRects(const RectVector& rects,
19 CaptureCompletedCallback* callback);
20
21 virtual void ScreenConfigurationChanged(); 18 virtual void ScreenConfigurationChanged();
22 19
23 private: 20 private:
21 virtual void CalculateInvalidRects();
22 virtual void CaptureRects(const InvalidRects& rects,
23 CaptureCompletedCallback* callback);
24 24
25 DISALLOW_COPY_AND_ASSIGN(CapturerLinux); 25 DISALLOW_COPY_AND_ASSIGN(CapturerLinux);
26 }; 26 };
27 27
28 } // namespace remoting 28 } // namespace remoting
29 29
30 #endif // REMOTING_HOST_CAPTURER_LINUX_H_ 30 #endif // REMOTING_HOST_CAPTURER_LINUX_H_
OLDNEW
« no previous file with comments | « remoting/host/capturer_gdi.cc ('k') | remoting/host/capturer_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine