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

Issue 152143009: Clarify settings UI in multi-profiles mode (Closed)

Created:
6 years, 10 months ago by michaelpg
Modified:
6 years, 10 months ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org, stevenjb+watch_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org
Visibility:
Public.

Description

Clarify settings UI in multi-profiles mode Adds bubble buttons to indicate which settings are shared. When signed in as a secondary user (i.e., added to a multi-profile session), a banner should be display. The "Internet connection" header should show a shared icon. Owner-controlled settings should show the owner icon. "Require password to wake from sleep" is a special case. This also fixes a bug where controlled settings on managed devices should say they are controlled by policy, but instead say the (non-existent) owner controls them. For details, see PRD with additional links at bottom: https://docs.google.com/a/google.com/document/d/1G09Mql1TtVFA4qhb7hlt4u2crBv6_fhrZMf40Yo--lc BUG=326354 R=dbeam@chromium.org, stevenjb@chromium.org, oshima@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251302

Patch Set 1 #

Total comments: 22

Patch Set 2 : Moved cros images, changed comments, strings #

Patch Set 3 : Forgot to upload browsertest #

Patch Set 4 : string fixes, rebase #

Total comments: 1

Patch Set 5 : disable locale change for secondary user #

Total comments: 8

Patch Set 6 : #

Total comments: 21

Patch Set 7 : js fixes #

Patch Set 8 : Split images into new CL #

