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

Issue 2693803002: Fix position of permission bubbles anchored off the padlock. (Closed)

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

Description

Fix position of permission bubbles anchored off the padlock. Allows permission request bubbles to share some of the anchoring logic used by the site settings bubble. Under non-MD/Harmony, this will shift the permissions request popup up slightly so that the arrow points to the icon. Under MD/Harmony, the bubble will be anchored to the bottom of the location bar itself, with edges aligned. BUG=682073 Review-Url: https://codereview.chromium.org/2693803002 Cr-Commit-Position: refs/heads/master@{#450268} Committed: https://chromium.googlesource.com/chromium/src/+/6ef9d93c9b63ff3169f2c3c13e1ef2b4113ae1a1

Patch Set 1 #

Patch Set 2 : Share some logic #

Total comments: 12

Patch Set 3 : respond to comments #

Patch Set 4 : fix ternary if-else (+respond to comments) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -24 lines) Patch
M chrome/browser/ui/views/frame/browser_view.cc View 1 2 4 chunks +5 lines, -12 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.h View 1 2 1 chunk +7 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.cc View 1 3 3 chunks +8 lines, -1 line 0 comments Download
M chrome/browser/ui/views/website_settings/permission_prompt_impl.cc View 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/website_settings/permission_prompt_impl_views.cc View 1 2 1 chunk +4 lines, -8 lines 0 comments Download

Messages

Total messages: 26 (18 generated)
tapted
Hi Peter, please take a look
3 years, 10 months ago (2017-02-13 06:35:47 UTC) #7
Peter Kasting
LGTM https://codereview.chromium.org/2693803002/diff/20001/chrome/browser/ui/views/frame/browser_view.cc File chrome/browser/ui/views/frame/browser_view.cc (right): https://codereview.chromium.org/2693803002/diff/20001/chrome/browser/ui/views/frame/browser_view.cc#newcode1278 chrome/browser/ui/views/frame/browser_view.cc:1278: GetLocationBarView()->GetSecurityBubbleAnchorView(); Nit: Shorter to either use auto: auto* ...
3 years, 10 months ago (2017-02-13 21:36:32 UTC) #8
tapted
https://codereview.chromium.org/2693803002/diff/20001/chrome/browser/ui/views/frame/browser_view.cc File chrome/browser/ui/views/frame/browser_view.cc (right): https://codereview.chromium.org/2693803002/diff/20001/chrome/browser/ui/views/frame/browser_view.cc#newcode1278 chrome/browser/ui/views/frame/browser_view.cc:1278: GetLocationBarView()->GetSecurityBubbleAnchorView(); On 2017/02/13 21:36:31, Peter Kasting wrote: > Nit: ...
3 years, 10 months ago (2017-02-14 04:00:27 UTC) #11
tapted
https://codereview.chromium.org/2693803002/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/2693803002/diff/20001/chrome/browser/ui/views/location_bar/location_bar_view.cc#newcode378 chrome/browser/ui/views/location_bar/location_bar_view.cc:378: return location_icon_view()->GetImageView(); On 2017/02/14 04:00:27, tapted wrote: > On ...
3 years, 10 months ago (2017-02-14 04:27:08 UTC) #16
Peter Kasting
https://codereview.chromium.org/2693803002/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/2693803002/diff/20001/chrome/browser/ui/views/location_bar/location_bar_view.cc#newcode378 chrome/browser/ui/views/location_bar/location_bar_view.cc:378: return location_icon_view()->GetImageView(); On 2017/02/14 04:27:08, tapted wrote: > On ...
3 years, 10 months ago (2017-02-14 04:30:00 UTC) #17
tapted
On 2017/02/14 04:30:00, Peter Kasting wrote: > https://codereview.chromium.org/2693803002/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/2693803002/diff/20001/chrome/browser/ui/views/location_bar/location_bar_view.cc#newcode378 ...
3 years, 10 months ago (2017-02-14 05:27:49 UTC) #20
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/2693803002/60001
3 years, 10 months ago (2017-02-14 05:28:15 UTC) #23
commit-bot: I haz the power
3 years, 10 months ago (2017-02-14 05:34:14 UTC) #26
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/6ef9d93c9b63ff3169f2c3c13e1e...

Powered by Google App Engine
This is Rietveld 408576698