Chromium Code Reviews

Issue 5530005: Whitelist checkbox on ChromeOS users settings page should be inverted. (Closed)

Created:
10 years ago by xiyuan
Modified:
9 years, 7 months ago
Reviewers:
zel
CC:
chromium-reviews, arv (Not doing code reviews), davemoore+watch_chromium.org, ben+cc_chromium.org
Visibility:
Public.

Description

Whitelist checkbox on ChromeOS users settings page should be inverted. Text change in r67269 inverted the whitelist checkbox logic. - Add an "inverted_pref" property to PrefCheckBox so that we could map a checkbox to user inverted pref value; - Update user settings UI and messages; BUG=chromium-os:9788 TEST=Verify fix for chromium-os:9788 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=68249

Patch Set 1 #

Unified diffs Side-by-side diffs Stats (+24 lines, -13 lines)
M chrome/app/generated_resources.grd View 1 chunk +1 line, -1 line 0 comments
M chrome/browser/chromeos/dom_ui/accounts_options_handler.cc View 1 chunk +2 lines, -2 lines 0 comments
M chrome/browser/resources/options/chromeos_accounts_options.html View 1 chunk +3 lines, -3 lines 0 comments
M chrome/browser/resources/options/chromeos_accounts_options.js View 2 chunks +4 lines, -4 lines 0 comments
M chrome/browser/resources/options/pref_ui.js View 3 chunks +14 lines, -3 lines 0 comments

Messages

Total messages: 4 (0 generated)
xiyuan
10 years ago (2010-12-03 23:40:12 UTC) #1
zel
LGTM ...integrate it with 552d (just in case) and 597 as well
10 years ago (2010-12-04 00:02:14 UTC) #2
arv (Not doing code reviews)
Adding inverted prefs seems bad. Can we just fix the prefs? erik On Fri, Dec ...
10 years ago (2010-12-06 19:48:55 UTC) #3
xiyuan
10 years ago (2010-12-06 20:05:40 UTC) #4
Changing prefs would be a much bigger change and would not be a safe change for
the release.

I agree this is bad and filed a http://crosbug.com/10049 to clean it up. Maybe
in R10 after we have stabilized the design of users settings UI logic.

On 2010/12/06 19:48:55, arv wrote:
> Adding inverted prefs seems bad. Can we just fix the prefs?
> 
> erik
>

Powered by Google App Engine