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

Issue 8726007: Disable UI in chrome://settings/internet and details popup for policy-managed networks. (Closed)

Created:
9 years ago by Mattias Nissler (ping if slow)
Modified:
9 years ago
Reviewers:
stevenjb, James Hawkins
CC:
chromium-reviews, arv (Not doing code reviews), stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Disable UI in chrome://settings/internet and details popup for policy-managed networks. BUG=chromium-os:23124 TEST=Network configuration continues to work, options are locked down for policy-configured networks. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112507

Patch Set 1 #

Patch Set 2 : Only allocate space to policy indicators if at least one is visible. #

Total comments: 22

Patch Set 3 : Split out ui data handling into separate CL. #

Total comments: 2

Patch Set 4 : Rebase onto updated ui_data CL. #

Patch Set 5 : Make clang happy. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+211 lines, -54 lines) Patch
M chrome/app/generated_resources.grd View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/chromeos/internet_detail.html View 6 chunks +20 lines, -4 lines 0 comments Download
M chrome/browser/resources/options/chromeos/internet_network_element.js View 3 chunks +18 lines, -1 line 0 comments Download
M chrome/browser/resources/options/chromeos/internet_options.html View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/options/chromeos/internet_options.js View 1 2 12 chunks +85 lines, -39 lines 0 comments Download
M chrome/browser/resources/options/chromeos/internet_options_page.css View 1 2 chunks +10 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/options/chromeos/internet_options_handler.h View 1 2 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc View 1 2 3 4 15 chunks +65 lines, -8 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Mattias Nissler (ping if slow)
I'd appreciate if both of you could look at this, Steven for the functional review, ...
9 years ago (2011-11-28 20:00:57 UTC) #1
James Hawkins
http://codereview.chromium.org/8726007/diff/3001/chrome/browser/resources/options/chromeos/internet_detail_ip_config_list.js File chrome/browser/resources/options/chromeos/internet_detail_ip_config_list.js (right): http://codereview.chromium.org/8726007/diff/3001/chrome/browser/resources/options/chromeos/internet_detail_ip_config_list.js#newcode77 chrome/browser/resources/options/chromeos/internet_detail_ip_config_list.js:77: * @param {Event} e The end event. * @private ...
9 years ago (2011-11-28 21:38:06 UTC) #2
James Hawkins
LGTM with those nits.
9 years ago (2011-11-28 21:38:16 UTC) #3
stevenjb
I apologize if my comments don't make a lot of sense in the larger vision. ...
9 years ago (2011-11-29 07:23:19 UTC) #4
Mattias Nissler (ping if slow)
I now split out the ui_data handling into a separate CL: http://codereview.chromium.org/8728030/ This one is ...
9 years ago (2011-11-29 14:48:47 UTC) #5
stevenjb
http://codereview.chromium.org/8726007/diff/5002/chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc File chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc (right): http://codereview.chromium.org/8726007/diff/5002/chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc#newcode1386 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc:1386: switch (ui_data.controller()) { As discussed, I think this will ...
9 years ago (2011-11-29 18:15:38 UTC) #6
Mattias Nissler (ping if slow)
Ready for another round. http://codereview.chromium.org/8726007/diff/5002/chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc File chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc (right): http://codereview.chromium.org/8726007/diff/5002/chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc#newcode1386 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc:1386: switch (ui_data.controller()) { On 2011/11/29 ...
9 years ago (2011-11-29 21:29:04 UTC) #7
Mattias Nissler (ping if slow)
On 2011/11/29 21:29:04, Mattias Nissler wrote: > Ready for another round. > > http://codereview.chromium.org/8726007/diff/5002/chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc > ...
9 years ago (2011-12-01 13:19:52 UTC) #8
stevenjb
Sorry, thought I'd done this one. LGTM.
9 years ago (2011-12-01 16:55:02 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mnissler@chromium.org/8726007/8009
9 years ago (2011-12-01 18:32:24 UTC) #10
commit-bot: I haz the power
9 years ago (2011-12-01 20:03:48 UTC) #11
Change committed as 112507

Powered by Google App Engine
This is Rietveld 408576698