Index: components/mus/ws/window_manager_state.h |
diff --git a/components/mus/ws/window_manager_state.h b/components/mus/ws/window_manager_state.h |
index 574ecd8d2540240bbd617ce154f635a1276bfc6a..8f967343c5eb9a9fc8653e68d87e1ddee974508f 100644 |
--- a/components/mus/ws/window_manager_state.h |
+++ b/components/mus/ws/window_manager_state.h |
@@ -75,10 +75,13 @@ |
return event_dispatcher_.capture_window(); |
} |
+ // Checks if |modal_window| is a visible modal window that blocks current |
+ // capture window and if that's the case, releases the capture. |
void ReleaseCaptureBlockedByModalWindow(const ServerWindow* modal_window); |
+ |
+ // Checks if the current capture window is blocked by any visible modal window |
+ // and if that's the case, releases the capture. |
void ReleaseCaptureBlockedByAnyModalWindow(); |
- |
- void AddSystemModalWindow(ServerWindow* window); |
// Returns true if this is the WindowManager of the active user. |
bool IsActive() const; |