[go: nahoru, domu]

Mac: Remove the arrow from extension popups with SecondaryUiMd.

MD/Harmony bubbles have no arrows and anchor to a bottom corner of the
anchor button. BubbleDialogDelegate takes care of this for Views dialogs
but for Harmony phase 1, the extension popup doesn't need to change to
MacViews. Currently the anchor location is updated, but the bubble still
has an arrow.

Remove the arrow to make bubbles consistent. As a bonus, this actually
makes them more consistent with the NSMenu that's shown for extensions
without their own popup, which also doesn't have an arrow.

Bug: 757646
Change-Id: I868e64f2d062f9b6cbddd5c48fe9fd9539306f8f
Reviewed-on: https://chromium-review.googlesource.com/850497
Commit-Queue: Trent Apted <tapted@chromium.org>
Reviewed-by: Elly Fong-Jones <ellyjones@chromium.org>
Cr-Commit-Position: refs/heads/master@{#527792}
3 files changed