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

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

Issue 1759523002: mus: Server-side implementation of modal windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added test for WindowHierarchyChanged case Created 4 years, 9 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_access_policy.h
diff --git a/components/mus/ws/window_manager_access_policy.h b/components/mus/ws/window_manager_access_policy.h
index bed716b46d14de5ac984767245341028a3d5f3a9..11f9103a3a650272a2875f0f5b31bb8a232c2e8f 100644
--- a/components/mus/ws/window_manager_access_policy.h
+++ b/components/mus/ws/window_manager_access_policy.h
@@ -30,6 +30,7 @@ class WindowManagerAccessPolicy : public AccessPolicy {
const ServerWindow* child) const override;
bool CanRemoveTransientWindowFromParent(
const ServerWindow* window) const override;
+ bool CanSetAsModal(const ServerWindow* window) const override;
bool CanReorderWindow(const ServerWindow* window,
const ServerWindow* relative_window,
mojom::OrderDirection direction) const override;

Powered by Google App Engine
This is Rietveld 408576698