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

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

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: uploaded to remove lint errors 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 #include "third_party/webrtc/modules/desktop_capture/screen_capturer.h"
Lambros 2014/07/30 00:14:50 Missing copyright notice.
ronakvora do not use 2014/07/30 20:55:37 Done.
2 #include "third_party/webrtc/modules/desktop_capture/window_capturer.h"
3
4 namespace remoting {
5
6 class WindowCapturerScreenWrapper : public ::webrtc::ScreenCapturer {
7 public:
8 explicit WindowCapturerScreenWrapper();
Lambros 2014/07/30 00:14:50 "explicit" not needed.
ronakvora do not use 2014/07/30 20:55:37 Done.
9 virtual ~WindowCapturerScreenWrapper();
10
11 /*
12 // WindowCapturer interface.
13 virtual bool GetWindowList(WindowList* windows);
14 virtual bool BringSelectedWindowToFront();
15 */
16 // WindowCapturer interface.
Lambros 2014/07/30 00:14:50 This is confusing, because this class doesn't actu
ronakvora do not use 2014/07/30 20:55:37 Done.
17 virtual bool SelectWindow(webrtc::WindowId id);
18 virtual void SetWindow(const webrtc::DesktopCaptureOptions& options);
19
20 // DesktopCapturer interface.
21 virtual void Start(DesktopCapturer::Callback* callback) OVERRIDE;
22 virtual void Capture(const webrtc::DesktopRegion& region) OVERRIDE;
23
24 // webrtc::ScreenCapturer interface.
25 virtual void SetMouseShapeObserver(
26 MouseShapeObserver* mouse_shape_observer) OVERRIDE;
27 virtual bool GetScreenList(ScreenList* screens) OVERRIDE;
28 virtual bool SelectScreen(webrtc::ScreenId id) OVERRIDE;
29 static WindowCapturerScreenWrapper* Create();
Lambros 2014/07/30 00:14:50 This method isn't needed. Remove it, and update th
ronakvora do not use 2014/07/30 20:55:37 Done.
30
31 private:
32 webrtc::WindowCapturer* window_capturer_;
33
34 DISALLOW_COPY_AND_ASSIGN(WindowCapturerScreenWrapper);
35 };
36
37
38 } // namespace remoting
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698