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

Issue 12510005: Remove close_on_deactivate=false for tray bubbles (2nd) (Closed)

Created:
7 years, 9 months ago by Jun Mukai
Modified:
7 years, 9 months ago
Reviewers:
stevenjb, jennyz
CC:
chromium-reviews, sadrul, ben+watch_chromium.org, James Cook
Visibility:
Public.

Description

Remove close_on_deactivate=false for tray bubbles (2nd) Actually we want to close those bubbles on deactivation (like, opening settings page or opening the chat window for a notification). To deal with the race condition of close-on-deactivate and button action, a static delay is introduced. The first attempt (r184572) has been reverted due to a crash bug. It seems that the crash happens because of missing cleanup of system notification bubbles. BUG=179992, 177075 TEST=on goobuntu, open the systme tray, wait for the power notifications, then click 'settings' and see no crash. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=186612

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -7 lines) Patch
M ash/system/tray/system_tray.cc View 2 chunks +2 lines, -1 line 0 comments Download
M ash/system/tray/tray_background_view.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ash/system/tray/tray_bubble_wrapper.h View 1 3 chunks +11 lines, -3 lines 0 comments Download
M ash/system/tray/tray_bubble_wrapper.cc View 1 3 chunks +15 lines, -1 line 0 comments Download
M ash/system/web_notification/web_notification_tray.cc View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
Jun Mukai
7 years, 9 months ago (2013-03-06 02:29:40 UTC) #1
stevenjb
https://codereview.chromium.org/12510005/diff/1/ash/system/tray/tray_bubble_wrapper.cc File ash/system/tray/tray_bubble_wrapper.cc (right): https://codereview.chromium.org/12510005/diff/1/ash/system/tray/tray_bubble_wrapper.cc#newcode54 ash/system/tray/tray_bubble_wrapper.cc:54: base::Unretained(tray_), base::Unretained(bubble_view_))); Is there any possibility that tray_ or ...
7 years, 9 months ago (2013-03-06 02:35:26 UTC) #2
Jun Mukai
https://codereview.chromium.org/12510005/diff/1/ash/system/tray/tray_bubble_wrapper.cc File ash/system/tray/tray_bubble_wrapper.cc (right): https://codereview.chromium.org/12510005/diff/1/ash/system/tray/tray_bubble_wrapper.cc#newcode54 ash/system/tray/tray_bubble_wrapper.cc:54: base::Unretained(tray_), base::Unretained(bubble_view_))); On 2013/03/06 02:35:26, stevenjb (chromium) wrote: > ...
7 years, 9 months ago (2013-03-06 04:36:57 UTC) #3
stevenjb
LGTM
7 years, 9 months ago (2013-03-06 17:40:31 UTC) #4
jennyz
lgtm with nits. https://codereview.chromium.org/12510005/diff/5001/ash/system/tray/tray_background_view.h File ash/system/tray/tray_background_view.h (right): https://codereview.chromium.org/12510005/diff/5001/ash/system/tray/tray_background_view.h#newcode91 ash/system/tray/tray_background_view.h:91: // any methods are called to ...
7 years, 9 months ago (2013-03-06 18:04:04 UTC) #5
Jun Mukai
https://codereview.chromium.org/12510005/diff/5001/ash/system/tray/tray_background_view.h File ash/system/tray/tray_background_view.h (right): https://codereview.chromium.org/12510005/diff/5001/ash/system/tray/tray_background_view.h#newcode91 ash/system/tray/tray_background_view.h:91: // any methods are called to |bubble_view| without any ...
7 years, 9 months ago (2013-03-07 00:26:42 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mukai@chromium.org/12510005/12001
7 years, 9 months ago (2013-03-07 01:24:34 UTC) #7
commit-bot: I haz the power
7 years, 9 months ago (2013-03-07 04:13:05 UTC) #8
Message was sent while issue was closed.
Change committed as 186612

Powered by Google App Engine
This is Rietveld 408576698