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

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

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 | « ui/aura/mus/window_port_mus.h ('k') | ui/aura/mus/window_tree_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 68a4cda3c725ea6b67343c2aed5d7d977eb147ef..ac8a12bb463fd22c8513cb2513b36f7f1202cb87 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(
« no previous file with comments | « ui/aura/mus/window_port_mus.h ('k') | ui/aura/mus/window_tree_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698