Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(491)

Issue 2705323004: Anchor the first run bubble off the location bar icon's ImageView. (Closed)

Created:
3 years, 10 months ago by tapted
Modified:
3 years, 10 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, tfarina, chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Anchor the first run bubble off the location bar icon's ImageView. Currently anchors off the whole icon, which might be the centre of a rectangular security chip. Use LocationBarView::GetSecurityBubbleAnchorView(), same as other bubbles. The FirstRunBubble constructor already offsets the anchor by LOCATION_BAR_BUBBLE_ANCHOR_VERTICAL_INSET, like other bubbles anchoring off the ImageView. BUG=690361 Review-Url: https://codereview.chromium.org/2705323004 Cr-Commit-Position: refs/heads/master@{#452728} Committed: https://chromium.googlesource.com/chromium/src/+/96752f23762f0ad4320bb4aa0737857b5fe582f3

Patch Set 1 #

Total comments: 2

Patch Set 2 : GetSecurityBubbleAnchorView #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M chrome/browser/ui/views/location_bar/location_bar_view.cc View 1 1 chunk +1 line, -1 line 3 comments Download

Messages

Total messages: 24 (15 generated)
tapted
3 years, 10 months ago (2017-02-23 00:02:41 UTC) #8
Peter Kasting
https://codereview.chromium.org/2705323004/diff/1/chrome/browser/ui/views/location_bar/location_bar_view.cc File chrome/browser/ui/views/location_bar/location_bar_view.cc (right): https://codereview.chromium.org/2705323004/diff/1/chrome/browser/ui/views/location_bar/location_bar_view.cc#newcode856 chrome/browser/ui/views/location_bar/location_bar_view.cc:856: FirstRunBubble::ShowBubble(browser, location_icon_view_->GetImageView()); It seems like this should just call ...
3 years, 10 months ago (2017-02-23 22:06:03 UTC) #9
tapted
https://codereview.chromium.org/2705323004/diff/1/chrome/browser/ui/views/location_bar/location_bar_view.cc File chrome/browser/ui/views/location_bar/location_bar_view.cc (right): https://codereview.chromium.org/2705323004/diff/1/chrome/browser/ui/views/location_bar/location_bar_view.cc#newcode856 chrome/browser/ui/views/location_bar/location_bar_view.cc:856: FirstRunBubble::ShowBubble(browser, location_icon_view_->GetImageView()); On 2017/02/23 22:06:03, Peter Kasting wrote: > ...
3 years, 10 months ago (2017-02-23 23:19:48 UTC) #13
Peter Kasting
LGTM
3 years, 10 months ago (2017-02-24 01:55:18 UTC) #16
Peter Kasting
https://codereview.chromium.org/2705323004/diff/20001/chrome/browser/ui/views/location_bar/location_bar_view.cc File chrome/browser/ui/views/location_bar/location_bar_view.cc (right): https://codereview.chromium.org/2705323004/diff/20001/chrome/browser/ui/views/location_bar/location_bar_view.cc#newcode856 chrome/browser/ui/views/location_bar/location_bar_view.cc:856: FirstRunBubble::ShowBubble(browser, GetSecurityBubbleAnchorView()); (Still wondering if maybe this should be ...
3 years, 10 months ago (2017-02-24 01:55:54 UTC) #17
tapted
https://codereview.chromium.org/2705323004/diff/20001/chrome/browser/ui/views/location_bar/location_bar_view.cc File chrome/browser/ui/views/location_bar/location_bar_view.cc (right): https://codereview.chromium.org/2705323004/diff/20001/chrome/browser/ui/views/location_bar/location_bar_view.cc#newcode856 chrome/browser/ui/views/location_bar/location_bar_view.cc:856: FirstRunBubble::ShowBubble(browser, GetSecurityBubbleAnchorView()); On 2017/02/24 01:55:54, Peter Kasting wrote: > ...
3 years, 10 months ago (2017-02-24 02:01:24 UTC) #18
Peter Kasting
https://codereview.chromium.org/2705323004/diff/20001/chrome/browser/ui/views/location_bar/location_bar_view.cc File chrome/browser/ui/views/location_bar/location_bar_view.cc (right): https://codereview.chromium.org/2705323004/diff/20001/chrome/browser/ui/views/location_bar/location_bar_view.cc#newcode856 chrome/browser/ui/views/location_bar/location_bar_view.cc:856: FirstRunBubble::ShowBubble(browser, GetSecurityBubbleAnchorView()); On 2017/02/24 02:01:24, tapted wrote: > (Plus, ...
3 years, 10 months ago (2017-02-24 02:05:16 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2705323004/20001
3 years, 10 months ago (2017-02-24 03:00:30 UTC) #21
commit-bot: I haz the power
3 years, 10 months ago (2017-02-24 03:05:38 UTC) #24
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/96752f23762f0ad4320bb4aa0737...

Powered by Google App Engine
This is Rietveld 408576698