| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef REMOTING_HOST_CAPTURER_LINUX_H_ | |
| 6 #define REMOTING_HOST_CAPTURER_LINUX_H_ | |
| 7 | |
| 8 #include "base/basictypes.h" | |
| 9 #include "base/memory/scoped_ptr.h" | |
| 10 #include "remoting/host/capturer.h" | |
| 11 | |
| 12 namespace remoting { | |
| 13 | |
| 14 class CapturerLinuxPimpl; | |
| 15 | |
| 16 // A class to perform capturing for Linux. | |
| 17 class CapturerLinux : public Capturer { | |
| 18 public: | |
| 19 CapturerLinux(); | |
| 20 virtual ~CapturerLinux(); | |
| 21 | |
| 22 // Capturer interface. | |
| 23 virtual void ScreenConfigurationChanged(); | |
| 24 virtual media::VideoFrame::Format pixel_format() const; | |
| 25 virtual void ClearInvalidRects(); | |
| 26 virtual void InvalidateRects(const InvalidRects& inval_rects); | |
| 27 virtual void InvalidateScreen(const gfx::Size& size); | |
| 28 virtual void InvalidateFullScreen(); | |
| 29 virtual void CaptureInvalidRects(CaptureCompletedCallback* callback); | |
| 30 virtual const gfx::Size& size_most_recent() const; | |
| 31 | |
| 32 private: | |
| 33 friend class CapturerLinuxPimpl; | |
| 34 | |
| 35 scoped_ptr<CapturerLinuxPimpl> pimpl_; | |
| 36 DISALLOW_COPY_AND_ASSIGN(CapturerLinux); | |
| 37 }; | |
| 38 | |
| 39 } // namespace remoting | |
| 40 | |
| 41 #endif // REMOTING_HOST_CAPTURER_LINUX_H_ | |
| OLD | NEW |