Chromium Code Reviews
DescriptionChange accept state of PermissionRequestManager from grouped infobar
In GroupedPermissionInfobars, there is one toggle for each permission type,
indicating if user wants to allow/block this type (e.g. geolocation and
notification requests are grouped in a single permission prompt, user wants
to allow location but block notification).
This CL adds ToggleAccept() to PermissionPromptAndroid, so that accept_states_[]
in PermissionRequestManager get updated when buttons on infobar get clicked, and
each permission type get allowed/blocked correctly.
BUG=606138
Committed: https://crrev.com/e8eaccd054223465b7eb83989b161b9f5574387b
Cr-Commit-Position: refs/heads/master@{#429486}
Patch Set 1 #Patch Set 2 : remove unused stuff #
Depends on Patchset: Messages
Total messages: 12 (7 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||