New issue
Advanced search Search tips

Issue 840355 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: May 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug
Team-Security-UX

Blocking:
issue 839446



Sign in to add a comment

Android: 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 UIs:

- Framebust infobar (used by framebusting and tab-under blocking)
- Site settings
- Site details
- Page info
 
Cc: hwi@chromium.org srahim@chromium.org
Implementation screenshots. Note that the "(recommended)" string in site settings is tentative.
site-settings-TENTATIVE.png
41.4 KB View Download
page-info.png
45.1 KB View Download
framebust-ui-exanded.png
44.1 KB View Download
site-details.png
35.0 KB View Download
site-settings-list.png
48.4 KB View Download
Labels: -Pri-3 M-68 Pri-2
After chatting with srahim, we decided to use a different string for the site settings view. Screenshot here (replaces the TENTATIVE screenshot above).
site-settings-2.png
30.3 KB View Download

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

Thanks csharrison@! 

On page-info.png - could you hyphenate 'pop-ups'? Thanks!
Ah yes, great catch! Looks like that's an existing issue with the page-info UI. New screenshot attached.
page-info2.png
53.0 KB View Download

Comment 7 by hwi@chromium.org, May 7 2018

Yes it was pre-existing. Thanks for fixing it together, csharrison@!
Project Member

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

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

commit 27b4b13bd0ac8fb50a68ccc2d4b64a77db0ad8ea
Author: Charlie Harrison <csharrison@chromium.org>
Date: Tue May 08 15:06:30 2018

Add "redirects" to the popup UI on Android

This CL:
- Makes the framebust infobar's OK button set the popup setting to
  ALLOW for that site. The OK button is changed to say "ALWAYS ALLOW".

- Minor string changes to the framebust infobar

- Adds "redirects" to the popup permission, this affects site details,
  site settings, and page info.

Mocks at http://go/popup-redirect-unification-ui
Screenshots are located in the linked bug.

Bug:  840355 
Change-Id: Idd35540d985ae9b61c81c70306868d57fc678742
Reviewed-on: https://chromium-review.googlesource.com/1043470
Reviewed-by: Bernhard Bauer <bauerb@chromium.org>
Reviewed-by: Patti <patricialor@chromium.org>
Reviewed-by: Matthew Jones <mdjones@chromium.org>
Commit-Queue: Charlie Harrison <csharrison@chromium.org>
Cr-Commit-Position: refs/heads/master@{#556799}
[modify] https://crrev.com/27b4b13bd0ac8fb50a68ccc2d4b64a77db0ad8ea/chrome/android/java/src/org/chromium/chrome/browser/infobar/FramebustBlockInfoBar.java
[modify] https://crrev.com/27b4b13bd0ac8fb50a68ccc2d4b64a77db0ad8ea/chrome/android/java/src/org/chromium/chrome/browser/preferences/website/ContentSettingsResources.java
[modify] https://crrev.com/27b4b13bd0ac8fb50a68ccc2d4b64a77db0ad8ea/chrome/android/java/strings/android_chrome_strings.grd
[modify] https://crrev.com/27b4b13bd0ac8fb50a68ccc2d4b64a77db0ad8ea/chrome/browser/android/oom_intervention/oom_intervention_tab_helper.cc
[modify] https://crrev.com/27b4b13bd0ac8fb50a68ccc2d4b64a77db0ad8ea/chrome/browser/android/oom_intervention/oom_intervention_tab_helper.h
[modify] https://crrev.com/27b4b13bd0ac8fb50a68ccc2d4b64a77db0ad8ea/chrome/browser/ui/android/infobars/framebust_block_infobar.cc
[modify] https://crrev.com/27b4b13bd0ac8fb50a68ccc2d4b64a77db0ad8ea/chrome/browser/ui/interventions/framebust_block_message_delegate.cc
[modify] https://crrev.com/27b4b13bd0ac8fb50a68ccc2d4b64a77db0ad8ea/chrome/browser/ui/interventions/framebust_block_message_delegate.h
[modify] https://crrev.com/27b4b13bd0ac8fb50a68ccc2d4b64a77db0ad8ea/chrome/browser/ui/interventions/intervention_delegate.h
[modify] https://crrev.com/27b4b13bd0ac8fb50a68ccc2d4b64a77db0ad8ea/chrome/browser/ui/page_info/page_info_ui.cc
[modify] https://crrev.com/27b4b13bd0ac8fb50a68ccc2d4b64a77db0ad8ea/components/page_info_strings.grdp

Status: Fixed (was: Started)
That should be everything.

Sign in to add a comment