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

Issue 2315513002: Reset popup dismissal timers when replacing a notification. (Closed)

Created:
4 years, 3 months ago by Peter Beverloo
Modified:
4 years, 3 months ago
CC:
chromium-reviews, mlamouri+watch-notifications_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reset popup dismissal timers when replacing a notification. Replacing a notification should reset the popup dismissal timer. Right now the timer of the original notification continues to run, which means that a popup might disappear immediately after being updated. Also removes some methods that were tested, but not used. BUG= Committed: https://crrev.com/90faa187809eb5f2bf37d20052f5787633e9223b Cr-Commit-Position: refs/heads/master@{#417993}

Patch Set 1 : Reset popup dismissal timers when replacing a notification. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -81 lines) Patch
M ui/message_center/message_center_impl_unittest.cc View 4 chunks +39 lines, -39 lines 0 comments Download
M ui/message_center/popup_timer.h View 1 chunk +0 lines, -6 lines 0 comments Download
M ui/message_center/popup_timer.cc View 2 chunks +5 lines, -12 lines 0 comments Download
M ui/message_center/popup_timers_controller.h View 1 chunk +0 lines, -8 lines 0 comments Download
M ui/message_center/popup_timers_controller.cc View 2 chunks +2 lines, -16 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 22 (10 generated)
Peter Beverloo
Hi Justin, WDYT? Web Notifications will soon[1] begin to use native replacement as they'll get ...
4 years, 3 months ago (2016-09-05 16:46:09 UTC) #5
Peter Beverloo
+stevenjb, who was involved in previous reviews for this code
4 years, 3 months ago (2016-09-08 13:28:38 UTC) #9
dewittj
Sorry for the delay! I think we indeed made it so that updating didn't reset ...
4 years, 3 months ago (2016-09-08 17:08:30 UTC) #10
Peter Beverloo
On 2016/09/08 17:08:30, dewittj wrote: > Sorry for the delay! > > I think we ...
4 years, 3 months ago (2016-09-08 18:29:46 UTC) #11
Peter Beverloo
Friendly ping :).
4 years, 3 months ago (2016-09-12 14:49:49 UTC) #12
stevenjb
I haven't been in this code in a very long while, I would defer to ...
4 years, 3 months ago (2016-09-12 15:12:37 UTC) #13
Miguel Garcia
(non owner) lgtm I would have vouched to split the removal of dead code and ...
4 years, 3 months ago (2016-09-12 16:28:18 UTC) #15
dewittj
lgtm, sorry for the delays.
4 years, 3 months ago (2016-09-12 17:55:49 UTC) #16
Peter Beverloo
Thank you!! :)
4 years, 3 months ago (2016-09-12 18:08:09 UTC) #17
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/2315513002/20001
4 years, 3 months ago (2016-09-12 18:08:52 UTC) #19
commit-bot: I haz the power
Committed patchset #1 (id:20001)
4 years, 3 months ago (2016-09-12 19:09:07 UTC) #20
commit-bot: I haz the power
4 years, 3 months ago (2016-09-12 19:11:27 UTC) #22
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/90faa187809eb5f2bf37d20052f5787633e9223b
Cr-Commit-Position: refs/heads/master@{#417993}

Powered by Google App Engine
This is Rietveld 408576698