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

Unified Diff: webrtc/modules/desktop_capture/screen_capturer.h

Issue 1909593002: Cleanup webrtc/modules/desktop_capture (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/desktop_capture/screen_capturer.h
diff --git a/webrtc/modules/desktop_capture/screen_capturer.h b/webrtc/modules/desktop_capture/screen_capturer.h
index b4e34887662f0320fcd752cdc85741efda959e4c..48ecc31fbd89f9645a46b5318df4f0d6474fbb49 100644
--- a/webrtc/modules/desktop_capture/screen_capturer.h
+++ b/webrtc/modules/desktop_capture/screen_capturer.h
@@ -48,34 +48,10 @@ class ScreenCapturer : public DesktopCapturer {
};
typedef std::vector<Screen> ScreenList;
- // TODO(sergeyu): Remove this class once all dependencies are removed from
- // chromium.
- class MouseShapeObserver {
- };
-
virtual ~ScreenCapturer() {}
- // Creates platform-specific capturer.
- //
- // TODO(sergeyu): Remove all Create() methods except the first one.
- // crbug.com/172183
+ // Creates a platform-specific capturer.
static ScreenCapturer* Create(const DesktopCaptureOptions& options);
- static ScreenCapturer* Create();
-
-#if defined(WEBRTC_LINUX)
- // Creates platform-specific capturer and instructs it whether it should use
- // X DAMAGE support.
- static ScreenCapturer* CreateWithXDamage(bool use_x_damage);
-#elif defined(WEBRTC_WIN)
- // Creates Windows-specific capturer and instructs it whether or not to
- // disable desktop compositing.
- static ScreenCapturer* CreateWithDisableAero(bool disable_aero);
-#endif // defined(WEBRTC_WIN)
-
- // TODO(sergeyu): Remove this method once all dependencies are removed from
- // chromium.
- virtual void SetMouseShapeObserver(
- MouseShapeObserver* mouse_shape_observer) {};
// Get the list of screens (not containing kFullDesktopScreenId). Returns
// false in case of a failure.
« no previous file with comments | « webrtc/modules/desktop_capture/mouse_cursor_shape.h ('k') | webrtc/modules/desktop_capture/screen_capturer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698