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

Issue 1368733002: Introduce cr-settings-input and eliminate cr-input (Closed)

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

Description

Introduce cr-settings-input and eliminate cr-input This CL: * Eliminates cr-input * Introduces cr-settings-input for input associated with a pref * Uses cr-settings-input where appropriate and replaces other instances of cr-input with paper-input BUG=532540 Committed: https://crrev.com/ae407c9b489ad6e47ffcd8a2f570d4af1adbbc24 Cr-Commit-Position: refs/heads/master@{#350697}

Patch Set 1 #

Patch Set 2 : . #

Total comments: 16

Patch Set 3 : Elim unuseful bool support + nits #

Total comments: 10

Patch Set 4 : More feedback #

Total comments: 6

Patch Set 5 : Propagate readonly + feedback #

Patch Set 6 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+224 lines, -239 lines) Patch
M chrome/browser/resources/settings/appearance_page/appearance_page.html View 1 2 3 4 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/downloads_page/downloads_page.css View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/downloads_page/downloads_page.html View 1 2 3 4 2 chunks +5 lines, -6 lines 0 comments Download
A + chrome/browser/resources/settings/input/input.css View 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/browser/resources/settings/input/input.html View 1 2 3 4 1 chunk +10 lines, -10 lines 0 comments Download
A chrome/browser/resources/settings/input/input.js View 1 2 3 4 1 chunk +138 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/internet_page/network_proxy.css View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/internet_page/network_proxy.html View 1 2 3 3 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/resources/settings/internet_page/network_proxy_input.css View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/internet_page/network_proxy_input.html View 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/resources/settings/internet_page/network_siminfo.css View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/settings/internet_page/network_siminfo.html View 5 chunks +17 lines, -17 lines 0 comments Download
M chrome/browser/resources/settings/search_engines_page/search_engine_adder.html View 2 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/resources/settings/search_engines_page/search_engine_entry.css View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/settings/search_engines_page/search_engine_entry.html View 1 chunk +13 lines, -11 lines 0 comments Download
M chrome/browser/resources/settings/search_engines_page/search_engine_entry.js View 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/resources/settings/search_engines_page/search_engines_list.html View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/resources/settings/settings_resources.grd View 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/users_page/users_page.css View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/users_page/users_page.html View 2 chunks +3 lines, -3 lines 0 comments Download
D ui/webui/resources/cr_elements/v1_0/cr_input/cr_input.css View 1 chunk +0 lines, -7 lines 0 comments Download
D ui/webui/resources/cr_elements/v1_0/cr_input/cr_input.html View 1 chunk +0 lines, -17 lines 0 comments Download
D ui/webui/resources/cr_elements/v1_0/cr_input/cr_input.js View 1 chunk +0 lines, -96 lines 0 comments Download
D ui/webui/resources/cr_elements/v1_0/cr_input/demo.html View 1 chunk +0 lines, -15 lines 0 comments Download
M ui/webui/resources/cr_elements/v1_0/demo_element.html View 1 chunk +0 lines, -18 lines 0 comments Download
M ui/webui/resources/cr_elements_resources.grdp View 1 chunk +0 lines, -9 lines 0 comments Download

Messages

