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

Issue 2834773002: Hide popup custom notifications on non-primary displays (Closed)

Created:
3 years, 8 months ago by yoshiki
Modified:
3 years, 8 months ago
Reviewers:
xiyuan, stevenjb, jennyz, yhanada
CC:
chromium-reviews, kalyank, mlamouri+watch-notifications_chromium.org, sadrul, awdf+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Hide popup custom notifications on non-primary displays Currently custom notifications are supported to be shown only on one display at the same time. So this CL disables popup custom notification on non-primary displays. This CL affects only on Chrome OS. BUG=b/37456756 BUG=715362 TEST=manual Review-Url: https://codereview.chromium.org/2834773002 Cr-Commit-Position: refs/heads/master@{#467377} Committed: https://chromium.googlesource.com/chromium/src/+/7bb91538766f932d182801724d0c0d1826e6dde6

Patch Set 1 #

Total comments: 2

Patch Set 2 : Remove debug output #

Total comments: 2

Patch Set 3 : Addressed comment #

Patch Set 4 : Rewrote comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -0 lines) Patch
M ash/system/web_notification/ash_popup_alignment_delegate.h View 1 chunk +1 line, -0 lines 0 comments Download
M ash/system/web_notification/ash_popup_alignment_delegate.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M ui/message_center/views/desktop_popup_alignment_delegate.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/message_center/views/desktop_popup_alignment_delegate.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M ui/message_center/views/message_popup_collection.cc View 1 2 3 2 chunks +14 lines, -0 lines 0 comments Download
M ui/message_center/views/popup_alignment_delegate.h View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 61 (42 generated)
yoshiki
Hanada-san, PTAL. Thanks.
3 years, 8 months ago (2017-04-21 08:41:35 UTC) #20
yhanada
lgtm with nit https://codereview.chromium.org/2834773002/diff/60001/ui/message_center/views/message_popup_collection.cc File ui/message_center/views/message_popup_collection.cc (right): https://codereview.chromium.org/2834773002/diff/60001/ui/message_center/views/message_popup_collection.cc#newcode254 ui/message_center/views/message_popup_collection.cc:254: LOG(ERROR) << "POPUP: " << (*iter)->id(); ...
3 years, 8 months ago (2017-04-21 09:02:23 UTC) #23
yoshiki
Thanks! https://codereview.chromium.org/2834773002/diff/60001/ui/message_center/views/message_popup_collection.cc File ui/message_center/views/message_popup_collection.cc (right): https://codereview.chromium.org/2834773002/diff/60001/ui/message_center/views/message_popup_collection.cc#newcode254 ui/message_center/views/message_popup_collection.cc:254: LOG(ERROR) << "POPUP: " << (*iter)->id(); On 2017/04/21 ...
3 years, 8 months ago (2017-04-21 09:58:05 UTC) #26
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/2834773002/80001
3 years, 8 months ago (2017-04-21 11:21:58 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/417441)
3 years, 8 months ago (2017-04-21 11:30:10 UTC) #33
yoshiki
Jenny, could you take a look at the change in ash/system? Thanks.
3 years, 8 months ago (2017-04-21 15:22:27 UTC) #35
yoshiki
Steven, could you take a look at ash/system/*?
3 years, 8 months ago (2017-04-24 19:40:14 UTC) #37
stevenjb
Please create a chromium bug to track this. This behavior seems very odd to me. ...
3 years, 8 months ago (2017-04-24 20:40:02 UTC) #38
yoshiki
On 2017/04/24 20:40:02, stevenjb wrote: > Please create a chromium bug to track this. Done ...
3 years, 8 months ago (2017-04-26 01:29:19 UTC) #44
yoshiki
https://codereview.chromium.org/2834773002/diff/80001/ui/message_center/views/message_popup_collection.cc File ui/message_center/views/message_popup_collection.cc (right): https://codereview.chromium.org/2834773002/diff/80001/ui/message_center/views/message_popup_collection.cc#newcode177 ui/message_center/views/message_popup_collection.cc:177: bool isPrimaryDisplay = On 2017/04/24 20:40:02, stevenjb wrote: > ...
3 years, 8 months ago (2017-04-26 01:29:29 UTC) #45
stevenjb
I'm still unclear why NOTIFICATION_TYPE_CUSTOM has issues on multiple displays. The issue only mentions that ...
3 years, 8 months ago (2017-04-26 15:59:58 UTC) #49
yoshiki
On 2017/04/26 15:59:58, stevenjb wrote: > I'm still unclear why NOTIFICATION_TYPE_CUSTOM has issues on multiple ...
3 years, 8 months ago (2017-04-26 17:02:39 UTC) #50
Peter Beverloo
On 2017/04/26 17:02:39, yoshiki wrote: > On 2017/04/26 15:59:58, stevenjb wrote: > > I'm still ...
3 years, 8 months ago (2017-04-26 17:07:43 UTC) #51
stevenjb
Thanks for adding the issue and the explanation. owner lgtm.
3 years, 8 months ago (2017-04-26 17:09:39 UTC) #52
xiyuan
On 2017/04/26 17:02:39, yoshiki wrote: > On 2017/04/26 15:59:58, stevenjb wrote: > > I'm still ...
3 years, 8 months ago (2017-04-26 17:11:42 UTC) #53
xiyuan
On 2017/04/26 17:07:43, Peter Beverloo wrote: > On 2017/04/26 17:02:39, yoshiki wrote: > > On ...
3 years, 8 months ago (2017-04-26 17:26:46 UTC) #54
yoshiki
Thanks!
3 years, 8 months ago (2017-04-26 17:48:49 UTC) #55
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/2834773002/120001
3 years, 8 months ago (2017-04-26 17:49:41 UTC) #58
commit-bot: I haz the power
3 years, 8 months ago (2017-04-26 17:56:17 UTC) #61
Message was sent while issue was closed.
Committed patchset #4 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/7bb91538766f932d182801724d0c...

Powered by Google App Engine
This is Rietveld 408576698