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

Issue 8480037: Controlled settings indicator and bubble for chrome://preferences. (Closed)

Created:
9 years, 1 month ago by Mattias Nissler (ping if slow)
Modified:
9 years ago
CC:
chromium-reviews, arv (Not doing code reviews)
Visibility:
Public.

Description

Controlled settings indicator and bubble for chrome://preferences. The idea is that every setting that is under control by an external entity (e.g. policy, extension) will be annotated with an icon that, when click on, will show a bubble with more information. This implements the indicator icon and bubble. Going through the prefs UI and inserting the thing at the appropriate places is left for subsequent CLs :) BUG=chromium:104955 TEST=No observable changes. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=111897

Patch Set 1 #

Total comments: 15

Patch Set 2 : Address Patrick's comments. #

Patch Set 3 : Explain propagation. #

Total comments: 1

Patch Set 4 : Made the thing use <details> and <summary> #

Patch Set 5 : Fix typos. #

Patch Set 6 : Now with a proper controlledBy property. #

Total comments: 8

Patch Set 7 : Address James' feedback. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+320 lines, -0 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 1 chunk +40 lines, -9 lines 0 comments Download
A chrome/app/theme/controlled_setting_extension.png View 1 2 3 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/app/theme/controlled_setting_extension_gray.png View 1 2 3 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/app/theme/controlled_setting_extension_large.png View 1 2 3 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/app/theme/controlled_setting_mandatory.png View 1 2 3 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/app/theme/controlled_setting_mandatory_gray.png View 1 2 3 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/app/theme/controlled_setting_mandatory_large.png View 1 2 3 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/app/theme/controlled_setting_recommended.png View 1 2 3 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/app/theme/controlled_setting_recommended_gray.png View 1 2 3 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/app/theme/controlled_setting_recommended_large.png View 1 2 3 0 chunks +-1 lines, --1 lines 0 comments Download
M chrome/app/theme/theme_resources.grd View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/advanced_options.html View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
A chrome/browser/resources/options/controlled_setting.js View 1 2 3 4 5 6 1 chunk +138 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/options.js View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/options_bundle.js View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/options/options_page.css View 1 2 3 4 5 6 1 chunk +123 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/options/core_options_handler.cc View 2 chunks +14 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Patrick Dubroy
http://codereview.chromium.org/8480037/diff/1/chrome/browser/resources/options/controlled_setting.js File chrome/browser/resources/options/controlled_setting.js (right): http://codereview.chromium.org/8480037/diff/1/chrome/browser/resources/options/controlled_setting.js#newcode27 chrome/browser/resources/options/controlled_setting.js:27: // If there is a pref, track it's controlledBy ...
9 years, 1 month ago (2011-11-21 12:41:16 UTC) #1
Mattias Nissler (ping if slow)
James, can you review? Thanks. Note that there are some image files pending that I ...
9 years, 1 month ago (2011-11-21 13:45:01 UTC) #2
Patrick Dubroy
http://codereview.chromium.org/8480037/diff/1/chrome/browser/resources/options/options_page.css File chrome/browser/resources/options/options_page.css (right): http://codereview.chromium.org/8480037/diff/1/chrome/browser/resources/options/options_page.css#newcode617 chrome/browser/resources/options/options_page.css:617: background-size: contain; On 2011/11/21 13:45:01, Mattias Nissler wrote: > ...
9 years, 1 month ago (2011-11-21 13:53:19 UTC) #3
Mattias Nissler (ping if slow)
James: friendly ping.
9 years ago (2011-11-28 17:48:28 UTC) #4
Mattias Nissler (ping if slow)
Ah, I had the wrong James on the reviewers list. No surprise he doesn't answer ...
9 years ago (2011-11-28 21:44:28 UTC) #5
James Hawkins
http://codereview.chromium.org/8480037/diff/22001/chrome/browser/resources/options/controlled_setting.js File chrome/browser/resources/options/controlled_setting.js (right): http://codereview.chromium.org/8480037/diff/22001/chrome/browser/resources/options/controlled_setting.js#newcode6 chrome/browser/resources/options/controlled_setting.js:6: Remove blank line. http://codereview.chromium.org/8480037/diff/22001/chrome/browser/resources/options/options_page.css File chrome/browser/resources/options/options_page.css (right): http://codereview.chromium.org/8480037/diff/22001/chrome/browser/resources/options/options_page.css#newcode629 chrome/browser/resources/options/options_page.css:629: ...
9 years ago (2011-11-28 21:52:19 UTC) #6
Mattias Nissler (ping if slow)
PTAL. Thanks! http://codereview.chromium.org/8480037/diff/22001/chrome/browser/resources/options/controlled_setting.js File chrome/browser/resources/options/controlled_setting.js (right): http://codereview.chromium.org/8480037/diff/22001/chrome/browser/resources/options/controlled_setting.js#newcode6 chrome/browser/resources/options/controlled_setting.js:6: On 2011/11/28 21:52:19, James Hawkins wrote: > ...
9 years ago (2011-11-28 22:26:19 UTC) #7
James Hawkins
9 years ago (2011-11-28 22:41:22 UTC) #8
LGTM, thanks.

Powered by Google App Engine
This is Rietveld 408576698