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

Issue 1989303005: Disable fullscreen global permission setting in Android. (Closed)

Created:
4 years, 7 months ago by Matt Giuca
Modified:
4 years, 7 months ago
Reviewers:
Ted C, Finnur
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, dominickn, rolfe
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Disable fullscreen global permission setting in Android. Fixes a bug where fullscreen *looks* disableable but it's actually always permitted by default. Forces the global slider to always be turned on (the user cannot switch it to the off position), and changes the string from "Allowed" to "Always allowed" to communicate that it cannot be disabled. This is a stop-gap measure until we can delete the data (and then this setting UI will be removed entirely). See bug for details. Only applies when the simplified-fullscreen-ui flag is enabled (which it is by default). BUG=611327 Committed: https://crrev.com/827ed475ee038454ee7dfb2cadba17568fc4a2b5 Cr-Commit-Position: refs/heads/master@{#395513}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Rebase. #

Patch Set 3 : Rebase. #

Patch Set 4 : Disable the fullscreen global toggle if simplified mode enabled. #

Patch Set 5 : Simplify labeling logic (don't need to change the disabled string). #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -1 line) Patch
M chrome/android/java/src/org/chromium/chrome/browser/preferences/website/ContentSettingsResources.java View 1 2 3 4 2 chunks +8 lines, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/website/SingleCategoryPreferences.java View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/android/preferences/pref_service_bridge.cc View 3 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (8 generated)
Matt Giuca
Hi Ted, Sorry to do this at the last minute. This should be landed before ...
4 years, 7 months ago (2016-05-19 07:17:33 UTC) #2
Matt Giuca
On 2016/05/19 07:17:33, Matt Giuca wrote: > Hi Ted, > > Sorry to do this ...
4 years, 7 months ago (2016-05-19 07:18:38 UTC) #3
Finnur
Adding Rebecca, the UX person who oversaw the design of this. https://codereview.chromium.org/1989303005/diff/1/chrome/android/java/src/org/chromium/chrome/browser/preferences/website/ContentSettingsResources.java File chrome/android/java/src/org/chromium/chrome/browser/preferences/website/ContentSettingsResources.java (right): ...
4 years, 7 months ago (2016-05-19 11:09:17 UTC) #7
Matt Giuca
https://codereview.chromium.org/1989303005/diff/1/chrome/android/java/src/org/chromium/chrome/browser/preferences/website/ContentSettingsResources.java File chrome/android/java/src/org/chromium/chrome/browser/preferences/website/ContentSettingsResources.java (right): https://codereview.chromium.org/1989303005/diff/1/chrome/android/java/src/org/chromium/chrome/browser/preferences/website/ContentSettingsResources.java#newcode112 chrome/android/java/src/org/chromium/chrome/browser/preferences/website/ContentSettingsResources.java:112: } On 2016/05/19 11:09:17, Finnur wrote: > The label ...
4 years, 7 months ago (2016-05-19 11:53:59 UTC) #8
Matt Giuca
Note what I said in my first comment: if this isn't landed by tomorrow (i.e., ...
4 years, 7 months ago (2016-05-19 11:55:24 UTC) #9
Matt Giuca
On 2016/05/19 11:55:24, Matt Giuca wrote: > Note what I said in my first comment: ...
4 years, 7 months ago (2016-05-19 11:55:49 UTC) #10
Finnur
Looks better in light of your explanation. Would still like to see the toggle disabled ...
4 years, 7 months ago (2016-05-19 16:13:06 UTC) #11
Matt Giuca
On 2016/05/19 16:13:06, Finnur wrote: > Looks better in light of your explanation. Would still ...
4 years, 7 months ago (2016-05-20 00:44:34 UTC) #12
Finnur
I just checked and disabling the toggle at the top is easy. As an experiment, ...
4 years, 7 months ago (2016-05-20 10:04:40 UTC) #13
Matt Giuca
Hi Finnur, Thanks for that tip. That did the trick and now the button is ...
4 years, 7 months ago (2016-05-23 05:39:07 UTC) #15
Matt Giuca
Oh and another thing: now that it's disabled, it isn't clear that we need "Always ...
4 years, 7 months ago (2016-05-23 05:39:44 UTC) #16
Finnur
LGTM. > or if we just keeping "Allowed" (while greyed out) is > sufficient. WDYT? ...
4 years, 7 months ago (2016-05-23 10:24:41 UTC) #17
Ted C
On 2016/05/23 10:24:41, Finnur wrote: > LGTM. > > > or if we just keeping ...
4 years, 7 months ago (2016-05-23 20:28:54 UTC) #18
Matt Giuca
On 2016/05/23 10:24:41, Finnur wrote: > LGTM. > > > or if we just keeping ...
4 years, 7 months ago (2016-05-24 00:41:20 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1989303005/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1989303005/80001
4 years, 7 months ago (2016-05-24 00:42:26 UTC) #21
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 7 months ago (2016-05-24 02:19:10 UTC) #23
commit-bot: I haz the power
4 years, 7 months ago (2016-05-24 02:20:15 UTC) #25
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/827ed475ee038454ee7dfb2cadba17568fc4a2b5
Cr-Commit-Position: refs/heads/master@{#395513}

Powered by Google App Engine
This is Rietveld 408576698