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

Unified Diff: services/ui/ws/window_manager_access_policy.cc

Issue 2655463009: aura-mus: Implement DesktopWindowTreeHostMus::StackAbove(). (Closed)
Patch Set: Add comment. Created 3 years, 11 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 | « services/ui/ws/window_manager_access_policy.h ('k') | services/ui/ws/window_tree.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/window_manager_access_policy.cc
diff --git a/services/ui/ws/window_manager_access_policy.cc b/services/ui/ws/window_manager_access_policy.cc
index e38c7ba892d1530ce45479950395d707e3b46959..451fd987e6d50bf9bc783605b0b395355e6c7200 100644
--- a/services/ui/ws/window_manager_access_policy.cc
+++ b/services/ui/ws/window_manager_access_policy.cc
@@ -142,6 +142,15 @@ bool WindowManagerAccessPolicy::CanSetAcceptEvents(
delegate_->HasRootForAccessPolicy(window);
}
+bool WindowManagerAccessPolicy::CanStackAbove(
+ const ServerWindow* above,
+ const ServerWindow* below) const {
+ // This API is for clients. Window managers can perform any arbitrary
+ // reordering of the windows and don't need to go through this constrained
+ // API.
+ return false;
+}
+
bool WindowManagerAccessPolicy::CanStackAtTop(
const ServerWindow* window) const {
// This API is for clients. Window managers can perform any arbitrary
« no previous file with comments | « services/ui/ws/window_manager_access_policy.h ('k') | services/ui/ws/window_tree.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698