New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 840356 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: May 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome , Mac
Pri: 3
Type: Bug
Team-Security-UX

Blocking:
issue 839446



Sign in to add a comment

Desktop: Alter framebust / popup UI for unification of the setting

Project Member Reported by csharrison@chromium.org, May 7 2018

Issue description

See go/popup-redirect-unification-ui for mocks.

At a high level, we want to add a sticky setting for declining the framebust / tab-under intervention, and we're using the popup setting as our mechanism.

This bug should cover the following desktop UIs:

- Popup blocked omnibox pop-over
- Framebust blocked omnibox pop-over
- Site settings
- Site details
- Page info

 
Components: UI>Browser>Bubbles UI>Browser>SiteSettings
Cc: jkarlin@chromium.org ericrobinson@chromium.org
Making changes in crrev.com/c/1047687.  Including screenshots of those changes.
ContentSettings.png
91.0 KB View Download
PageInfo.png
110 KB View Download
PopupOmnibox.png
101 KB View Download
RedirectOmnibox.png
64.4 KB View Download
Cc: hwi@chromium.org srahim@chromium.org
Owner: ericrobinson@chromium.org

Comment 5 by hwi@chromium.org, May 9 2018

srahim@ - re:c3	PopupOmnibox.png, if there's one pop-up blocked (like the example screenshot), should we not have 's' (plural) or should we always say "Pop-ups blocked"? 

Comment 6 by hwi@chromium.org, May 9 2018

ericrobinson@ - Thanks for the screenshots and for implementing the feature! They're looking great! 

Is there any open UX question? I saw crrev comments, but was unsure where to look / whether it's been resolved or not. Please let me and srahim@ know. Thanks!
srahim@, hwi@:  I believe the open question is around one of the Mac variables, but nothing else has been raised at this point.

Regarding the plurals, we could aim to fix, but this matches the previous behavior, where the message above was simply:
"The following pop-ups were blocked on this page:"
Given this is a list, the plural here doesn't seem egregious, and I don't know the interface, as it is, supports differentiating (would have to look into it).
We can probably fix the pluralization in a followup. Josh's change will make it so that we have the context of "how many" items are being blocked at the time we set the title, so it should be straightforward once his change lands.

Eric: To see other examples of using plural strings, see base::GetPluralStringFUTF{8,16}.
Attached is a screenshot of the new FrameBusting bubble incorporating Eric's string changes. This is for CL https://crrev.com/c/1050198.
framebust_bubble.png
14.0 KB View Download
Also attaching two additional screen-shots (per-site settings, site details).  These use the same strings as above, but in separate locations.
PerSiteSettings.png
109 KB View Download
SiteDetails.png
45.9 KB View Download
Project Member

Comment 11 by bugdroid1@chromium.org, May 10 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/fe3125b5bde03863132a92321377ef05b7e20cfa

commit fe3125b5bde03863132a92321377ef05b7e20cfa
Author: Eric Robinson <ericrobinson@chromium.org>
Date: Thu May 10 18:04:51 2018

Changed wording for "pop-up"s blocked to include redirects on desktop.

This changes the content of generated_resources.grd so that pop-up blocking
content now referes to both pop-ups and redirects.

Also removing a block of unused strings in generated_resources.grd.

Bug:  840356 
Change-Id: I3a8657ccd3188a1019327bd5499ed19db31899b7
Reviewed-on: https://chromium-review.googlesource.com/1047687
Commit-Queue: Eric Robinson <ericrobinson@chromium.org>
Reviewed-by: Charlie Harrison <csharrison@chromium.org>
Reviewed-by: Scott Chen <scottchen@chromium.org>
Reviewed-by: Elly Fong-Jones <ellyjones@chromium.org>
Cr-Commit-Position: refs/heads/master@{#557585}
[modify] https://crrev.com/fe3125b5bde03863132a92321377ef05b7e20cfa/chrome/app/generated_resources.grd
[modify] https://crrev.com/fe3125b5bde03863132a92321377ef05b7e20cfa/chrome/app/nibs/ContentBlockedPopups.xib
[modify] https://crrev.com/fe3125b5bde03863132a92321377ef05b7e20cfa/chrome/app/settings_strings.grdp
[modify] https://crrev.com/fe3125b5bde03863132a92321377ef05b7e20cfa/chrome/browser/ui/content_settings/content_setting_bubble_model.cc
[modify] https://crrev.com/fe3125b5bde03863132a92321377ef05b7e20cfa/chrome/browser/ui/page_info/page_info_ui.cc

Project Member

Comment 12 by bugdroid1@chromium.org, May 11 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/fe6ffb824ee4043402aa4a6283fceb53b5996754

commit fe6ffb824ee4043402aa4a6283fceb53b5996754
Author: Josh Karlin <jkarlin@chromium.org>
Date: Fri May 11 14:45:27 2018

Make the FrameBusting content setting bubble more like popups

What:
Changes the ContentSettingFramebustBlockBubbleModel to behave more like
ContentSettingPopupBubbleModel. It now uses the same content type but differs
in title and what it observes.

Why:
Popups and Framebusting behavior is merging. They'll use many of the same
strings and they will share content setting storage.

A screenshot of the new bubble is here:  https://crbug.com/840356#c9 

Bug:  840356 
Change-Id: I098b0c3c7d94dcad58b2f01ebb02493503ecd835
Reviewed-on: https://chromium-review.googlesource.com/1050198
Commit-Queue: Josh Karlin <jkarlin@chromium.org>
Reviewed-by: Bernhard Bauer <bauerb@chromium.org>
Reviewed-by: Charlie Harrison <csharrison@chromium.org>
Cr-Commit-Position: refs/heads/master@{#557877}
[modify] https://crrev.com/fe6ffb824ee4043402aa4a6283fceb53b5996754/chrome/browser/ui/content_settings/content_setting_bubble_model.cc
[modify] https://crrev.com/fe6ffb824ee4043402aa4a6283fceb53b5996754/chrome/browser/ui/content_settings/content_setting_bubble_model.h
[modify] https://crrev.com/fe6ffb824ee4043402aa4a6283fceb53b5996754/chrome/browser/ui/content_settings/framebust_block_browsertest.cc

Status: Fixed (was: Untriaged)
Project Member

Comment 14 by bugdroid1@chromium.org, May 14 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/0b8c73cbd8430e61a8165d719c3ad2d076d5b983

commit 0b8c73cbd8430e61a8165d719c3ad2d076d5b983
Author: Eric Robinson <ericrobinson@chromium.org>
Date: Mon May 14 02:45:20 2018

Removing unused string for pop-ups menu.

The pop-up string has been replaced with pop-ups and redirects.  I've removed the old string, which will no longer be referenced after crrev.com/c/1047687.

Bug:  840356 
Change-Id: Iaf65ce22e3296215f27d25dfa7b7a81b0c605758
Reviewed-on: https://chromium-review.googlesource.com/1053953
Reviewed-by: Patti <patricialor@chromium.org>
Commit-Queue: Eric Robinson <ericrobinson@chromium.org>
Cr-Commit-Position: refs/heads/master@{#558180}
[modify] https://crrev.com/0b8c73cbd8430e61a8165d719c3ad2d076d5b983/components/page_info_strings.grdp

Sign in to add a comment