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

Issue 948283004: Fix the binding of the checked and disabled properties of cr-checkbox. (Closed)

Created:
5 years, 10 months ago by Jeremy Klein
Modified:
5 years, 9 months ago
CC:
chromium-reviews, khorimoto+watch-md-settings_chromium.org, michaelpg+watch-md-settings_chromium.org, jhawkins+watch-md-settings_chromium.org, orenb+watch-md-settings_chromium.org, jlklein+watch-md-settings_chromium.org, oshima+watch_chromium.org, stevenjb+watch-md-settings_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix the binding of the checked and disabled properties of cr-checkbox. Boolean binding is strange and in this case, we didn't actually want question marks in the bindings for the paper-checkbox's attributes. This makes everything work properly. R=michaelpg BUG= Committed: https://crrev.com/c021bb36c0e11541be2bf9c5ab5c9bce0dd5d6c3 Cr-Commit-Position: refs/heads/master@{#318132}

Patch Set 1 #

Patch Set 2 : Also fix the toggle button. #

Total comments: 3

Patch Set 3 : Remove spaces around binding braces. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M ui/webui/resources/cr_elements/cr_checkbox/cr_checkbox.html View 1 chunk +1 line, -1 line 0 comments Download
M ui/webui/resources/cr_elements/cr_toggle_button/cr_toggle_button.html View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13 (3 generated)
Jeremy Klein
5 years, 10 months ago (2015-02-25 02:08:35 UTC) #1
Kyle Horimoto
lgtm https://codereview.chromium.org/948283004/diff/2/ui/webui/resources/cr_elements/cr_toggle_button/cr_toggle_button.html File ui/webui/resources/cr_elements/cr_toggle_button/cr_toggle_button.html (right): https://codereview.chromium.org/948283004/diff/2/ui/webui/resources/cr_elements/cr_toggle_button/cr_toggle_button.html#newcode11 ui/webui/resources/cr_elements/cr_toggle_button/cr_toggle_button.html:11: checked="{{ checked }}" disabled="{{ disabled }}"> nit: Let's ...
5 years, 9 months ago (2015-02-25 18:51:19 UTC) #3
michaelpg
https://codereview.chromium.org/948283004/diff/2/ui/webui/resources/cr_elements/cr_checkbox/cr_checkbox.html File ui/webui/resources/cr_elements/cr_checkbox/cr_checkbox.html (left): https://codereview.chromium.org/948283004/diff/2/ui/webui/resources/cr_elements/cr_checkbox/cr_checkbox.html#oldcode11 ui/webui/resources/cr_elements/cr_checkbox/cr_checkbox.html:11: checked?="{{checked}}" disabled?="{{disabled}}" label="{{label}}"> Hmm, this seems to work for ...
5 years, 9 months ago (2015-02-25 19:03:36 UTC) #4
Kyle Horimoto
On 2015/02/25 19:03:36, michaelpg wrote: > https://codereview.chromium.org/948283004/diff/2/ui/webui/resources/cr_elements/cr_checkbox/cr_checkbox.html > File ui/webui/resources/cr_elements/cr_checkbox/cr_checkbox.html (left): > > https://codereview.chromium.org/948283004/diff/2/ui/webui/resources/cr_elements/cr_checkbox/cr_checkbox.html#oldcode11 > ...
5 years, 9 months ago (2015-02-25 19:11:51 UTC) #5
Jeremy Klein
On 2015/02/25 19:11:51, Kyle Horimoto wrote: > On 2015/02/25 19:03:36, michaelpg wrote: > > > ...
5 years, 9 months ago (2015-02-25 19:22:11 UTC) #6
michaelpg
On 2015/02/25 19:22:11, Jeremy Klein wrote: > On 2015/02/25 19:11:51, Kyle Horimoto wrote: > > ...
5 years, 9 months ago (2015-02-25 19:57:43 UTC) #7
Jeremy Klein
https://codereview.chromium.org/948283004/diff/2/ui/webui/resources/cr_elements/cr_toggle_button/cr_toggle_button.html File ui/webui/resources/cr_elements/cr_toggle_button/cr_toggle_button.html (right): https://codereview.chromium.org/948283004/diff/2/ui/webui/resources/cr_elements/cr_toggle_button/cr_toggle_button.html#newcode11 ui/webui/resources/cr_elements/cr_toggle_button/cr_toggle_button.html:11: checked="{{ checked }}" disabled="{{ disabled }}"> On 2015/02/25 18:51:19, ...
5 years, 9 months ago (2015-02-25 20:00:41 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/948283004/30001
5 years, 9 months ago (2015-02-25 20:01:26 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:30001)
5 years, 9 months ago (2015-02-25 22:47:01 UTC) #12
commit-bot: I haz the power
5 years, 9 months ago (2015-02-25 22:49:35 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/c021bb36c0e11541be2bf9c5ab5c9bce0dd5d6c3
Cr-Commit-Position: refs/heads/master@{#318132}

Powered by Google App Engine
This is Rietveld 408576698