| Index: remoting/host/window_capturer_screen_wrapper.cc
|
| diff --git a/remoting/host/window_capturer_screen_wrapper.cc b/remoting/host/window_capturer_screen_wrapper.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..55b28447731ea09e071d67ce453e21ef1cdb89e2
|
| --- /dev/null
|
| +++ b/remoting/host/window_capturer_screen_wrapper.cc
|
| @@ -0,0 +1,45 @@
|
| +// Copyright 2014 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.
|
| +
|
| +#include "remoting/host/window_capturer_screen_wrapper.h"
|
| +
|
| +#include "base/logging.h"
|
| +#include "third_party/webrtc/modules/desktop_capture/window_capturer.h"
|
| +
|
| +namespace remoting {
|
| +
|
| +WindowCapturerScreenWrapper::WindowCapturerScreenWrapper(
|
| + scoped_ptr<webrtc::WindowCapturer> window_capturer)
|
| + : window_capturer_(window_capturer.Pass()) {
|
| +}
|
| +
|
| +WindowCapturerScreenWrapper::~WindowCapturerScreenWrapper() {
|
| +}
|
| +
|
| +void WindowCapturerScreenWrapper::Start(Callback* callback) {
|
| + window_capturer_->Start(callback);
|
| +}
|
| +
|
| +void WindowCapturerScreenWrapper::Capture(const webrtc::DesktopRegion& region) {
|
| + window_capturer_->Capture(region);
|
| +}
|
| +
|
| +void WindowCapturerScreenWrapper::SetMouseShapeObserver(
|
| + MouseShapeObserver* mouse_shape_observer) {
|
| + // Should we call NOTIMPLEMENTED() if we are calling this method?
|
| + // NOTIMPLEMENTED();
|
| + return;
|
| +}
|
| +
|
| +bool WindowCapturerScreenWrapper::GetScreenList(ScreenList* screens) {
|
| + NOTIMPLEMENTED();
|
| + return false;
|
| +}
|
| +
|
| +bool WindowCapturerScreenWrapper::SelectScreen(webrtc::ScreenId id) {
|
| + NOTIMPLEMENTED();
|
| + return false;
|
| +}
|
| +
|
| +} // namespace remoting
|
|
|