[omnibox] [rich-autocompletion] Show context menu on right click.
Rich autocompletion added the |omnibox_additional_text_view_| label adjacent to the |omnibox_view_| in the LocationBarView. When the |omnibox_view_| displays a suggestion's contents, the label (if visible) displays its description and vice versa. The LocationBarView directs mouse button events from |omnibox_additional_text_view_| to |omnibox_view_| so that, e.g., clicking the former will focus the latter. Specifically, the LocationBarView already directs the OnMousePressed, OnMouseDragged, and OnMouseReleased events. This CL also adds ShowContextMenu to be directed. Bug: 1150010, 1062446 Change-Id: I639177a65abdb70e2c34322fb5217827b02c142e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2586766Reviewed-by:Tommy Li <tommycli@chromium.org> Commit-Queue: manuk hovanesian <manukh@chromium.org> Cr-Commit-Position: refs/heads/master@{#836856}
Showing
Please register or sign in to comment