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

Unified Diff: services/ui/public/interfaces/window_tree_constants.mojom

Issue 2667073002: mash: changes can_accept_events to an enum (Closed)
Patch Set: merge 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/public/interfaces/window_tree.mojom ('k') | services/ui/ws/access_policy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/public/interfaces/window_tree_constants.mojom
diff --git a/services/ui/public/interfaces/window_tree_constants.mojom b/services/ui/public/interfaces/window_tree_constants.mojom
index c23d42d22c0191109cb3b5f861d38cdd8a611491..19a5fdf11af87d167694eca94c9d0d2ca02cb768 100644
--- a/services/ui/public/interfaces/window_tree_constants.mojom
+++ b/services/ui/public/interfaces/window_tree_constants.mojom
@@ -35,6 +35,21 @@ enum EventResult {
UNHANDLED,
};
+enum EventTargetingPolicy {
+ // The target is a valid target for events, but none of its descendants are
+ // considered.
+ TARGET_ONLY,
+
+ // The target and its descendants are possible targets. This is the default.
+ TARGET_AND_DESCENDANTS,
+
+ // The target is not a valid target, but its descendants are possible targets.
+ DESCENDANTS_ONLY,
+
+ // Neither the target nor its descendants are valid targets.
+ NONE
+};
+
// A bitfield of what drag operations are possible.
const uint32 kDropEffectNone = 0;
const uint32 kDropEffectMove = 1;
« no previous file with comments | « services/ui/public/interfaces/window_tree.mojom ('k') | services/ui/ws/access_policy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698