• Xing Liu's avatar
    Announcement notification: Fix navigation to URL. · 77c4d4c4
    Xing Liu authored
    Currently when clicking on the "Review" button, on Mac, it will always
    not navigate to the expected URL. On Debian, sometimes nothing happens.
    
    On Mac, if the notification has no origin, then click event will not be
    forwarded to NotificationHandler. This CL removes the origin check.
    
    Also changed the URL navigation API used to open the URL.
    
    TBR=dtrainor@chromium.org, peter@chromium.org
    
    Bug: 1042124
    Change-Id: Ife2c1a5e5949b1d933e4048dfa11a62144ba6bc3
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2023747Reviewed-by: default avatarXing Liu <xingliu@chromium.org>
    Commit-Queue: Xing Liu <xingliu@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#735736}
    77c4d4c4
announcement_notification_delegate.cc 2 KB