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

Issue 1841563003: ARC Toast: Prevent onClosed event from being called multiple times (Closed)

Created:
4 years, 8 months ago by yoshiki
Modified:
4 years, 8 months ago
Reviewers:
oshima
CC:
chromium-reviews, kalyank, sadrul
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ARC Toast: Prevent onClosed event from being called multiple times BUG=b/25797993 Committed: https://crrev.com/8079b4d3bda9c25b7f20c80bd206e3bf11176612 Cr-Commit-Position: refs/heads/master@{#387499}

Patch Set 1 #

Patch Set 2 #

Total comments: 6

Patch Set 3 : addressed the comment #

Patch Set 4 : Using inflight animation set instead of the flag #

Patch Set 5 : Removed is_visible flag #

Total comments: 2

Patch Set 6 : . #

Total comments: 2

Patch Set 7 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -52 lines) Patch
M ash/system/toast/toast_manager_unittest.cc View 1 2 3 4 5 6 9 chunks +20 lines, -9 lines 0 comments Download
M ash/system/toast/toast_overlay.h View 1 2 3 4 5 6 2 chunks +3 lines, -6 lines 0 comments Download
M ash/system/toast/toast_overlay.cc View 1 2 3 4 5 6 2 chunks +15 lines, -37 lines 0 comments Download

Messages

Total messages: 25 (7 generated)
yoshiki
Oshima-san, PTAL. Thanks.
4 years, 8 months ago (2016-03-29 18:19:39 UTC) #3
oshima
https://codereview.chromium.org/1841563003/diff/20001/ash/system/toast/toast_overlay.cc File ash/system/toast/toast_overlay.cc (right): https://codereview.chromium.org/1841563003/diff/20001/ash/system/toast/toast_overlay.cc#newcode229 ash/system/toast/toast_overlay.cc:229: close_event_fired_ = false; (if you still need this) move ...
4 years, 8 months ago (2016-03-30 19:11:50 UTC) #4
yoshiki
Oshima-san, PTAL. https://codereview.chromium.org/1841563003/diff/20001/ash/system/toast/toast_overlay.cc File ash/system/toast/toast_overlay.cc (right): https://codereview.chromium.org/1841563003/diff/20001/ash/system/toast/toast_overlay.cc#newcode229 ash/system/toast/toast_overlay.cc:229: close_event_fired_ = false; On 2016/03/30 19:11:50, oshima ...
4 years, 8 months ago (2016-04-01 18:32:35 UTC) #5
oshima
https://codereview.chromium.org/1841563003/diff/20001/ash/system/toast/toast_overlay.cc File ash/system/toast/toast_overlay.cc (right): https://codereview.chromium.org/1841563003/diff/20001/ash/system/toast/toast_overlay.cc#newcode249 ash/system/toast/toast_overlay.cc:249: if (!is_visible_ && !close_event_fired_) { On 2016/04/01 18:32:35, yoshiki ...
4 years, 8 months ago (2016-04-01 19:15:10 UTC) #6
yoshiki
I updated the patch with set. That is because I found multiple animations are happened ...
4 years, 8 months ago (2016-04-06 17:34:07 UTC) #7
oshima
On 2016/04/06 17:34:07, yoshiki wrote: > I updated the patch with set. That is because ...
4 years, 8 months ago (2016-04-06 21:36:37 UTC) #8
yoshiki
On 2016/04/06 21:36:37, oshima wrote: > On 2016/04/06 17:34:07, yoshiki wrote: > > I updated ...
4 years, 8 months ago (2016-04-07 00:23:39 UTC) #11
oshima
https://codereview.chromium.org/1841563003/diff/120001/ash/system/toast/toast_overlay.cc File ash/system/toast/toast_overlay.cc (right): https://codereview.chromium.org/1841563003/diff/120001/ash/system/toast/toast_overlay.cc#newcode258 ash/system/toast/toast_overlay.cc:258: if (inflight_animations_.size() == 0) { Can you use animator->is_animating() ...
4 years, 8 months ago (2016-04-07 17:52:02 UTC) #12
yoshiki
https://codereview.chromium.org/1841563003/diff/120001/ash/system/toast/toast_overlay.cc File ash/system/toast/toast_overlay.cc (right): https://codereview.chromium.org/1841563003/diff/120001/ash/system/toast/toast_overlay.cc#newcode258 ash/system/toast/toast_overlay.cc:258: if (inflight_animations_.size() == 0) { On 2016/04/07 17:52:02, oshima ...
4 years, 8 months ago (2016-04-08 04:12:25 UTC) #13
yoshiki
Oshima, ping?
4 years, 8 months ago (2016-04-11 06:22:58 UTC) #14
oshima
On 2016/04/11 06:22:58, yoshiki wrote: > Oshima, ping? I'll review this soon. I want to ...
4 years, 8 months ago (2016-04-12 05:46:19 UTC) #15
yoshiki
Thank you for investigation. Could you approve this if it's ok? Thanks.
4 years, 8 months ago (2016-04-13 02:33:13 UTC) #16
oshima
https://codereview.chromium.org/1841563003/diff/140001/ash/system/toast/toast_overlay.cc File ash/system/toast/toast_overlay.cc (right): https://codereview.chromium.org/1841563003/diff/140001/ash/system/toast/toast_overlay.cc#newcode224 ash/system/toast/toast_overlay.cc:224: You can use ImplicitAnimationObserver to implement an action to ...
4 years, 8 months ago (2016-04-13 10:03:18 UTC) #17
yoshiki
Oshima-san, PTAL. https://codereview.chromium.org/1841563003/diff/140001/ash/system/toast/toast_overlay.cc File ash/system/toast/toast_overlay.cc (right): https://codereview.chromium.org/1841563003/diff/140001/ash/system/toast/toast_overlay.cc#newcode224 ash/system/toast/toast_overlay.cc:224: On 2016/04/13 10:03:18, oshima wrote: > You ...
4 years, 8 months ago (2016-04-14 14:08:58 UTC) #18
oshima
lgtm thanks!
4 years, 8 months ago (2016-04-14 17:47:59 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1841563003/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1841563003/160001
4 years, 8 months ago (2016-04-15 00:22:06 UTC) #21
commit-bot: I haz the power
Committed patchset #7 (id:160001)
4 years, 8 months ago (2016-04-15 00:51:34 UTC) #23
commit-bot: I haz the power
4 years, 8 months ago (2016-04-15 00:56:46 UTC) #25
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/8079b4d3bda9c25b7f20c80bd206e3bf11176612
Cr-Commit-Position: refs/heads/master@{#387499}

Powered by Google App Engine
This is Rietveld 408576698