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

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: SetAsModal -> SetModal + Other review comments addressed 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
« no previous file with comments | « components/mus/public/interfaces/window_tree.mojom ('k') | components/mus/ws/connection_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..4ce154088a2cbf86102addc0a1c04c4fb6b185fd 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 CanSetModal(const ServerWindow* window) const = 0;
virtual bool CanReorderWindow(const ServerWindow* window,
const ServerWindow* relative_window,
mojom::OrderDirection direction) const = 0;
« no previous file with comments | « components/mus/public/interfaces/window_tree.mojom ('k') | components/mus/ws/connection_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698