| Index: remoting/host/capturer_gdi.h
|
| ===================================================================
|
| --- remoting/host/capturer_gdi.h (revision 55264)
|
| +++ remoting/host/capturer_gdi.h (working copy)
|
| @@ -12,6 +12,8 @@
|
|
|
| namespace remoting {
|
|
|
| +class Differ;
|
| +
|
| // CapturerGdi captures 32bit RGB using GDI.
|
| //
|
| // CapturerGdi is doubled buffered as required by Capturer. See
|
| @@ -21,11 +23,13 @@
|
| CapturerGdi();
|
| virtual ~CapturerGdi();
|
|
|
| - virtual void CaptureRects(const RectVector& rects,
|
| - CaptureCompletedCallback* callback);
|
| virtual void ScreenConfigurationChanged();
|
|
|
| private:
|
| + virtual void CalculateInvalidRects();
|
| + virtual void CaptureRects(const InvalidRects& rects,
|
| + CaptureCompletedCallback* callback);
|
| +
|
| void ReleaseBuffers();
|
| // Generates an image in the current buffer.
|
| void CaptureImage();
|
| @@ -38,6 +42,12 @@
|
| // We have two buffers for the screen images as required by Capturer.
|
| void* buffers_[kNumBuffers];
|
|
|
| + // Class to calculate the difference between two screen bitmaps.
|
| + scoped_ptr<Differ> differ_;
|
| +
|
| + // True if we should force a fullscreen capture.
|
| + bool capture_fullscreen_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(CapturerGdi);
|
| };
|
|
|
|
|