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

Unified Diff: components/view_manager/event_dispatcher.cc

Issue 1138073007: Nukes the windowmanager interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 7 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 | « components/view_manager/event_dispatcher.h ('k') | components/view_manager/public/cpp/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/view_manager/event_dispatcher.cc
diff --git a/components/view_manager/event_dispatcher.cc b/components/view_manager/event_dispatcher.cc
index 6cc8b8580eaf8ca531854026de3d1004bed3bd26..a06e7c22bf59d0cbd3c8c130b68176e0b5f0b1c5 100644
--- a/components/view_manager/event_dispatcher.cc
+++ b/components/view_manager/event_dispatcher.cc
@@ -53,7 +53,8 @@ void EventDispatcher::OnEvent(mojo::EventPtr event,
} else if (event->action == mojo::EVENT_TYPE_KEY_PRESSED &&
accelerators_.count(Accelerator(event->key_data->windows_key_code,
event->flags))) {
- connection_manager_->wm_internal()->OnAccelerator(event.Pass());
+ connection_manager_->view_manager_root_client()->OnAccelerator(
+ event.Pass());
} else {
ServerView* focused_view = connection_manager_->GetFocusedView();
if (focused_view)
« no previous file with comments | « components/view_manager/event_dispatcher.h ('k') | components/view_manager/public/cpp/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698