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

Issue 5965003: Show warning text in the user settings page for non-owner users. (Closed)

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

Description

Show warning text in the user settings page for non-owner users. The user settings may only be modified by the owner. We should show a notice about it. This is based on kenmoore's mock. The image was converted from phishing_icon.png: % convert -geometry 17x17 ../shared/images/phishing_icon.png warning.png BUG=chromium-os:9254 TEST=confirmed that the warning text was shown for a non-owner and the guest. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=69812

Patch Set 1 #

Total comments: 6

Patch Set 2 : address comments #

Total comments: 7

Patch Set 3 : address comments #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -0 lines) Patch
M chrome/app/generated_resources.grd View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/dom_ui/accounts_options_handler.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/chromeos_accounts_options.html View 1 2 1 chunk +5 lines, -0 lines 1 comment Download
M chrome/browser/resources/options/chromeos_accounts_options.js View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/chromeos_accounts_options_page.css View 1 2 1 chunk +16 lines, -0 lines 0 comments Download
A chrome/browser/resources/options/warning.png View Binary file 0 comments Download

Messages

Total messages: 10 (0 generated)
satorux1
10 years ago (2010-12-20 07:35:00 UTC) #1
kochi
http://codereview.chromium.org/5965003/diff/1/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/5965003/diff/1/chrome/app/generated_resources.grd#newcode9494 chrome/app/generated_resources.grd:9494: <message name="IDS_OPTIONS_ACCOUNTS_OWNER_ONLY" desc="In the Accounts settings tab, the warning ...
10 years ago (2010-12-20 08:00:18 UTC) #2
satorux1
http://codereview.chromium.org/5965003/diff/1/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/5965003/diff/1/chrome/app/generated_resources.grd#newcode9494 chrome/app/generated_resources.grd:9494: <message name="IDS_OPTIONS_ACCOUNTS_OWNER_ONLY" desc="In the Accounts settings tab, the warning ...
10 years ago (2010-12-20 08:16:14 UTC) #3
kochi
LGTM
10 years ago (2010-12-20 08:23:11 UTC) #4
arv (Not doing code reviews)
http://codereview.chromium.org/5965003/diff/7001/chrome/browser/resources/options/chromeos_accounts_options.html File chrome/browser/resources/options/chromeos_accounts_options.html (right): http://codereview.chromium.org/5965003/diff/7001/chrome/browser/resources/options/chromeos_accounts_options.html#newcode6 chrome/browser/resources/options/chromeos_accounts_options.html:6: <img src="warning.png"> Use CSS? http://codereview.chromium.org/5965003/diff/7001/chrome/browser/resources/options/chromeos_accounts_options.js File chrome/browser/resources/options/chromeos_accounts_options.js (right): http://codereview.chromium.org/5965003/diff/7001/chrome/browser/resources/options/chromeos_accounts_options.js#newcode46 ...
10 years ago (2010-12-20 19:03:36 UTC) #5
satorux1
http://codereview.chromium.org/5965003/diff/7001/chrome/browser/resources/options/chromeos_accounts_options.html File chrome/browser/resources/options/chromeos_accounts_options.html (right): http://codereview.chromium.org/5965003/diff/7001/chrome/browser/resources/options/chromeos_accounts_options.html#newcode6 chrome/browser/resources/options/chromeos_accounts_options.html:6: <img src="warning.png"> On 2010/12/20 19:03:36, arv wrote: > Use ...
10 years ago (2010-12-20 23:42:00 UTC) #6
arv (Not doing code reviews)
On Mon, Dec 20, 2010 at 15:42, <satorux@chromium.org> wrote: > > http://codereview.chromium.org/5965003/diff/7001/chrome/browser/resources/options/chromeos_accounts_options.html > File chrome/browser/resources/options/chromeos_accounts_options.html ...
10 years ago (2010-12-20 23:57:09 UTC) #7
satorux1
Erik, Thank you for the valuable comments! http://codereview.chromium.org/5965003/diff/7001/chrome/browser/resources/options/chromeos_accounts_options.html File chrome/browser/resources/options/chromeos_accounts_options.html (right): http://codereview.chromium.org/5965003/diff/7001/chrome/browser/resources/options/chromeos_accounts_options.html#newcode6 chrome/browser/resources/options/chromeos_accounts_options.html:6: <img src="warning.png"> ...
10 years ago (2010-12-21 01:57:17 UTC) #8
arv (Not doing code reviews)
http://codereview.chromium.org/5965003/diff/16001/chrome/browser/resources/options/chromeos_accounts_options.html File chrome/browser/resources/options/chromeos_accounts_options.html (right): http://codereview.chromium.org/5965003/diff/16001/chrome/browser/resources/options/chromeos_accounts_options.html#newcode6 chrome/browser/resources/options/chromeos_accounts_options.html:6: <span id="warningIcon"></span> Sorry I wasn't clear. I was suggesting ...
10 years ago (2010-12-21 18:57:25 UTC) #9
satorux1
9 years, 11 months ago (2011-01-05 08:23:19 UTC) #10
Thank you for the comment. That makes a lot more sense.
http://codereview.chromium.org/5995011/ will fix this.

On 2010/12/21 18:57:25, arv wrote:
>
http://codereview.chromium.org/5965003/diff/16001/chrome/browser/resources/op...
> File chrome/browser/resources/options/chromeos_accounts_options.html (right):
> 
>
http://codereview.chromium.org/5965003/diff/16001/chrome/browser/resources/op...
> chrome/browser/resources/options/chromeos_accounts_options.html:6: <span
> id="warningIcon"></span>
> Sorry I wasn't clear. I was suggesting putting the background image on the div
> (ownerOnlyWarning). Changing from a img to a span only buys us the src
> indirection. By moving it to the div we also reduce the dependency on the DOM
> for layout of the warning

Powered by Google App Engine
This is Rietveld 408576698