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

Unified Diff: components/mus/ws/default_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/ws/connection_manager.cc ('k') | components/mus/ws/default_access_policy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/default_access_policy.h
diff --git a/components/mus/ws/default_access_policy.h b/components/mus/ws/default_access_policy.h
index da8db324cfe5654ee29f28c7c14fc3ea91f0554f..af93e7803e4cb152362eff7ba6306d415e6c02b3 100644
--- a/components/mus/ws/default_access_policy.h
+++ b/components/mus/ws/default_access_policy.h
@@ -31,6 +31,7 @@ class DefaultAccessPolicy : public AccessPolicy {
const ServerWindow* child) const override;
bool CanRemoveTransientWindowFromParent(
const ServerWindow* window) const override;
+ bool CanSetModal(const ServerWindow* window) const override;
bool CanReorderWindow(const ServerWindow* window,
const ServerWindow* relative_window,
mojom::OrderDirection direction) const override;
« no previous file with comments | « components/mus/ws/connection_manager.cc ('k') | components/mus/ws/default_access_policy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698