OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef REMOTING_HOST_CAPTURER_MAC_H_ |
| 6 #define REMOTING_HOST_CAPTURER_MAC_H_ |
| 7 |
| 8 #include "remoting/host/capturer.h" |
| 9 |
| 10 namespace remoting { |
| 11 |
| 12 // A class to perform capturing for mac. |
| 13 class CapturerMac : public Capturer { |
| 14 public: |
| 15 CapturerMac(); |
| 16 virtual ~CapturerMac(); |
| 17 |
| 18 virtual void CaptureFullScreen(Task* done_task); |
| 19 virtual void CaptureDirtyRects(Task* done_task); |
| 20 virtual void CaptureRect(const gfx::Rect& rect, Task* done_task); |
| 21 virtual void GetData(const uint8* planes[]) const; |
| 22 virtual void GetDataStride(int strides[]) const; |
| 23 |
| 24 private: |
| 25 // Generates an image in the current buffer. |
| 26 void CaptureImage(); |
| 27 |
| 28 DISALLOW_COPY_AND_ASSIGN(CapturerMac); |
| 29 }; |
| 30 |
| 31 } // namespace remoting |
| 32 |
| 33 #endif // REMOTING_HOST_CAPTURER_MAC_H_ |
OLD | NEW |