Index: webrtc/modules/desktop_capture/mac/window_list_utils.h |
diff --git a/webrtc/modules/desktop_capture/mac/window_list_utils.h b/webrtc/modules/desktop_capture/mac/window_list_utils.h |
index d56166fe7584b9aa76d08402ae4ab11b4acd3ba6..45acef5a3458e21e4eeccdc090be0e5e7e60e46b 100644 |
--- a/webrtc/modules/desktop_capture/mac/window_list_utils.h |
+++ b/webrtc/modules/desktop_capture/mac/window_list_utils.h |
@@ -13,17 +13,20 @@ |
#include <ApplicationServices/ApplicationServices.h> |
+#include "webrtc/modules/desktop_capture/desktop_capturer.h" |
#include "webrtc/modules/desktop_capture/mac/desktop_configuration.h" |
-#include "webrtc/modules/desktop_capture/window_capturer.h" |
namespace webrtc { |
// A helper function to get the on-screen windows. |
-bool GetWindowList(WindowCapturer::WindowList* windows); |
+bool GetWindowList(DesktopCapturer::SourceList* windows); |
+ |
+// Another helper function to get the on-screen windows with more controls. |
+bool GetWindowList(DesktopCapturer::SourceList* windows, bool ignore_minimized); |
// Returns true if the window is occupying a full screen. |
bool IsWindowFullScreen(const MacDesktopConfiguration& desktop_config, |
- CFDictionaryRef window); |
+ CFDictionaryRef window); |
// Returns true if the window is minimized. |
bool IsWindowMinimized(CGWindowID id); |