Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 | |
| OLD | NEW |