Deprecate calls to BubbleDialogDelegate::set_anchor_view_insets |
||||
Issue descriptionUsages of this API should be replaced with having the anchor views themselves override Views::GetAnchorBoundsInScreen(). See https://chromium-review.googlesource.com/c/chromium/src/+/1152525/3/ui/views/bubble/bubble_dialog_delegate.cc#210 That CL above also adds GetAnchorBoundsInScreen(), so this is not fixable before that CL lands.
,
Aug 14
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/d83d2aa04e6a9f080761187900b0108820467005 commit d83d2aa04e6a9f080761187900b0108820467005 Author: Charlene Yan <cyan@chromium.org> Date: Tue Aug 14 15:51:46 2018 Remove set_anchor_view_insets inside src/chrome/browser/ui. Will still need to remove calls inside src/ash before it can be fully removed from src/ui/views/bubble/bubble_dialog_delegate_view.h Bug: 869928 Change-Id: I0444a7c3d6440d7be1dfe99c26996f2524d8f29a Reviewed-on: https://chromium-review.googlesource.com/1173321 Reviewed-by: Peter Boström <pbos@chromium.org> Reviewed-by: Bret Sepulveda <bsep@chromium.org> Commit-Queue: Charlene Yan <cyan@chromium.org> Cr-Commit-Position: refs/heads/master@{#582925} [modify] https://crrev.com/d83d2aa04e6a9f080761187900b0108820467005/chrome/browser/ui/views/content_setting_bubble_contents.cc [modify] https://crrev.com/d83d2aa04e6a9f080761187900b0108820467005/chrome/browser/ui/views/global_error_bubble_view.cc [modify] https://crrev.com/d83d2aa04e6a9f080761187900b0108820467005/chrome/browser/ui/views/location_bar/location_bar_bubble_delegate_view.cc [modify] https://crrev.com/d83d2aa04e6a9f080761187900b0108820467005/chrome/browser/ui/views/location_bar/location_bar_bubble_delegate_view.h [modify] https://crrev.com/d83d2aa04e6a9f080761187900b0108820467005/chrome/browser/ui/views/network_profile_bubble_view.cc [modify] https://crrev.com/d83d2aa04e6a9f080761187900b0108820467005/chrome/browser/ui/views/outdated_upgrade_bubble_view.cc [modify] https://crrev.com/d83d2aa04e6a9f080761187900b0108820467005/chrome/browser/ui/views/page_info/page_info_bubble_view_base.cc [modify] https://crrev.com/d83d2aa04e6a9f080761187900b0108820467005/chrome/browser/ui/views/permission_bubble/permission_prompt_impl.cc
,
Aug 14
tapted@ can you or someone on the CrOS side take over removal of set_anchor_view_insets in ash/? I think they should be fairly quick for someone more familiar with ash to get rid of the last 9 instances.
,
Aug 14
ooh nice cleanup in #c2 :). I'm happy to poke around in ash (although I'm currently working mostly with ChromeOS's js UI, rather than native..)
,
Aug 15
Thanks! :)
,
Aug 23
shelf_tooltip_bubble.cc changes (https://chromium-review.googlesource.com/c/chromium/src/+/1186218) (This bubble still positions as though it has an arrow pointing to the item, but that got removed ages ago [before m61]).
,
Aug 30
|
||||
►
Sign in to add a comment |
||||
Comment 1 by bugdroid1@chromium.org
, Aug 1