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

Issue 2277733002: Revert of Enable the optional permission prompt persistence toggle on grouped infobars (Closed)

Created:
4 years, 4 months ago by Bernhard Bauer
Modified:
4 years, 4 months ago
CC:
chromium-reviews, mlamouri+watch-permissions_chromium.org, dfalcantara+watch_chromium.org, Sergey Ulanov
Base URL:
https://chromium.googlesource.com/chromium/src.git@permission-infobardelegate-clean
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of Enable the optional permission prompt persistence toggle on grouped infobars (patchset #12 id:220001 of https://codereview.chromium.org/2254763002/ ) Reason for revert: Breaks on Android testers (https://uberchromegw.corp.google.com/i/chromium.linux/builders/Android%20Tests/builds/30964) BUG=640580 Original issue's description: > Enable the optional permission prompt persistence toggle on grouped infobars > > This CL adds support for the feature enabling a persistence toggle on > permission prompts to grouped permission infobars. The toggle is only > shown if an enabling feature is active. Grouped bars are used exclusively > for media permissions, so this change allows the toggle to be shown > when a single and multiple media permissions are requested. > > New Android UI tests for responding to the permission prompts triggered > by getUserMedia are added to verify the toggle behaviour. The persistence > boolean in media_stream_devices_controller is renamed in preparation for > upstreaming it into PermissionRequest. > > BUG=632269 > > Committed: https://crrev.com/fea9c39c10d391e8b03b77b39b889c54a96a9b5c > Cr-Commit-Position: refs/heads/master@{#413970} TBR=dfalcantara@chromium.org,raymes@chromium.org,kcarattini@chromium.org,xhwang@chromium.org,dominickn@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=632269 Committed: https://crrev.com/c1350bf5a9407c705530515b61ac1dfcbc0830cb Cr-Commit-Position: refs/heads/master@{#414047}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -421 lines) Patch
M chrome/android/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/infobar/GroupedPermissionInfoBar.java View 5 chunks +6 lines, -16 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/infobar/PermissionInfoBar.java View 4 chunks +15 lines, -5 lines 0 comments Download
M chrome/android/java_sources.gni View 1 chunk +0 lines, -1 line 0 comments Download
D chrome/android/javatests/src/org/chromium/chrome/browser/media/ui/MediaPermissionsTest.java View 1 chunk +0 lines, -244 lines 0 comments Download
M chrome/browser/media/media_stream_devices_controller.h View 4 chunks +1 line, -10 lines 0 comments Download
M chrome/browser/media/media_stream_devices_controller.cc View 6 chunks +15 lines, -18 lines 0 comments Download
M chrome/browser/media/media_stream_infobar_delegate_android.h View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/media/media_stream_infobar_delegate_android.cc View 4 chunks +0 lines, -54 lines 0 comments Download
M chrome/browser/permissions/grouped_permission_infobar_delegate.h View 2 chunks +0 lines, -5 lines 0 comments Download
M chrome/browser/permissions/grouped_permission_infobar_delegate.cc View 2 chunks +1 line, -7 lines 0 comments Download
M chrome/browser/ui/android/infobars/grouped_permission_infobar.h View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/android/infobars/grouped_permission_infobar.cc View 2 chunks +1 line, -14 lines 0 comments Download
D content/test/data/android/media_permissions.html View 1 chunk +0 lines, -41 lines 0 comments Download

Messages

Total messages: 7 (3 generated)
Bernhard Bauer
Created Revert of Enable the optional permission prompt persistence toggle on grouped infobars
4 years, 4 months ago (2016-08-24 11:48:28 UTC) #2
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/2277733002/1
4 years, 4 months ago (2016-08-24 11:48:49 UTC) #3
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 4 months ago (2016-08-24 11:49:48 UTC) #5
commit-bot: I haz the power
4 years, 4 months ago (2016-08-24 11:52:22 UTC) #7
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/c1350bf5a9407c705530515b61ac1dfcbc0830cb
Cr-Commit-Position: refs/heads/master@{#414047}

Powered by Google App Engine
This is Rietveld 408576698