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

Issue 2178273002: MD Settings: add a <controlled-button> that uses prefs to disable itself (Closed)

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

Description

MD Settings: add a <controlled-button> that uses prefs to disable itself R=stevenjb@chromium.org BUG=614265 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/c70c674fc869d73de105d28190b2b30c510e9935 Cr-Commit-Position: refs/heads/master@{#407985}

Patch Set 1 : try again #

Total comments: 2

Patch Set 2 : asdf #

Patch Set 3 : asdf #

Patch Set 4 : asdf #

Total comments: 3

Patch Set 5 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -5 lines) Patch
A chrome/browser/resources/settings/controls/controlled_button.html View 1 2 3 4 1 chunk +41 lines, -0 lines 0 comments Download
A chrome/browser/resources/settings/controls/controlled_button.js View 1 2 3 4 1 chunk +37 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/downloads_page/downloads_page.html View 2 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/resources/settings/settings_resources.grd View 1 1 chunk +6 lines, -0 lines 0 comments Download
M ui/webui/resources/cr_elements/policy/cr_policy_pref_indicator.html View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 17 (8 generated)
stevenjb
FWIW, I think pref_controlled_button would be more clear, but this seems fine also. lgtm with ...
4 years, 4 months ago (2016-07-26 16:19:34 UTC) #3
Dan Beam
can you take another look? I actually hadn't sent it for review yet, but code ...
4 years, 4 months ago (2016-07-26 19:36:50 UTC) #4
Dan Beam
and I could change the name, yeah. I was hoping to make some of this ...
4 years, 4 months ago (2016-07-26 19:38:40 UTC) #5
stevenjb
https://codereview.chromium.org/2178273002/diff/80001/chrome/browser/resources/settings/controls/controlled_button.html File chrome/browser/resources/settings/controls/controlled_button.html (right): https://codereview.chromium.org/2178273002/diff/80001/chrome/browser/resources/settings/controls/controlled_button.html#newcode27 chrome/browser/resources/settings/controls/controlled_button.html:27: <template is="dom-if" if="[[disabled]]"> If we use |disabled|, then I ...
4 years, 4 months ago (2016-07-26 19:50:09 UTC) #8
Dan Beam
https://codereview.chromium.org/2178273002/diff/80001/chrome/browser/resources/settings/controls/controlled_button.html File chrome/browser/resources/settings/controls/controlled_button.html (right): https://codereview.chromium.org/2178273002/diff/80001/chrome/browser/resources/settings/controls/controlled_button.html#newcode27 chrome/browser/resources/settings/controls/controlled_button.html:27: <template is="dom-if" if="[[disabled]]"> On 2016/07/26 19:50:09, stevenjb wrote: > ...
4 years, 4 months ago (2016-07-26 22:28:41 UTC) #11
stevenjb
lgtm
4 years, 4 months ago (2016-07-26 23:11:41 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2178273002/100001
4 years, 4 months ago (2016-07-26 23:13:51 UTC) #14
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years, 4 months ago (2016-07-27 00:21:28 UTC) #15
commit-bot: I haz the power
4 years, 4 months ago (2016-07-27 00:24:07 UTC) #17
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/c70c674fc869d73de105d28190b2b30c510e9935
Cr-Commit-Position: refs/heads/master@{#407985}

Powered by Google App Engine
This is Rietveld 408576698