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

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: More cleanup 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/access_policy.h
diff --git a/components/mus/ws/access_policy.h b/components/mus/ws/access_policy.h
index 81e2d3b786090b8154129398bf9e686612eed9dd..fe32d55fb60a078684ef0370877e78a296b63621 100644
--- a/components/mus/ws/access_policy.h
+++ b/components/mus/ws/access_policy.h
@@ -32,6 +32,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