Patch Set 9 : rebase... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+238 lines, -105 lines) Patch
M chrome/app/chromeos_strings.grdp View 1 2 3 4 5 6 7 2 chunks +15 lines, -4 lines 0 comments Download
M chrome/app/theme/theme_resources.grd View 1 2 3 4 5 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_impl.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/resources/options/browser_options.html View 1 2 3 4 5 6 7 2 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/resources/options/browser_options.js View 1 2 3 4 5 6 7 3 chunks +19 lines, -1 line 0 comments Download
M chrome/browser/resources/options/content_settings.css View 1 chunk +0 lines, -9 lines 0 comments Download
M chrome/browser/resources/options/controlled_setting.css View 2 chunks +5 lines, -6 lines 0 comments Download
M chrome/browser/resources/options/controlled_setting.js View 1 2 3 4 5 6 3 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/language_options.css View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/resources/options/language_options.html View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/options/language_options.js View 1 2 3 4 5 6 2 chunks +14 lines, -3 lines 0 comments Download
A chrome/browser/resources/options/secondary_user_banner.html View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/settings_banner.css View 1 2 3 2 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/resources/uber/uber_shared.css View 1 chunk +10 lines, -14 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc View 1 2 3 4 5 6 6 chunks +97 lines, -18 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc View 1 2 3 4 5 2 chunks +10 lines, -2 lines 0 comments Download
A + chrome/browser/ui/webui/options/chromeos/shared_options_browsertest.cc View 1 2 4 chunks +14 lines, -38 lines 0 comments Download
M chrome/browser/ui/webui/options/core_options_handler.h View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
ui/webui/resources/css/bubble_button.css View 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 35 (0 generated)
michaelpg
Adding icons to shared/owner-controlled settings in multi-profiles mode!
6 years, 10 months ago (2014-02-06 23:32:22 UTC) #1
stevenjb
https://codereview.chromium.org/152143009/diff/1/chrome/app/chromeos_strings.grdp File chrome/app/chromeos_strings.grdp (right): https://codereview.chromium.org/152143009/diff/1/chrome/app/chromeos_strings.grdp#newcode2682 chrome/app/chromeos_strings.grdp:2682: These settings belong to <ph name="OWNER_EMAIL">$1<ex>john@google.com</ex></ph>. It's odd that ...
6 years, 10 months ago (2014-02-07 00:40:08 UTC) #2
oshima
https://codereview.chromium.org/152143009/diff/1/chrome/app/theme/theme_resources.grd File chrome/app/theme/theme_resources.grd (right): https://codereview.chromium.org/152143009/diff/1/chrome/app/theme/theme_resources.grd#newcode156 chrome/app/theme/theme_resources.grd:156: <structure type="chrome_scaled_image" name="IDR_CONTROLLED_SETTING_OWNER" file="common/controlled_setting_owner.png" /> if this is for ...
6 years, 10 months ago (2014-02-07 00:55:12 UTC) #3
michaelpg
https://codereview.chromium.org/152143009/diff/1/chrome/app/chromeos_strings.grdp File chrome/app/chromeos_strings.grdp (right): https://codereview.chromium.org/152143009/diff/1/chrome/app/chromeos_strings.grdp#newcode2682 chrome/app/chromeos_strings.grdp:2682: These settings belong to <ph name="OWNER_EMAIL">$1<ex>john@google.com</ex></ph>. On 2014/02/07 00:40:09, ...
6 years, 10 months ago (2014-02-07 02:04:26 UTC) #4
oshima
c/a/theme lgtm
6 years, 10 months ago (2014-02-07 20:01:36 UTC) #5
michaelpg
Fixed strings and a few minor cleanups. https://codereview.chromium.org/152143009/diff/1/chrome/app/chromeos_strings.grdp File chrome/app/chromeos_strings.grdp (right): https://codereview.chromium.org/152143009/diff/1/chrome/app/chromeos_strings.grdp#newcode2682 chrome/app/chromeos_strings.grdp:2682: These settings ...
6 years, 10 months ago (2014-02-10 21:16:22 UTC) #6
stevenjb
C++ lgtm
6 years, 10 months ago (2014-02-11 21:22:44 UTC) #7
michaelpg
dbeam and/or estade, could you take a look at the settings UI changes? Let me ...
6 years, 10 months ago (2014-02-12 01:16:58 UTC) #8
Dmitry Polukhin
https://codereview.chromium.org/152143009/diff/800001/chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc File chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc (right): https://codereview.chromium.org/152143009/diff/800001/chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc#newcode50 chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc:50: return UserManager::Get()->GetOwnerEmail() == username; Why you don't check IsCurrentUserOwner() ...
6 years, 10 months ago (2014-02-12 18:58:44 UTC) #9
Elliot Glaysher
profiles owners stamp lgtm
6 years, 10 months ago (2014-02-12 20:02:38 UTC) #10
michaelpg
https://codereview.chromium.org/152143009/diff/800001/chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc File chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc (right): https://codereview.chromium.org/152143009/diff/800001/chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc#newcode50 chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc:50: return UserManager::Get()->GetOwnerEmail() == username; On 2014/02/12 18:58:45, Dmitry Polukhin ...
6 years, 10 months ago (2014-02-12 20:29:57 UTC) #11
Dmitry Polukhin
LGTM chrome/browser/ui/webui/options/chromeos/* Please remove IsLoggedInOwner if is used only in one place and for UI ...
6 years, 10 months ago (2014-02-12 21:06:30 UTC) #12
Dan Beam
https://codereview.chromium.org/152143009/diff/1080001/chrome/browser/resources/options/browser_options.html File chrome/browser/resources/options/browser_options.html (right): https://codereview.chromium.org/152143009/diff/1080001/chrome/browser/resources/options/browser_options.html#newcode11 chrome/browser/resources/options/browser_options.html:11: <include src="secondary_user_banner.html"> ^ why are you including this file ...
6 years, 10 months ago (2014-02-12 21:56:31 UTC) #13
michaelpg
https://codereview.chromium.org/152143009/diff/1080001/chrome/browser/resources/options/browser_options.html File chrome/browser/resources/options/browser_options.html (right): https://codereview.chromium.org/152143009/diff/1080001/chrome/browser/resources/options/browser_options.html#newcode11 chrome/browser/resources/options/browser_options.html:11: <include src="secondary_user_banner.html"> On 2014/02/12 21:56:31, Dan Beam wrote: > ...
6 years, 10 months ago (2014-02-13 02:15:22 UTC) #14
michaelpg
Screenshots are available at https://drive.google.com/a/google.com/folderview?id=0B6HSBrih6pNUMUl0QmJUV2JPVTQ&usp=sharing This shows the changes in the alignment of the bubble ...
6 years, 10 months ago (2014-02-13 19:36:09 UTC) #15
Dan Beam
lgtm the network screenshot looks really funky, imo...
6 years, 10 months ago (2014-02-13 23:06:09 UTC) #16
michaelpg
On 2014/02/13 23:06:09, Dan Beam wrote: > lgtm > > the network screenshot looks really ...
6 years, 10 months ago (2014-02-13 23:14:54 UTC) #17
michaelpg
The CQ bit was checked by michaelpg@chromium.org
6 years, 10 months ago (2014-02-13 23:27:03 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaelpg@chromium.org/152143009/1290001
6 years, 10 months ago (2014-02-13 23:32:05 UTC) #19
michaelpg
The CQ bit was unchecked by michaelpg@chromium.org
6 years, 10 months ago (2014-02-13 23:35:46 UTC) #20
michaelpg
The CQ bit was checked by michaelpg@chromium.org
6 years, 10 months ago (2014-02-13 23:58:33 UTC) #21
michaelpg
The CQ bit was unchecked by michaelpg@chromium.org
6 years, 10 months ago (2014-02-13 23:58:39 UTC) #22
michaelpg
The CQ bit was checked by michaelpg@chromium.org
6 years, 10 months ago (2014-02-14 01:18:35 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaelpg@chromium.org/152143009/1700001
6 years, 10 months ago (2014-02-14 01:19:55 UTC) #24
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-14 02:06:10 UTC) #25
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) check_deps http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=226831
6 years, 10 months ago (2014-02-14 02:06:11 UTC) #26
michaelpg
The CQ bit was checked by michaelpg@chromium.org
6 years, 10 months ago (2014-02-14 02:40:34 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaelpg@chromium.org/152143009/1700001
6 years, 10 months ago (2014-02-14 02:42:02 UTC) #28
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-14 03:54:26 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel
6 years, 10 months ago (2014-02-14 03:54:27 UTC) #30
michaelpg
The CQ bit was checked by michaelpg@chromium.org
6 years, 10 months ago (2014-02-14 04:45:36 UTC) #31
michaelpg
The CQ bit was unchecked by michaelpg@chromium.org
6 years, 10 months ago (2014-02-14 04:45:52 UTC) #32
michaelpg
The CQ bit was checked by michaelpg@chromium.org
6 years, 10 months ago (2014-02-14 04:46:29 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaelpg@chromium.org/152143009/2110001
6 years, 10 months ago (2014-02-14 04:47:30 UTC) #34
commit-bot: I haz the power
6 years, 10 months ago (2014-02-14 14:07:30 UTC) #35
Message was sent while issue was closed.
Change committed as 251302

Powered by Google App Engine
This is Rietveld 408576698