Install MenuPreTargetHandlerAura to the right Env
aura::Env::GetInstance() means the Env in the client in SingleProcessMash, which means this PreTargetHandler might not be invoked in SingleProcessMash. This is primarily for fixing test failures of BookmarkBarViewTest and MenuItemViewTestRemoveWithSubmenu in interactive_ui_tests, but I guess this will fix some keyboard operations on menu items in normal chrome. Bug: 883523 Test: interactive_ui_tests --enable-features=SingleProcessMash Change-Id: I4f081b290bf6468318df3a77844efaf8410d05b7 Reviewed-on: https://chromium-review.googlesource.com/1237540 Commit-Queue: Jun Mukai <mukai@chromium.org> Reviewed-by:Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#593633}
Showing
Please register or sign in to comment