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

Unified Diff: components/mus/ws/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: Addressed some review comments Created 4 years, 10 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/access_policy.h
diff --git a/components/mus/ws/access_policy.h b/components/mus/ws/access_policy.h
index cbb3e0e6e80cbc847d6fce9310008c14d046cfe2..4db35b55c52dc872bee3f6bc15158bca04df1f4e 100644
--- a/components/mus/ws/access_policy.h
+++ b/components/mus/ws/access_policy.h
@@ -33,6 +33,7 @@ class AccessPolicy {
const ServerWindow* child) const = 0;
virtual bool CanRemoveTransientWindowFromParent(
const ServerWindow* window) const = 0;
+ virtual bool CanSetAsModal(const ServerWindow* window) const = 0;
virtual bool CanReorderWindow(const ServerWindow* window,
const ServerWindow* relative_window,
mojom::OrderDirection direction) const = 0;

Powered by Google App Engine
This is Rietveld 408576698