Total messages: 19 (6 generated)
stevenjb
5 years, 3 months ago (2015-09-24 18:29:20 UTC) #2
michaelpg
https://codereview.chromium.org/1368733002/diff/20001/chrome/browser/resources/settings/input/input.js File chrome/browser/resources/settings/input/input.js (right): https://codereview.chromium.org/1368733002/diff/20001/chrome/browser/resources/settings/input/input.js#newcode12 chrome/browser/resources/settings/input/input.js:12: * <cr-settings-input></cr-settings-input> exclude useless example IMO https://codereview.chromium.org/1368733002/diff/20001/chrome/browser/resources/settings/input/input.js#newcode72 chrome/browser/resources/settings/input/input.js:72: focus: ...
5 years, 3 months ago (2015-09-24 18:59:31 UTC) #3
stevenjb
https://codereview.chromium.org/1368733002/diff/20001/chrome/browser/resources/settings/input/input.js File chrome/browser/resources/settings/input/input.js (right): https://codereview.chromium.org/1368733002/diff/20001/chrome/browser/resources/settings/input/input.js#newcode12 chrome/browser/resources/settings/input/input.js:12: * <cr-settings-input></cr-settings-input> On 2015/09/24 18:59:31, michaelpg wrote: > exclude ...
5 years, 3 months ago (2015-09-24 19:28:53 UTC) #4
michaelpg
https://codereview.chromium.org/1368733002/diff/20001/chrome/browser/resources/settings/input/input.js File chrome/browser/resources/settings/input/input.js (right): https://codereview.chromium.org/1368733002/diff/20001/chrome/browser/resources/settings/input/input.js#newcode119 chrome/browser/resources/settings/input/input.js:119: this.set('pref.value', this.value == 'true'); On 2015/09/24 19:28:53, stevenjb wrote: ...
5 years, 3 months ago (2015-09-24 19:42:15 UTC) #5
stevenjb
dschuyler@ - I think this CL is worth having two sets fo eyes on, so ...
5 years, 3 months ago (2015-09-24 19:59:59 UTC) #6
michaelpg
lgtm, but i agree wait for dschuyler@ https://codereview.chromium.org/1368733002/diff/40001/chrome/browser/resources/settings/downloads_page/downloads_page.html File chrome/browser/resources/settings/downloads_page/downloads_page.html (right): https://codereview.chromium.org/1368733002/diff/40001/chrome/browser/resources/settings/downloads_page/downloads_page.html#newcode15 chrome/browser/resources/settings/downloads_page/downloads_page.html:15: <cr-settings-input id="downloadsPath" ...
5 years, 3 months ago (2015-09-24 20:03:54 UTC) #7
stevenjb
https://codereview.chromium.org/1368733002/diff/40001/chrome/browser/resources/settings/downloads_page/downloads_page.html File chrome/browser/resources/settings/downloads_page/downloads_page.html (right): https://codereview.chromium.org/1368733002/diff/40001/chrome/browser/resources/settings/downloads_page/downloads_page.html#newcode15 chrome/browser/resources/settings/downloads_page/downloads_page.html:15: <cr-settings-input id="downloadsPath" readonly On 2015/09/24 20:03:54, michaelpg wrote: > ...
5 years, 3 months ago (2015-09-24 20:06:47 UTC) #8
dschuyler
https://codereview.chromium.org/1368733002/diff/60001/chrome/browser/resources/settings/appearance_page/appearance_page.html File chrome/browser/resources/settings/appearance_page/appearance_page.html (right): https://codereview.chromium.org/1368733002/diff/60001/chrome/browser/resources/settings/appearance_page/appearance_page.html#newcode39 chrome/browser/resources/settings/appearance_page/appearance_page.html:39: </cr-settings> Should this be </cr-settings-input> ? https://codereview.chromium.org/1368733002/diff/60001/chrome/browser/resources/settings/input/input.html File chrome/browser/resources/settings/input/input.html ...
5 years, 3 months ago (2015-09-24 20:39:06 UTC) #9
stevenjb
https://codereview.chromium.org/1368733002/diff/40001/chrome/browser/resources/settings/downloads_page/downloads_page.html File chrome/browser/resources/settings/downloads_page/downloads_page.html (right): https://codereview.chromium.org/1368733002/diff/40001/chrome/browser/resources/settings/downloads_page/downloads_page.html#newcode15 chrome/browser/resources/settings/downloads_page/downloads_page.html:15: <cr-settings-input id="downloadsPath" readonly On 2015/09/24 20:06:47, stevenjb wrote: > ...
5 years, 3 months ago (2015-09-24 21:22:15 UTC) #10
dschuyler
On 2015/09/24 21:22:15, stevenjb wrote: > https://codereview.chromium.org/1368733002/diff/40001/chrome/browser/resources/settings/downloads_page/downloads_page.html > File chrome/browser/resources/settings/downloads_page/downloads_page.html > (right): > > https://codereview.chromium.org/1368733002/diff/40001/chrome/browser/resources/settings/downloads_page/downloads_page.html#newcode15 ...
5 years, 3 months ago (2015-09-24 21:42:21 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1368733002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1368733002/100001
5 years, 3 months ago (2015-09-24 21:57:35 UTC) #17
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 3 months ago (2015-09-24 23:26:08 UTC) #18
commit-bot: I haz the power
5 years, 3 months ago (2015-09-24 23:27:00 UTC) #19
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/ae407c9b489ad6e47ffcd8a2f570d4af1adbbc24
Cr-Commit-Position: refs/heads/master@{#350697}

Powered by Google App Engine
This is Rietveld 408576698