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 816d8996423009c86f29e29238b83964d74212f3..e8c2642b0b97decfaa109eb14eb9a89ddf629b40 100644 |
--- a/services/ui/ws/window_manager_access_policy.cc |
+++ b/services/ui/ws/window_manager_access_policy.cc |
@@ -134,6 +134,12 @@ bool WindowManagerAccessPolicy::CanSetHitTestMask( |
delegate_->HasRootForAccessPolicy(window); |
} |
+bool WindowManagerAccessPolicy::CanSetAcceptDrags( |
+ const ServerWindow* window) const { |
+ // Only the client associated with a window may set this. |
+ return false; |
+} |
+ |
bool WindowManagerAccessPolicy::CanSetAcceptEvents( |
const ServerWindow* window) const { |
return WasCreatedByThisClient(window) || |