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

Issue 1369403006: Add cr-policy-network-indicator and add to internet settings (Closed)

Created:
5 years, 2 months ago by stevenjb
Modified:
5 years, 2 months ago
Reviewers:
Dan Beam, michaelpg
CC:
chromium-reviews, extensions-reviews_chromium.org, michaelpg+watch-md-settings_chromium.org, jlklein+watch-closure_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, vitalyp+closure_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org, dbeam+watch-closure_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add cr-policy-network-indicator and add to internet settings This CL: * Moves settings/PolicyControllable -> cr_elements/CrPolicyPrefBehavior * Turns CrPolicyIndicator into a general purpose behavior, CrPolicyIndicatorBehavior * Adds CrPolicyPrefBehavior for pref specific behavior * Adds CrPolicyPrefIndicator for pref based indicators * Adds CrPolicyNetworkBehavior for networking specific behavior * Adds CrPolicyNetworkIndicator for network based indicators This CL should also make it easier to include just the behaviors for Closure compilation.

Patch Set 1 #

Patch Set 2 : Rename files, rebase #

Patch Set 3 : Separate policy indicator strings #

Unified diffs Side-by-side diffs Delta from patch set Stats (+665 lines, -303 lines) Patch
M chrome/app/generated_resources.grd View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/app/settings_strings.grdp View 1 2 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/resources/settings/controls/compiled_resources.gyp View 1 2 chunks +8 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/controls/settings_checkbox.html View 1 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/controls/settings_checkbox.js View 1 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/resources/settings/controls/settings_input.html View 1 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/resources/settings/controls/settings_input.js View 1 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/resources/settings/internet_page/compiled_resources.gyp View 1 3 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/internet_page/internet_detail_page.css View 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/resources/settings/internet_page/internet_detail_page.html View 1 2 chunks +18 lines, -6 lines 0 comments Download
M chrome/browser/resources/settings/internet_page/internet_detail_page.js View 1 8 chunks +20 lines, -10 lines 0 comments Download
M chrome/browser/resources/settings/internet_page/network_property_list.css View 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/internet_page/network_property_list.html View 1 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/internet_page/network_property_list.js View 1 5 chunks +20 lines, -10 lines 0 comments Download
M chrome/browser/resources/settings/internet_page/network_proxy.css View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/internet_page/network_proxy.html View 1 4 chunks +23 lines, -6 lines 0 comments Download
M chrome/browser/resources/settings/internet_page/network_proxy.js View 1 2 chunks +17 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/languages_page/compiled_resources.gyp View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/resources/settings/languages_page/language_detail_page.html View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/resources/settings/languages_page/language_detail_page.js View 1 chunk +1 line, -1 line 0 comments Download
D chrome/browser/resources/settings/policy_controllable/policy_controllable.html View 1 chunk +0 lines, -1 line 0 comments Download
D chrome/browser/resources/settings/policy_controllable/policy_controllable.js View 1 chunk +0 lines, -20 lines 0 comments Download
M chrome/browser/resources/settings/settings_resources.grd View 1 1 chunk +0 lines, -6 lines 0 comments Download
A + chrome/browser/ui/webui/policy_indicator_localized_strings_provider.h View 1 2 1 chunk +6 lines, -6 lines 0 comments Download
A chrome/browser/ui/webui/policy_indicator_localized_strings_provider.cc View 1 2 1 chunk +31 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc View 1 2 3 chunks +3 lines, -15 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M extensions/common/api/networking_private.idl View 2 chunks +6 lines, -4 lines 0 comments Download
M ui/webui/resources/cr_elements/v1_0/network/cr_onc_types.js View 2 chunks +23 lines, -9 lines 0 comments Download
M ui/webui/resources/cr_elements/v1_0/policy/compiled_resources.gyp View 1 2 chunks +60 lines, -1 line 0 comments Download
M ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator.html View 1 1 chunk +0 lines, -18 lines 0 comments Download
M ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator.js View 1 1 chunk +0 lines, -151 lines 0 comments Download
A ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator_behavior.html View 1 1 chunk +1 line, -0 lines 0 comments Download
A ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator_behavior.js View 1 1 chunk +89 lines, -0 lines 0 comments Download
A ui/webui/resources/cr_elements/v1_0/policy/cr_policy_network_behavior.html View 1 1 chunk +1 line, -0 lines 0 comments Download
A ui/webui/resources/cr_elements/v1_0/policy/cr_policy_network_behavior.js View 1 1 chunk +46 lines, -0 lines 0 comments Download
A + ui/webui/resources/cr_elements/v1_0/policy/cr_policy_network_indicator.html View 1 1 chunk +7 lines, -5 lines 0 comments Download
A ui/webui/resources/cr_elements/v1_0/policy/cr_policy_network_indicator.js View 1 1 chunk +89 lines, -0 lines 0 comments Download
A ui/webui/resources/cr_elements/v1_0/policy/cr_policy_pref_behavior.html View 1 1 chunk +1 line, -0 lines 0 comments Download
A ui/webui/resources/cr_elements/v1_0/policy/cr_policy_pref_behavior.js View 1 1 chunk +44 lines, -0 lines 0 comments Download
A + ui/webui/resources/cr_elements/v1_0/policy/cr_policy_pref_indicator.html View 1 1 chunk +7 lines, -5 lines 0 comments Download
A ui/webui/resources/cr_elements/v1_0/policy/cr_policy_pref_indicator.js View 1 1 chunk +66 lines, -0 lines 0 comments Download
M ui/webui/resources/cr_elements_resources.grdp View 1 1 chunk +28 lines, -4 lines 0 comments Download

