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

Issue 7342009: Show a different banner in chrome://settings for extension-controlled settings. (Closed)

Created:
9 years, 5 months ago by Bernhard Bauer
Modified:
9 years, 5 months ago
CC:
chromium-reviews, arv (Not doing code reviews), Paweł Hajdan Jr.
Visibility:
Public.

Description

Show a different banner in chrome://settings for extension-controlled settings. Remove ManagedPrefsBannerBase and OptionsManagedBannerHandler, as we show the banner purely from JS now. BUG=88341, 80604 TEST=see bug for manual test Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=92838

Patch Set 1 #

Patch Set 2 : fix stuff #

Total comments: 39

Patch Set 3 : review #

Patch Set 4 : rebase #

Patch Set 5 : fix #

Patch Set 6 : review #

Total comments: 1

Patch Set 7 : review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+160 lines, -473 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 1 chunk +25 lines, -7 lines 0 comments Download
D chrome/browser/policy/managed_prefs_banner_base.h View 3 1 chunk +0 lines, -75 lines 0 comments Download
D chrome/browser/policy/managed_prefs_banner_base.cc View 3 1 chunk +0 lines, -112 lines 0 comments Download
D chrome/browser/policy/managed_prefs_banner_base_unittest.cc View 3 1 chunk +0 lines, -89 lines 0 comments Download
M chrome/browser/resources/options/browser_options.js View 3 7 chunks +14 lines, -12 lines 0 comments Download
M chrome/browser/resources/options/content_settings.js View 1 3 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/resources/options/content_settings_ui.js View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/font_settings.js View 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/options/options.html View 1 2 3 4 5 6 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/resources/options/options_page.js View 1 2 3 4 5 6 3 chunks +23 lines, -25 lines 0 comments Download
M chrome/browser/resources/options/personal_options.js View 1 3 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/options/pref_ui.js View 1 2 3 8 chunks +46 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/options/advanced_options_handler.h View 3 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/options/advanced_options_handler.cc View 1 2 3 4 5 6 2 chunks +0 lines, -7 lines 0 comments Download
M chrome/browser/ui/webui/options/browser_options_handler.h View 1 2 3 4 5 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/options/browser_options_handler.cc View 1 2 3 4 5 6 2 chunks +0 lines, -7 lines 0 comments Download
M chrome/browser/ui/webui/options/core_options_handler.cc View 1 2 3 4 4 chunks +39 lines, -32 lines 0 comments Download
D chrome/browser/ui/webui/options/options_managed_banner_handler.h View 1 2 3 4 5 6 1 chunk +0 lines, -41 lines 0 comments Download
D chrome/browser/ui/webui/options/options_managed_banner_handler.cc View 1 2 3 4 5 6 1 chunk +0 lines, -38 lines 0 comments Download
M chrome/browser/ui/webui/options/personal_options_handler.h View 3 2 chunks +0 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/options/personal_options_handler.cc View 1 2 3 4 5 6 2 chunks +0 lines, -8 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 2 chunks +0 lines, -4 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
Bernhard Bauer
Please review. Evan: WebUI Mattias, Joao: Policy changes Glen: String changes Thanks! http://codereview.chromium.org/7342009/diff/2001/chrome/browser/resources/options/personal_options.js File chrome/browser/resources/options/personal_options.js ...
9 years, 5 months ago (2011-07-13 11:22:16 UTC) #1
Mattias Nissler (ping if slow)
LGTM with nits for the policy part. Also, I wonder whether the extension-controlled warnings should ...
9 years, 5 months ago (2011-07-13 12:07:58 UTC) #2
Evan Stade
even though I am not Glen, I gave my opinion on the strings http://codereview.chromium.org/7342009/diff/2001/chrome/app/generated_resources.grd File ...
9 years, 5 months ago (2011-07-13 17:06:03 UTC) #3
Glen Murphy
Agree with Evan with the additional removal of 'IT'. http://codereview.chromium.org/7342009/diff/2001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/7342009/diff/2001/chrome/app/generated_resources.grd#newcode7829 chrome/app/generated_resources.grd:7829: ...
9 years, 5 months ago (2011-07-13 17:23:16 UTC) #4
Joao da Silva
http://codereview.chromium.org/7342009/diff/2001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/7342009/diff/2001/chrome/app/generated_resources.grd#newcode7827 chrome/app/generated_resources.grd:7827: Nit: trailing whites http://codereview.chromium.org/7342009/diff/2001/chrome/browser/resources/options/personal_options.js File chrome/browser/resources/options/personal_options.js (right): http://codereview.chromium.org/7342009/diff/2001/chrome/browser/resources/options/personal_options.js#newcode100 chrome/browser/resources/options/personal_options.js:100: ...
9 years, 5 months ago (2011-07-13 17:35:17 UTC) #5
Bernhard Bauer
http://codereview.chromium.org/7342009/diff/2001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/7342009/diff/2001/chrome/app/generated_resources.grd#newcode7827 chrome/app/generated_resources.grd:7827: On 2011/07/13 17:35:17, Joao da Silva wrote: > Nit: ...
9 years, 5 months ago (2011-07-13 22:15:12 UTC) #6
Joao da Silva
LGTM! http://codereview.chromium.org/7342009/diff/2001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/7342009/diff/2001/chrome/app/generated_resources.grd#newcode7827 chrome/app/generated_resources.grd:7827: On 2011/07/13 22:15:12, Bernhard Bauer wrote: > On ...
9 years, 5 months ago (2011-07-14 09:04:11 UTC) #7
Bernhard Bauer
http://codereview.chromium.org/7342009/diff/2001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/7342009/diff/2001/chrome/app/generated_resources.grd#newcode7827 chrome/app/generated_resources.grd:7827: On 2011/07/14 09:04:11, Joao da Silva wrote: > On ...
9 years, 5 months ago (2011-07-14 10:15:56 UTC) #8
Bernhard Bauer
Evan, ping? On Thu, Jul 14, 2011 at 11:15, <bauerb@chromium.org> wrote: > > http://codereview.chromium.org/7342009/diff/2001/chrome/app/generated_resources.grd > ...
9 years, 5 months ago (2011-07-15 08:44:26 UTC) #9
Evan Stade
9 years, 5 months ago (2011-07-15 19:19:10 UTC) #10
sorry for slowness.

I don't have an opinion on "managed" vs. "controlled" as a UI string, but
whatever we choose should be consistent throughout the UI.

LGTM

http://codereview.chromium.org/7342009/diff/13001/chrome/browser/resources/op...
File chrome/browser/resources/options/options_page.js (right):

http://codereview.chromium.org/7342009/diff/13001/chrome/browser/resources/op...
chrome/browser/resources/options/options_page.js:836:
$('managed-prefs-text').innerText =
the standard is actually textContent (I'm sure we use innerText elsewhere but
might as well stick to the standard)

Powered by Google App Engine
This is Rietveld 408576698