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

Unified Diff: components/mus/ws/window_manager_state.h

Issue 1818333002: Reland: mus: Enable system modal windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleaned up comments 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: 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 d85199b5f4be81f06963dc6299e29f18a8050499..c8edfebb91a79fda8c2cf2e6ba9471fb7fbef437 100644
--- a/components/mus/ws/window_manager_state.h
+++ b/components/mus/ws/window_manager_state.h
@@ -82,6 +82,14 @@ class WindowManagerState : public EventDispatcherDelegate {
// and if that's the case, releases the capture.
void ReleaseCaptureBlockedByAnyModalWindow();
+ bool SetSystemModalWindow(ServerWindow* window);
+ ServerWindow* system_modal_window() {
+ return event_dispatcher_.system_modal_window();
+ }
+ const ServerWindow* system_modal_window() const {
+ return event_dispatcher_.system_modal_window();
+ }
+
// Returns true if this is the WindowManager of the active user.
bool IsActive() const;

Powered by Google App Engine
This is Rietveld 408576698