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

Issue 1391433003: Extract policy indicator behavior (Closed)

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

Description

Extract policy indicator behavior This CL: * Moves settings/PolicyControllable -> cr_elements/CrPolicyPrefBehavior * Moves other pref specific behavior to CrPolicyPrefBehavior * Extacts shared behaviors from CrPolicyIndicator into a general purpose behavior, CrPolicyIndicatorBehavior * Renames CrPolicyIndicator to CrPolicyPrefIndicator This CL should also make it easier to include just the behaviors for Closure compilation. Otherwise it contains no functional changes, merely does some re-factoring to prep for the addition of a network indicator (See https://codereview.chromium.org/1369403006/ for the complete CL). BUG=521791 Committed: https://crrev.com/5f7fd124ff6dc5aab4b5fe9f9fa3e020bb630e85 Cr-Commit-Position: refs/heads/master@{#354417}

Patch Set 1 #

Total comments: 11

Patch Set 2 : Feedback #

Patch Set 3 : More feedback #

Patch Set 4 : Rebase #

Patch Set 5 : Rebase #

Patch Set 6 : Extract file moves and renames #

Patch Set 7 : . #

Patch Set 8 : . #

Total comments: 6

Patch Set 9 : Rebase #

Patch Set 10 : Feedback #

Patch Set 11 : Feedback #

Messages

Total messages: 20 (7 generated)
stevenjb
Extracting the pref indicator re-factoring for https://codereview.chromium.org/1369403006/
5 years, 2 months ago (2015-10-06 00:57:48 UTC) #2
michaelpg
beautiful. lgtm \o/ behaviors https://codereview.chromium.org/1391433003/diff/1/chrome/browser/resources/settings/languages_page/compiled_resources.gyp File chrome/browser/resources/settings/languages_page/compiled_resources.gyp (right): https://codereview.chromium.org/1391433003/diff/1/chrome/browser/resources/settings/languages_page/compiled_resources.gyp#newcode26 chrome/browser/resources/settings/languages_page/compiled_resources.gyp:26: '../../../../../ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator_behavior.js', Wish we could just ...
5 years, 2 months ago (2015-10-07 18:18:35 UTC) #3
stevenjb
dbeam@ - do you want to take a look at this one or are you ...
5 years, 2 months ago (2015-10-07 18:33:38 UTC) #4
Dan Beam
https://codereview.chromium.org/1391433003/diff/1/ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator_behavior.js File ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator_behavior.js (right): https://codereview.chromium.org/1391433003/diff/1/ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator_behavior.js#newcode36 ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator_behavior.js:36: getIcon: function(type) { remember, these are mixed in with ...
5 years, 2 months ago (2015-10-07 18:40:58 UTC) #5
stevenjb
Dan, PTAL https://codereview.chromium.org/1391433003/diff/1/ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator_behavior.js File ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator_behavior.js (right): https://codereview.chromium.org/1391433003/diff/1/ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator_behavior.js#newcode36 ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator_behavior.js:36: getIcon: function(type) { On 2015/10/07 18:40:58, Dan ...
5 years, 2 months ago (2015-10-07 23:37:15 UTC) #6
stevenjb
dbeam@ - ping
5 years, 2 months ago (2015-10-13 17:30:40 UTC) #7
stevenjb
Policy behavior CL 3/3 PTAL
5 years, 2 months ago (2015-10-14 20:10:11 UTC) #8
Dan Beam
lgtm w/suggestions https://codereview.chromium.org/1391433003/diff/140001/ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator_behavior.js File ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator_behavior.js (right): https://codereview.chromium.org/1391433003/diff/140001/ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator_behavior.js#newcode63 ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator_behavior.js:63: }, nit: can haz I18nBehavior soon? https://codereview.chromium.org/1391433003/diff/140001/ui/webui/resources/cr_elements/v1_0/policy/cr_policy_pref_behavior.js ...
5 years, 2 months ago (2015-10-15 04:31:01 UTC) #9
stevenjb
https://codereview.chromium.org/1391433003/diff/140001/ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator_behavior.js File ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator_behavior.js (right): https://codereview.chromium.org/1391433003/diff/140001/ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator_behavior.js#newcode63 ui/webui/resources/cr_elements/v1_0/policy/cr_policy_indicator_behavior.js:63: }, On 2015/10/15 04:31:01, Dan Beam wrote: > nit: ...
5 years, 2 months ago (2015-10-15 22:56:22 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1391433003/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1391433003/200001
5 years, 2 months ago (2015-10-15 22:57:46 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1391433003/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1391433003/220001
5 years, 2 months ago (2015-10-15 23:56:02 UTC) #18
commit-bot: I haz the power
Committed patchset #11 (id:220001)
5 years, 2 months ago (2015-10-16 01:13:55 UTC) #19
commit-bot: I haz the power
5 years, 2 months ago (2015-10-16 01:14:50 UTC) #20
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/5f7fd124ff6dc5aab4b5fe9f9fa3e020bb630e85
Cr-Commit-Position: refs/heads/master@{#354417}

Powered by Google App Engine
This is Rietveld 408576698