Add handlers for toast click and close events

Desktop / Chromium - Xi Cheng [chromium.org] - 18 October 2017 20:10 EDT

This CL directs toast click and close events to NotificationDisplayService for proper actions. The toast notification clicked or closed needs to still be cached in memory (i.e., Chrome is running and staying in the same browsing session) for the callbacks to take effect.

Bug: 734095 Change-Id: I88da36bf052062392af110e427a8c64b2687f625 Reviewed-on: https://chromium-review.googlesource.com/720016 Commit-Queue: Xi Cheng

5ef6bd2 Add handlers for toast click and close events
.../notification_platform_bridge_win.cc | 169 ++++++++++++++++++++-
.../notification_platform_bridge_win.h | 29 ++++
2 files changed, 197 insertions(+), 1 deletion(-)

Upstream: git.chromium.org


  • Share