Clean-up references to individual menu items in AppMenu
AppMenu shouldn't have specific knowledge of individual items shown in the menu. This CL moves some logging to ChromeTabbedActivity (which already handles menu item clicks) and makes item long-click handling more generic by using a (condensed) title set on the MenuItem to determine the anchored toast text. BUG=966644 Change-Id: Ibd569ef23f835f601aa9b4edd663fa6c3a61716c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1894753 Commit-Queue: Theresa <twellington@chromium.org> Reviewed-by:Matthew Jones <mdjones@chromium.org> Cr-Commit-Position: refs/heads/master@{#712754}
Showing
Please register or sign in to comment