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

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

Issue 2667073002: mash: changes can_accept_events to an enum (Closed)
Patch Set: 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
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 c293b849c5a8fa5b49c6fe53d8893b0740abbfad..1f3be68bfa5191966a554107d5b32242825428e8 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.

Powered by Google App Engine
This is Rietveld 408576698