OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 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 #include "remoting/host/window_capturer_screen_wrapper.h" |
| 6 |
| 7 #include "base/logging.h" |
| 8 #include "third_party/webrtc/modules/desktop_capture/window_capturer.h" |
| 9 |
| 10 namespace remoting { |
| 11 |
| 12 WindowCapturerScreenWrapper::WindowCapturerScreenWrapper( |
| 13 scoped_ptr<webrtc::WindowCapturer> window_capturer) |
| 14 : window_capturer_(window_capturer.Pass()) { |
| 15 } |
| 16 |
| 17 WindowCapturerScreenWrapper::~WindowCapturerScreenWrapper() { |
| 18 } |
| 19 |
| 20 void WindowCapturerScreenWrapper::Start(Callback* callback) { |
| 21 window_capturer_->Start(callback); |
| 22 } |
| 23 |
| 24 void WindowCapturerScreenWrapper::Capture(const webrtc::DesktopRegion& region) { |
| 25 window_capturer_->Capture(region); |
| 26 } |
| 27 |
| 28 void WindowCapturerScreenWrapper::SetMouseShapeObserver( |
| 29 MouseShapeObserver* mouse_shape_observer) { |
| 30 // Should we call NOTIMPLEMENTED() if we are calling this method? |
| 31 // NOTIMPLEMENTED(); |
| 32 return; |
| 33 } |
| 34 |
| 35 bool WindowCapturerScreenWrapper::GetScreenList(ScreenList* screens) { |
| 36 NOTIMPLEMENTED(); |
| 37 return false; |
| 38 } |
| 39 |
| 40 bool WindowCapturerScreenWrapper::SelectScreen(webrtc::ScreenId id) { |
| 41 NOTIMPLEMENTED(); |
| 42 return false; |
| 43 } |
| 44 |
| 45 } // namespace remoting |
OLD | NEW |