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

Unified Diff: webrtc/modules/desktop_capture/mac/full_screen_chrome_window_detector.h

Issue 2479553006: Remove GetWindowList / GetScreenList and SelectWindow / SelectScreen from WebRTC (Closed)
Patch Set: Resolve review comments Created 4 years, 1 month 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/mac/full_screen_chrome_window_detector.h
diff --git a/webrtc/modules/desktop_capture/mac/full_screen_chrome_window_detector.h b/webrtc/modules/desktop_capture/mac/full_screen_chrome_window_detector.h
index 838966d46ebe82b8e9b293a056136321cc3e4d01..7a10b4203c175b2f8cacfc0bf690cbf3b24a2954 100644
--- a/webrtc/modules/desktop_capture/mac/full_screen_chrome_window_detector.h
+++ b/webrtc/modules/desktop_capture/mac/full_screen_chrome_window_detector.h
@@ -14,7 +14,7 @@
#include <ApplicationServices/ApplicationServices.h>
#include "webrtc/base/constructormagic.h"
-#include "webrtc/modules/desktop_capture/window_capturer.h"
+#include "webrtc/modules/desktop_capture/desktop_capturer.h"
#include "webrtc/system_wrappers/include/atomic32.h"
namespace webrtc {
@@ -57,8 +57,8 @@ class FullScreenChromeWindowDetector {
// |previous_window_list_| is taken at least 500ms before the next Capture()
// call. If we only save the last result, we may get false positive (i.e.
// full-screen window exists in the list) if Capture() is called too soon.
- WindowCapturer::WindowList current_window_list_;
- WindowCapturer::WindowList previous_window_list_;
+ DesktopCapturer::SourceList current_window_list_;
+ DesktopCapturer::SourceList previous_window_list_;
int64_t last_update_time_ns_;
RTC_DISALLOW_COPY_AND_ASSIGN(FullScreenChromeWindowDetector);

Powered by Google App Engine
This is Rietveld 408576698