Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(553)

Side by Side Diff: remoting/host/window_capturer_screen_wrapper.cc

Issue 422503004: Adding ability to stream windows and inject events to them (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Small nit changes Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698