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

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: Added comments, removed extraneous commented out code, and reformatted. 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"
Lambros 2014/08/05 22:47:25 nit: Blank line after this, as it's logically dist
ronakvora do not use 2014/08/06 20:56:20 Done.
6 #include "base/logging.h"
7 #include "third_party/webrtc/modules/desktop_capture/window_capturer.h"
8
9 namespace remoting {
10
11 WindowCapturerScreenWrapper::WindowCapturerScreenWrapper(
12 scoped_ptr<webrtc::WindowCapturer> window_capturer)
13 : window_capturer_(window_capturer.Pass()) {
14 }
15
16 WindowCapturerScreenWrapper::~WindowCapturerScreenWrapper() {
17 }
18
19 void WindowCapturerScreenWrapper::Start(Callback* callback) {
20 window_capturer_->Start(callback);
21 }
22
23 void WindowCapturerScreenWrapper::Capture(const webrtc::DesktopRegion& region) {
24 window_capturer_->Capture(region);
25 }
26
27 void WindowCapturerScreenWrapper::SetMouseShapeObserver(
28 MouseShapeObserver* mouse_shape_observer) {
29 return;
Lambros 2014/08/05 22:47:25 Should be NOT_IMPLEMENTED() ? nit: remove 'return;
ronakvora do not use 2014/08/06 20:56:20 Right now, we call this method. Is it alright if N
30 }
31 bool WindowCapturerScreenWrapper::GetScreenList(ScreenList* screens) {
Lambros 2014/08/05 22:47:25 nit: Blank line between methods.
ronakvora do not use 2014/08/06 20:56:20 Done.
32 NOTIMPLEMENTED();
33 return false;
34 }
35
36 bool WindowCapturerScreenWrapper::SelectScreen(webrtc::ScreenId id) {
37 NOTIMPLEMENTED();
38 return false;
39 }
40
41 } // namespace remoting
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698