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

Issue 11096020: Add first batch of controlled setting indicators (Closed)

Created:
8 years, 2 months ago by bartfab (slow)
Modified:
8 years, 2 months ago
CC:
chromium-reviews, arv (Not doing code reviews)
Visibility:
Public.

Description

Add first batch of controlled setting indicators This CL adds controlled settings indicators to the settings UI homepage overlay that indicate which settings exactly are enforced or recommended through policy. Follow-up CLs will add indicators to all other settings pages as well. The CL also adds a browser test verifying that the indicators show enforced/recommended state as expected. BUG=104955 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=160880

Patch Set 1 #

Total comments: 21

Patch Set 2 : Comments addressed. #

Patch Set 3 : Comment addressed. #

Total comments: 2

Patch Set 4 : Nit addressed. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+227 lines, -18 lines) Patch
M chrome/browser/policy/policy_prefs_browsertest.cc View 1 2 9 chunks +178 lines, -1 line 0 comments Download
M chrome/browser/resources/options/home_page_overlay.css View 1 chunk +6 lines, -2 lines 0 comments Download
M chrome/browser/resources/options/home_page_overlay.html View 1 2 3 1 chunk +16 lines, -6 lines 0 comments Download
M chrome/browser/resources/options/home_page_overlay.js View 2 chunks +13 lines, -9 lines 0 comments Download
M chrome/test/data/policy/policy_test_cases.json View 2 chunks +14 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
bartfab (slow)
Hi, could you please have a look? James, this adds the first controlled setting indicators ...
8 years, 2 months ago (2012-10-09 11:35:29 UTC) #1
Joao da Silva
Please submit a bot run. The policy tests look mostly good. http://codereview.chromium.org/11096020/diff/1/chrome/browser/policy/policy_prefs_browsertest.cc File chrome/browser/policy/policy_prefs_browsertest.cc (right): ...
8 years, 2 months ago (2012-10-09 14:09:14 UTC) #2
bartfab (slow)
http://codereview.chromium.org/11096020/diff/1/chrome/browser/policy/policy_prefs_browsertest.cc File chrome/browser/policy/policy_prefs_browsertest.cc (right): http://codereview.chromium.org/11096020/diff/1/chrome/browser/policy/policy_prefs_browsertest.cc#newcode94 chrome/browser/policy/policy_prefs_browsertest.cc:94: bool can_be_recommended() const { return can_be_recommended_; } On 2012/10/09 ...
8 years, 2 months ago (2012-10-09 14:33:02 UTC) #3
Joao da Silva
policy stuff lgtm http://codereview.chromium.org/11096020/diff/1/chrome/browser/policy/policy_prefs_browsertest.cc File chrome/browser/policy/policy_prefs_browsertest.cc (right): http://codereview.chromium.org/11096020/diff/1/chrome/browser/policy/policy_prefs_browsertest.cc#newcode315 chrome/browser/policy/policy_prefs_browsertest.cc:315: ASSERT_TRUE(content::ExecuteJavaScriptAndExtractString( On 2012/10/09 14:33:02, bartfab wrote: ...
8 years, 2 months ago (2012-10-09 15:00:12 UTC) #4
bartfab (slow)
http://codereview.chromium.org/11096020/diff/1/chrome/browser/policy/policy_prefs_browsertest.cc File chrome/browser/policy/policy_prefs_browsertest.cc (right): http://codereview.chromium.org/11096020/diff/1/chrome/browser/policy/policy_prefs_browsertest.cc#newcode496 chrome/browser/policy/policy_prefs_browsertest.cc:496: indicator_test_case = indicator_test_cases.begin(); On 2012/10/09 15:00:13, Joao da Silva ...
8 years, 2 months ago (2012-10-09 15:02:24 UTC) #5
James Hawkins
LGTM with nit. http://codereview.chromium.org/11096020/diff/7002/chrome/browser/resources/options/home_page_overlay.html File chrome/browser/resources/options/home_page_overlay.html (right): http://codereview.chromium.org/11096020/diff/7002/chrome/browser/resources/options/home_page_overlay.html#newcode23 chrome/browser/resources/options/home_page_overlay.html:23: value="false" dialog-pref></span> nit: Closing brace for ...
8 years, 2 months ago (2012-10-09 15:17:11 UTC) #6
bartfab (slow)
http://codereview.chromium.org/11096020/diff/7002/chrome/browser/resources/options/home_page_overlay.html File chrome/browser/resources/options/home_page_overlay.html (right): http://codereview.chromium.org/11096020/diff/7002/chrome/browser/resources/options/home_page_overlay.html#newcode23 chrome/browser/resources/options/home_page_overlay.html:23: value="false" dialog-pref></span> On 2012/10/09 15:17:11, James Hawkins wrote: > ...
8 years, 2 months ago (2012-10-09 15:22:06 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bartfab@chromium.org/11096020/12
8 years, 2 months ago (2012-10-09 16:17:26 UTC) #8
commit-bot: I haz the power
8 years, 2 months ago (2012-10-09 18:23:39 UTC) #9
Change committed as 160880

Powered by Google App Engine
This is Rietveld 408576698