FloatWindow: Change the multitask menu anchor method.
Change multitask menu anchor method back to anchor the view. This will fix a few issues in LaCros. Test: Manual Bug: b/265325107 Change-Id: Ifad2517f46fa84de45bb8be4e22729f8d9b63f77 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4193249 Commit-Queue: Judy Wang <shidi@chromium.org> Reviewed-by: Sammie Quon <sammiequon@chromium.org> Cr-Commit-Position: refs/heads/main@{#1096493}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
93530d8919
commit
8a0e5fa847
@ -38,11 +38,7 @@ MultitaskMenu::MultitaskMenu(views::View* anchor,
|
||||
set_internal_name("MultitaskMenuBubbleWidget");
|
||||
set_margins(gfx::Insets());
|
||||
set_parent_window(parent_window);
|
||||
#if BUILDFLAG(IS_CHROMEOS_LACROS)
|
||||
SetAnchorView(anchor);
|
||||
#else
|
||||
SetAnchorRect(anchor->GetAnchorBoundsInScreen());
|
||||
#endif
|
||||
SetArrow(views::BubbleBorder::Arrow::TOP_CENTER);
|
||||
SetButtons(ui::DIALOG_BUTTON_NONE);
|
||||
SetUseDefaultFillLayout(true);
|
||||
|
Reference in New Issue
Block a user