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 7be38506bbae6e89cf1f7e7381122bc42f8ca1ce..d56166fe7584b9aa76d08402ae4ab11b4acd3ba6 100644 |
--- a/webrtc/modules/desktop_capture/mac/window_list_utils.h |
+++ b/webrtc/modules/desktop_capture/mac/window_list_utils.h |
@@ -11,6 +11,9 @@ |
#ifndef WEBRTC_MODULES_DESKTOP_CAPTURE_WINDOW_LIST_UTILS_H_ |
#define WEBRTC_MODULES_DESKTOP_CAPTURE_WINDOW_LIST_UTILS_H_ |
+#include <ApplicationServices/ApplicationServices.h> |
+ |
+#include "webrtc/modules/desktop_capture/mac/desktop_configuration.h" |
#include "webrtc/modules/desktop_capture/window_capturer.h" |
namespace webrtc { |
@@ -18,6 +21,14 @@ namespace webrtc { |
// A helper function to get the on-screen windows. |
bool GetWindowList(WindowCapturer::WindowList* windows); |
+// Returns true if the window is occupying a full screen. |
+bool IsWindowFullScreen(const MacDesktopConfiguration& desktop_config, |
+ CFDictionaryRef window); |
+ |
+// Returns true if the window is minimized. |
+bool IsWindowMinimized(CGWindowID id); |
+ |
+ |
} // namespace webrtc |
#endif // WEBRTC_MODULES_DESKTOP_CAPTURE_WINDOW_LIST_UTILS_H_ |