blob: 8e8fcb328550edf1cb3e9b8f725057c60ab1d62d [file] [log] [blame]
// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef REMOTING_HOST_CAPTURER_LINUX_H_
#define REMOTING_HOST_CAPTURER_LINUX_H_
#include "base/basictypes.h"
#include "base/scoped_ptr.h"
#include "remoting/host/capturer.h"
namespace remoting {
class CapturerLinuxPimpl;
// A class to perform capturing for Linux.
class CapturerLinux : public Capturer {
public:
explicit CapturerLinux(MessageLoop* message_loop);
virtual ~CapturerLinux();
virtual void ScreenConfigurationChanged();
private:
friend class CapturerLinuxPimpl;
virtual void CalculateInvalidRects();
virtual void CaptureRects(const InvalidRects& rects,
CaptureCompletedCallback* callback);
scoped_ptr<CapturerLinuxPimpl> pimpl_;
DISALLOW_COPY_AND_ASSIGN(CapturerLinux);
};
} // namespace remoting
#endif // REMOTING_HOST_CAPTURER_LINUX_H_