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

Issue 2106823002: Disable the autoplay setting entry when Data Saver is ON. (Closed)

Created:
4 years, 5 months ago by mlamouri (slow - plz ping)
Modified:
4 years, 5 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@autoplay-string
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Disable the autoplay setting entry when Data Saver is ON. The reason is that we will not autoplay muted videos when Data Saver is on and we should avoid confusing users by showing a setting that is marked as enabled. BUG=624326 Committed: https://crrev.com/a56744ee0e2d32af569ebc4f47fea812a229ab76 Cr-Commit-Position: refs/heads/master@{#402905}

Patch Set 1 #

Total comments: 4

Patch Set 2 : fixes #

Patch Set 3 : update strings to latest proposal #

Patch Set 4 : disabled icon #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -3 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/preferences/website/ContentSettingsResources.java View 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/website/SiteSettingsPreferences.java View 1 2 3 3 chunks +13 lines, -3 lines 0 comments Download
M chrome/android/java/strings/android_chrome_strings.grd View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 17 (7 generated)
mlamouri (slow - plz ping)
miguelg@ and bauerb@, can one of you have a look at this? so I can ...
4 years, 5 months ago (2016-06-28 15:59:37 UTC) #2
Miguel Garcia
lgtm is there a way we can add a test for this logic in a ...
4 years, 5 months ago (2016-06-28 16:04:05 UTC) #3
mlamouri (slow - plz ping)
I will look into the tests side of things. https://codereview.chromium.org/2106823002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/preferences/website/SiteSettingsPreferences.java File chrome/android/java/src/org/chromium/chrome/browser/preferences/website/SiteSettingsPreferences.java (right): https://codereview.chromium.org/2106823002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/preferences/website/SiteSettingsPreferences.java#newcode209 chrome/android/java/src/org/chromium/chrome/browser/preferences/website/SiteSettingsPreferences.java:209: ...
4 years, 5 months ago (2016-06-28 16:09:51 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2106823002/40001
4 years, 5 months ago (2016-06-29 09:59:58 UTC) #7
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-06-29 12:00:24 UTC) #9
mlamouri (slow - plz ping)
I've added tinting on the icon so it also looks disabled.
4 years, 5 months ago (2016-06-29 19:04:15 UTC) #10
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/2106823002/60001
4 years, 5 months ago (2016-06-29 19:04:56 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 5 months ago (2016-06-29 19:45:09 UTC) #14
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-06-29 19:45:28 UTC) #15
commit-bot: I haz the power
4 years, 5 months ago (2016-06-29 19:46:37 UTC) #17
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/a56744ee0e2d32af569ebc4f47fea812a229ab76
Cr-Commit-Position: refs/heads/master@{#402905}

Powered by Google App Engine
This is Rietveld 408576698