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

Issue 2198363002: Pass Notification into NotificationBlocker ShouldShow* methods (Closed)

Created:
4 years, 4 months ago by bmalcolm
Modified:
4 years, 4 months ago
Reviewers:
sky, dewittj
CC:
chromium-reviews, Peter Beverloo, kalyank, mlamouri+watch-notifications_chromium.org, sadrul
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Pass Notification into NotificationBlocker ShouldShow* methods Replace the NotifierId that is passed into NotificationBlocker::ShowShowNotification and NotificationBlocker::ShouldShowNotificationAsPopup with a Notification so that the NotificationBlockers can consider data relating to the notification (notably notification->delegate()). There are no behavior changes with this commit. BUG=481318 Committed: https://crrev.com/b34f499ab8308a03d4a11886109f28e7a3b360aa Cr-Commit-Position: refs/heads/master@{#409595}

Patch Set 1 #

Patch Set 2 : Add missing .h file in ash tests #

Patch Set 3 : Ash build errors #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -36 lines) Patch
M ash/first_run/desktop_cleaner.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/notifications/fullscreen_notification_blocker.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/notifications/fullscreen_notification_blocker.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/notifications/login_state_notification_blocker_chromeos.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/notifications/login_state_notification_blocker_chromeos.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/notifications/login_state_notification_blocker_chromeos_browsertest.cc View 1 2 3 chunks +8 lines, -1 line 0 comments Download
M chrome/browser/notifications/login_state_notification_blocker_chromeos_unittest.cc View 1 2 2 chunks +9 lines, -1 line 0 comments Download
M chrome/browser/notifications/notification_interactive_uitest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/notifications/screen_lock_notification_blocker.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/notifications/screen_lock_notification_blocker.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/ash/multi_user/multi_user_notification_blocker_chromeos.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/multi_user/multi_user_notification_blocker_chromeos.cc View 1 chunk +6 lines, -5 lines 0 comments Download
M chrome/browser/ui/ash/multi_user/multi_user_notification_blocker_chromeos_unittest.cc View 1 4 chunks +19 lines, -2 lines 0 comments Download
M ui/message_center/message_center_impl_unittest.cc View 3 chunks +7 lines, -6 lines 0 comments Download
M ui/message_center/notification_blocker.h View 1 chunk +7 lines, -6 lines 0 comments Download
M ui/message_center/notification_blocker.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/message_center/notification_list.cc View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 42 (29 generated)
bmalcolm
Justin & I have previously discussed this approach. This is the first CL with the ...
4 years, 4 months ago (2016-08-01 22:14:04 UTC) #7
bmalcolm
Justin plans on looking at the whole cl, sky you really only need to look ...
4 years, 4 months ago (2016-08-01 22:24:05 UTC) #8
dewittj
lgtm, thanks!
4 years, 4 months ago (2016-08-01 23:19:16 UTC) #9
sky
LGTM
4 years, 4 months ago (2016-08-02 16:23:37 UTC) #10
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/2198363002/20001
4 years, 4 months ago (2016-08-02 18:08:07 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/253955)
4 years, 4 months ago (2016-08-02 18:24:55 UTC) #22
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/2198363002/40001
4 years, 4 months ago (2016-08-02 22:28:54 UTC) #29
bmalcolm
PTAL - for some reason the ash tests didn't run on my local machine so ...
4 years, 4 months ago (2016-08-02 23:16:11 UTC) #32
dewittj
still lgtm, feel free to submit.
4 years, 4 months ago (2016-08-03 19:01:44 UTC) #33
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/2198363002/40001
4 years, 4 months ago (2016-08-03 19:33:13 UTC) #36
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/2198363002/40001
4 years, 4 months ago (2016-08-03 19:37:23 UTC) #38
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-08-03 19:42:20 UTC) #40
commit-bot: I haz the power
4 years, 4 months ago (2016-08-03 19:44:46 UTC) #42
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/b34f499ab8308a03d4a11886109f28e7a3b360aa
Cr-Commit-Position: refs/heads/master@{#409595}

Powered by Google App Engine
This is Rietveld 408576698