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

Issue 1961183002: MD Settings: Update some Settings handlers to use new JS lifecycle management. (Closed)

Created:
4 years, 7 months ago by tommycli
Modified:
4 years, 7 months ago
Reviewers:
Dan Beam
CC:
chromium-reviews, michaelpg+watch-md-settings_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org, oshima+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: Update some Settings handlers to use new JS lifecycle management. This doesn't fix all of them, but fixes ~35% of them. BUG=602523 Committed: https://crrev.com/f7d960dba900ba8474ac50fa4225c79ba6ca1d52 Cr-Commit-Position: refs/heads/master@{#392999}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Total comments: 8

Messages

Total messages: 29 (9 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1961183002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1961183002/40001
4 years, 7 months ago (2016-05-10 23:42:06 UTC) #3
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-11 00:35:15 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1961183002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1961183002/60001
4 years, 7 months ago (2016-05-11 16:23:21 UTC) #7
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-11 17:10:35 UTC) #9
tommycli
dbeam: PTAL. Gets us closer, but not quite there for all Settings handlers being JS-safe.
4 years, 7 months ago (2016-05-11 17:12:17 UTC) #11
Dan Beam
https://codereview.chromium.org/1961183002/diff/60001/chrome/browser/ui/webui/settings/settings_clear_browsing_data_handler.cc File chrome/browser/ui/webui/settings/settings_clear_browsing_data_handler.cc (right): https://codereview.chromium.org/1961183002/diff/60001/chrome/browser/ui/webui/settings/settings_clear_browsing_data_handler.cc#newcode176 chrome/browser/ui/webui/settings/settings_clear_browsing_data_handler.cc:176: return; ^ did you write this before you found ...
4 years, 7 months ago (2016-05-11 17:19:57 UTC) #12
tommycli
https://codereview.chromium.org/1961183002/diff/60001/chrome/browser/ui/webui/settings/settings_clear_browsing_data_handler.cc File chrome/browser/ui/webui/settings/settings_clear_browsing_data_handler.cc (right): https://codereview.chromium.org/1961183002/diff/60001/chrome/browser/ui/webui/settings/settings_clear_browsing_data_handler.cc#newcode176 chrome/browser/ui/webui/settings/settings_clear_browsing_data_handler.cc:176: return; On 2016/05/11 17:19:57, Dan Beam wrote: > ^ ...
4 years, 7 months ago (2016-05-11 17:22:05 UTC) #13
Dan Beam
lgtm
4 years, 7 months ago (2016-05-11 17:23:22 UTC) #14
tommycli
dbeam: thanks for the lightning fast review!
4 years, 7 months ago (2016-05-11 17:25:24 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1961183002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1961183002/80001
4 years, 7 months ago (2016-05-11 17:26:00 UTC) #17
Dan Beam
On 2016/05/11 17:25:24, tommycli wrote: > dbeam: thanks for the lightning fast review! good reviews ...
4 years, 7 months ago (2016-05-11 17:26:08 UTC) #18
michaelpg
timely and informative changes, thanks! https://codereview.chromium.org/1961183002/diff/80001/chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.h File chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.h (right): https://codereview.chromium.org/1961183002/diff/80001/chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.h#newcode41 chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.h:41: void OnJavascriptDisallowed() override; if ...
4 years, 7 months ago (2016-05-11 17:31:21 UTC) #19
tommycli
michaelpg: see below, thanks https://codereview.chromium.org/1961183002/diff/80001/chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.h File chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.h (right): https://codereview.chromium.org/1961183002/diff/80001/chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.h#newcode41 chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.h:41: void OnJavascriptDisallowed() override; On 2016/05/11 ...
4 years, 7 months ago (2016-05-11 17:32:44 UTC) #20
Dan Beam
https://codereview.chromium.org/1961183002/diff/80001/chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.h File chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.h (right): https://codereview.chromium.org/1961183002/diff/80001/chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.h#newcode41 chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.h:41: void OnJavascriptDisallowed() override; On 2016/05/11 17:31:21, michaelpg wrote: > ...
4 years, 7 months ago (2016-05-11 17:33:48 UTC) #21
Dan Beam
https://codereview.chromium.org/1961183002/diff/80001/chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.h File chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.h (right): https://codereview.chromium.org/1961183002/diff/80001/chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.h#newcode41 chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.h:41: void OnJavascriptDisallowed() override; On 2016/05/11 17:33:48, Dan Beam wrote: ...
4 years, 7 months ago (2016-05-11 17:34:07 UTC) #22
tommycli
https://codereview.chromium.org/1961183002/diff/80001/chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.h File chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.h (right): https://codereview.chromium.org/1961183002/diff/80001/chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.h#newcode59 chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.h:59: ScopedObserver<ui::DeviceDataManager, KeyboardHandler> observer_; On 2016/05/11 17:32:44, tommycli wrote: > ...
4 years, 7 months ago (2016-05-11 17:35:20 UTC) #23
Dan Beam
https://codereview.chromium.org/1961183002/diff/80001/chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.h File chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.h (right): https://codereview.chromium.org/1961183002/diff/80001/chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.h#newcode59 chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.h:59: ScopedObserver<ui::DeviceDataManager, KeyboardHandler> observer_; On 2016/05/11 17:31:21, michaelpg wrote: > ...
4 years, 7 months ago (2016-05-11 17:35:22 UTC) #24
tommycli
On 2016/05/11 17:35:22, Dan Beam wrote: > https://codereview.chromium.org/1961183002/diff/80001/chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.h > File chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.h > (right): > > ...
4 years, 7 months ago (2016-05-11 17:39:03 UTC) #25
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 7 months ago (2016-05-11 18:22:04 UTC) #27
commit-bot: I haz the power
4 years, 7 months ago (2016-05-11 18:24:14 UTC) #29
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/f7d960dba900ba8474ac50fa4225c79ba6ca1d52
Cr-Commit-Position: refs/heads/master@{#392999}

Powered by Google App Engine
This is Rietveld 408576698