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

Issue 2684853003: MD Settings: change how tap is handled on custom toggle rows (Closed)

Created:
3 years, 10 months ago by Dan Beam
Modified:
3 years, 10 months ago
Reviewers:
scottchen, dpapad
CC:
arv+watch_chromium.org, chromium-reviews, dbeam+watch-settings_chromium.org, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, stevenjb+watch-md-settings_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MD Settings: change how tap is handled on custom toggle rows R=scottchen@chromium.org BUG=680406, 689763 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2684853003 Cr-Commit-Position: refs/heads/master@{#450293} Committed: https://chromium.googlesource.com/chromium/src/+/3245561158dde6808bd24b3322304369af52abac

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Total comments: 13

Patch Set 4 : fake prefs #

Patch Set 5 : if the compiler ain't happy, ain't nobody happy #

Total comments: 16

Patch Set 6 : asdf #

Patch Set 7 : asdf #

Patch Set 8 : rework events #

Patch Set 9 : fix tests #

Total comments: 2

Patch Set 10 : todo #

Messages

Total messages: 59 (28 generated)
scottchen
On 2017/02/08 22:12:08, Dan Beam wrote: > Description was changed from > > ========== > ...
3 years, 10 months ago (2017-02-08 22:39:50 UTC) #2
Dan Beam
+dpapad@ for thoughts maybe we should attempt to some fake pref stuff instead of composing? ...
3 years, 10 months ago (2017-02-08 23:12:04 UTC) #4
Dan Beam
less than optimal*
3 years, 10 months ago (2017-02-08 23:12:14 UTC) #5
Dan Beam
dpapad@: you'll also need to stamp for committer bit for scottchen@
3 years, 10 months ago (2017-02-08 23:12:45 UTC) #6
dpapad
https://codereview.chromium.org/2684853003/diff/40001/chrome/browser/resources/settings/privacy_page/privacy_page.html File chrome/browser/resources/settings/privacy_page/privacy_page.html (right): https://codereview.chromium.org/2684853003/diff/40001/chrome/browser/resources/settings/privacy_page/privacy_page.html#newcode84 chrome/browser/resources/settings/privacy_page/privacy_page.html:84: <div class="settings-box"> On 2017/02/08 at 23:12:04, Dan Beam wrote: ...
3 years, 10 months ago (2017-02-08 23:46:05 UTC) #7
Dan Beam
have either of y'all looked at how settings-toggle-button is implemented? it's basically a more complex ...
3 years, 10 months ago (2017-02-09 00:18:32 UTC) #8
Dan Beam
https://codereview.chromium.org/2684853003/diff/40001/chrome/browser/resources/settings/privacy_page/privacy_page.html File chrome/browser/resources/settings/privacy_page/privacy_page.html (right): https://codereview.chromium.org/2684853003/diff/40001/chrome/browser/resources/settings/privacy_page/privacy_page.html#newcode110 chrome/browser/resources/settings/privacy_page/privacy_page.html:110: <div class="settings-box"> On 2017/02/08 23:46:05, dpapad wrote: > On ...
3 years, 10 months ago (2017-02-09 00:27:40 UTC) #9
dpapad
On 2017/02/09 at 00:18:32, dbeam wrote: > have either of y'all looked at how settings-toggle-button ...
3 years, 10 months ago (2017-02-09 00:36:36 UTC) #10
Dan Beam
https://codereview.chromium.org/2684853003/diff/40001/chrome/browser/resources/settings/privacy_page/privacy_page.js File chrome/browser/resources/settings/privacy_page/privacy_page.js (right): https://codereview.chromium.org/2684853003/diff/40001/chrome/browser/resources/settings/privacy_page/privacy_page.js#newcode117 chrome/browser/resources/settings/privacy_page/privacy_page.js:117: // Both event types must match for stopPropagation() to ...
3 years, 10 months ago (2017-02-09 00:50:02 UTC) #11
scottchen
https://codereview.chromium.org/2684853003/diff/40001/chrome/browser/resources/settings/privacy_page/privacy_page.js File chrome/browser/resources/settings/privacy_page/privacy_page.js (right): https://codereview.chromium.org/2684853003/diff/40001/chrome/browser/resources/settings/privacy_page/privacy_page.js#newcode133 chrome/browser/resources/settings/privacy_page/privacy_page.js:133: enabled = !enabled; On 2017/02/08 23:12:04, Dan Beam wrote: ...
3 years, 10 months ago (2017-02-09 00:56:43 UTC) #12
scottchen
On 2017/02/09 00:56:43, scottchen wrote: > https://codereview.chromium.org/2684853003/diff/40001/chrome/browser/resources/settings/privacy_page/privacy_page.js > File chrome/browser/resources/settings/privacy_page/privacy_page.js (right): > > https://codereview.chromium.org/2684853003/diff/40001/chrome/browser/resources/settings/privacy_page/privacy_page.js#newcode133 > ...
3 years, 10 months ago (2017-02-09 01:03:15 UTC) #13
Dan Beam
check out this alternative approach with <settings-toggle-button> and fake pref objects https://codereview.chromium.org/2684853003/diff/10003/chrome/test/data/webui/settings/metrics_reporting_tests.js File chrome/test/data/webui/settings/metrics_reporting_tests.js (right): ...
3 years, 10 months ago (2017-02-09 16:07:42 UTC) #22
dpapad
So, I think this looks a bit saner than the previous version (the HTML is ...
3 years, 10 months ago (2017-02-09 19:51:45 UTC) #23
Dan Beam
On 2017/02/09 19:51:45, dpapad wrote: > So, I think this looks a bit saner than ...
3 years, 10 months ago (2017-02-09 20:48:45 UTC) #24
dpapad
https://codereview.chromium.org/2684853003/diff/10003/chrome/browser/resources/settings/privacy_page/privacy_page.js File chrome/browser/resources/settings/privacy_page/privacy_page.js (right): https://codereview.chromium.org/2684853003/diff/10003/chrome/browser/resources/settings/privacy_page/privacy_page.js#newcode74 chrome/browser/resources/settings/privacy_page/privacy_page.js:74: this.listen(this, 'iron-change', 'onIronChange_'); On 2017/02/09 at 20:48:45, Dan Beam ...
3 years, 10 months ago (2017-02-09 23:53:02 UTC) #29
Dan Beam
https://codereview.chromium.org/2684853003/diff/10003/chrome/browser/resources/settings/privacy_page/privacy_page.js File chrome/browser/resources/settings/privacy_page/privacy_page.js (right): https://codereview.chromium.org/2684853003/diff/10003/chrome/browser/resources/settings/privacy_page/privacy_page.js#newcode130 chrome/browser/resources/settings/privacy_page/privacy_page.js:130: onIronChange_: function(e) { On 2017/02/09 23:53:02, dpapad wrote: > ...
3 years, 10 months ago (2017-02-09 23:57:53 UTC) #30
scottchen
On 2017/02/09 23:57:53, Dan Beam wrote: > https://codereview.chromium.org/2684853003/diff/10003/chrome/browser/resources/settings/privacy_page/privacy_page.js > File chrome/browser/resources/settings/privacy_page/privacy_page.js (right): > > https://codereview.chromium.org/2684853003/diff/10003/chrome/browser/resources/settings/privacy_page/privacy_page.js#newcode130 ...
3 years, 10 months ago (2017-02-10 07:59:53 UTC) #31
Dan Beam
so i think this combines a bunch of scottchen@'s work and discoveries as well as ...
3 years, 10 months ago (2017-02-11 02:59:16 UTC) #34
scottchen
On 2017/02/11 02:59:16, Dan Beam wrote: > so i think this combines a bunch of ...
3 years, 10 months ago (2017-02-13 19:15:24 UTC) #37
dpapad
On 2017/02/11 at 02:59:16, dbeam wrote: > so i think this combines a bunch of ...
3 years, 10 months ago (2017-02-13 20:17:09 UTC) #38
dpapad
https://codereview.chromium.org/2684853003/diff/150001/chrome/browser/resources/settings/privacy_page/privacy_page.js File chrome/browser/resources/settings/privacy_page/privacy_page.js (right): https://codereview.chromium.org/2684853003/diff/150001/chrome/browser/resources/settings/privacy_page/privacy_page.js#newcode62 chrome/browser/resources/settings/privacy_page/privacy_page.js:62: this.browserProxy_ = settings.PrivacyPageBrowserProxyImpl.getInstance(); Can we also declare this before ...
3 years, 10 months ago (2017-02-13 20:17:50 UTC) #39
Dan Beam
On 2017/02/13 20:17:09, dpapad wrote: > On 2017/02/11 at 02:59:16, dbeam wrote: > > so ...
3 years, 10 months ago (2017-02-13 20:18:02 UTC) #40
Dan Beam
https://codereview.chromium.org/2684853003/diff/150001/chrome/browser/resources/settings/privacy_page/privacy_page.js File chrome/browser/resources/settings/privacy_page/privacy_page.js (right): https://codereview.chromium.org/2684853003/diff/150001/chrome/browser/resources/settings/privacy_page/privacy_page.js#newcode62 chrome/browser/resources/settings/privacy_page/privacy_page.js:62: this.browserProxy_ = settings.PrivacyPageBrowserProxyImpl.getInstance(); On 2017/02/13 20:17:50, dpapad wrote: > ...
3 years, 10 months ago (2017-02-13 20:18:50 UTC) #41
dpapad
On 2017/02/13 at 20:18:50, dbeam wrote: > https://codereview.chromium.org/2684853003/diff/150001/chrome/browser/resources/settings/privacy_page/privacy_page.js > File chrome/browser/resources/settings/privacy_page/privacy_page.js (right): > > https://codereview.chromium.org/2684853003/diff/150001/chrome/browser/resources/settings/privacy_page/privacy_page.js#newcode62 ...
3 years, 10 months ago (2017-02-13 20:32:46 UTC) #42
dpapad
On 2017/02/13 at 20:32:46, dpapad wrote: > On 2017/02/13 at 20:18:50, dbeam wrote: > > ...
3 years, 10 months ago (2017-02-13 20:32:55 UTC) #43
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/2684853003/150001
3 years, 10 months ago (2017-02-13 23:10:51 UTC) #47
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/152627) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 10 months ago (2017-02-13 23:15:10 UTC) #49
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/2684853003/170001
3 years, 10 months ago (2017-02-14 06:50:11 UTC) #52
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/348244) win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, ...
3 years, 10 months ago (2017-02-14 06:59:10 UTC) #54
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/2684853003/170001
3 years, 10 months ago (2017-02-14 07:49:46 UTC) #56
commit-bot: I haz the power
3 years, 10 months ago (2017-02-14 08:49:41 UTC) #59
Message was sent while issue was closed.
Committed patchset #10 (id:170001) as
https://chromium.googlesource.com/chromium/src/+/3245561158dde6808bd24b332230...

Powered by Google App Engine
This is Rietveld 408576698