Messages

Total messages: 14 (2 generated)
stevenjb
5 years, 2 months ago (2015-10-02 23:00:23 UTC) #2
michaelpg
this naming scheme is confusing. how do "CrPolicySettings" and "CrPolicyPrefIndicator" and "CrPolicyIndicator" fit together? I ...
5 years, 2 months ago (2015-10-03 18:52:14 UTC) #3
Dan Beam
On 2015/10/03 18:52:14, michaelpg (OOO til 19th) wrote: > A secondary concern: doesn't Pref stuff ...
5 years, 2 months ago (2015-10-04 17:21:20 UTC) #4
michaelpg
On 2015/10/04 17:21:20, Dan Beam wrote: > On 2015/10/03 18:52:14, michaelpg (OOO til 19th) wrote: ...
5 years, 2 months ago (2015-10-04 17:25:48 UTC) #5
Dan Beam
On 2015/10/04 17:25:48, michaelpg (OOO til 19th) wrote: > On 2015/10/04 17:21:20, Dan Beam wrote: ...
5 years, 2 months ago (2015-10-04 19:28:29 UTC) #6
stevenjb
On 2015/10/04 19:28:29, Dan Beam wrote: > On 2015/10/04 17:25:48, michaelpg (OOO til 19th) wrote: ...
5 years, 2 months ago (2015-10-05 17:44:48 UTC) #7
stevenjb
On 2015/10/05 17:44:48, stevenjb wrote: > On 2015/10/04 19:28:29, Dan Beam wrote: > > On ...
5 years, 2 months ago (2015-10-05 18:14:08 UTC) #8
michaelpg
ok. I'm fine with all of that. Only have 15 minutes of free Internet left ...
5 years, 2 months ago (2015-10-05 19:02:02 UTC) #10
stevenjb
PTAL
5 years, 2 months ago (2015-10-05 22:28:42 UTC) #11
Dan Beam
This CL: * Moves settings/PolicyControllable -> cr_elements/CrPolicyPrefBehavior * Turns CrPolicyIndicator into a general purpose behavior, ...
5 years, 2 months ago (2015-10-05 23:59:13 UTC) #12
stevenjb
On 2015/10/05 23:59:13, Dan Beam wrote: > This CL: > * Moves settings/PolicyControllable -> cr_elements/CrPolicyPrefBehavior ...
5 years, 2 months ago (2015-10-06 00:07:46 UTC) #13
stevenjb
5 years, 2 months ago (2015-10-06 01:03:33 UTC) #14
On 2015/10/06 00:07:46, stevenjb wrote:
> On 2015/10/05 23:59:13, Dan Beam wrote:
> > This CL:
> > * Moves settings/PolicyControllable -> cr_elements/CrPolicyPrefBehavior
> > * Turns CrPolicyIndicator into a general purpose behavior,
> > CrPolicyIndicatorBehavior
> > * Adds CrPolicyPrefBehavior for pref specific behavior
> > * Adds CrPolicyPrefIndicator for pref based indicators
> > * Adds CrPolicyNetworkBehavior for networking specific behavior
> > * Adds CrPolicyNetworkIndicator for network based indicators
> > 
> > ^ can you do this in more CLs rather than just 1?
> 
> I can try to break it up a little, but I'm not sure how much sense the
> intermediate steps will make. (Opinions seem to vary on non-functional
> intermediate CLs). I'll see what I can do.

OK, separating the pref indicator re-factoring and the addition of the network
indicator makes a lot of sense:
* https://codereview.chromium.org/1391433003 - re-factoring
* https://codereview.chromium.org/1376383003 - Add cr-policy-network-indicator

Powered by Google App Engine
This is Rietveld 408576698