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

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

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.cc
diff --git a/ui/aura/mus/window_port_mus.cc b/ui/aura/mus/window_port_mus.cc
index 50bbe0298afd35c8e17bee424a81d6c55b80d8a4..948da4d782e61f28ecce11b12ab03d5838cd85ea 100644
--- a/ui/aura/mus/window_port_mus.cc
+++ b/ui/aura/mus/window_port_mus.cc
@@ -66,8 +66,9 @@ void WindowPortMus::SetPredefinedCursor(ui::mojom::Cursor cursor_id) {
predefined_cursor_ = cursor_id;
}
-void WindowPortMus::SetCanAcceptEvents(bool value) {
- window_tree_client_->SetCanAcceptEvents(this, value);
+void WindowPortMus::SetEventTargetingPolicy(
+ ui::mojom::EventTargetingPolicy policy) {
+ window_tree_client_->SetEventTargetingPolicy(this, policy);
}
void WindowPortMus::Embed(

Powered by Google App Engine
This is Rietveld 408576698