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

Unified Diff: ui/aura/mus/window_port_mus.h

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/ws/window_tree_unittest.cc ('k') | ui/aura/mus/window_port_mus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/mus/window_port_mus.h
diff --git a/ui/aura/mus/window_port_mus.h b/ui/aura/mus/window_port_mus.h
index c3018a3682fa698189405595ab5c3579a87ec814..5e3921a009d21e1046d0413ee9ac54999f4cf75a 100644
--- a/ui/aura/mus/window_port_mus.h
+++ b/ui/aura/mus/window_port_mus.h
@@ -56,8 +56,8 @@ class AURA_EXPORT WindowPortMus : public WindowPort, public WindowMus {
ui::mojom::Cursor predefined_cursor() const { return predefined_cursor_; }
void SetPredefinedCursor(ui::mojom::Cursor cursor_id);
- // Sets whether the window can receive events. Default value is true.
- void SetCanAcceptEvents(bool value);
+ // Sets the EventTargetingPolicy, default is TARGET_AND_DESCENDANTS.
+ void SetEventTargetingPolicy(ui::mojom::EventTargetingPolicy policy);
// Embeds a new client in this Window. See WindowTreeClient::Embed() for
// details on arguments.
« no previous file with comments | « services/ui/ws/window_tree_unittest.cc ('k') | ui/aura/mus/window_port_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698