chromium/third_party/webrtc/modules/desktop_capture/cropping_window_capturer.cc

/*
 *  Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
 *
 *  Use of this source code is governed by a BSD-style license
 *  that can be found in the LICENSE file in the root of the source
 *  tree. An additional intellectual property rights grant can be found
 *  in the file PATENTS.  All contributing project authors may
 *  be found in the AUTHORS file in the root of the source tree.
 */

#include "modules/desktop_capture/cropping_window_capturer.h"

#include <stddef.h>

#include <utility>

#include "modules/desktop_capture/cropped_desktop_frame.h"
#include "rtc_base/logging.h"

namespace webrtc {

CroppingWindowCapturer::CroppingWindowCapturer(
    const DesktopCaptureOptions& options)
    :{}

CroppingWindowCapturer::~CroppingWindowCapturer() {}

void CroppingWindowCapturer::Start(DesktopCapturer::Callback* callback) {}

void CroppingWindowCapturer::SetSharedMemoryFactory(
    std::unique_ptr<SharedMemoryFactory> shared_memory_factory) {}

void CroppingWindowCapturer::CaptureFrame() {}

void CroppingWindowCapturer::SetExcludedWindow(WindowId window) {}

bool CroppingWindowCapturer::GetSourceList(SourceList* sources) {}

bool CroppingWindowCapturer::SelectSource(SourceId id) {}

bool CroppingWindowCapturer::FocusOnSelectedSource() {}

void CroppingWindowCapturer::OnCaptureResult(
    DesktopCapturer::Result result,
    std::unique_ptr<DesktopFrame> screen_frame) {}

bool CroppingWindowCapturer::IsOccluded(const DesktopVector& pos) {}

#if !defined(WEBRTC_WIN)
// CroppingWindowCapturer is implemented only for windows. On other platforms
// the regular window capturer is used.
// static
std::unique_ptr<DesktopCapturer> CroppingWindowCapturer::CreateCapturer(
    const DesktopCaptureOptions& options) {}
#endif

}  // namespace webrtc