Make use of native notification replacement using tag, on Android.
commitc7d41d23893c2e0894bd06350cfd4e99a531f7cd
authorpeter <peter@chromium.org>
Wed, 1 Apr 2015 20:06:47 +0000 (1 13:06 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 1 Apr 2015 20:07:25 +0000 (1 20:07 +0000)
tree002ae51f53e9cbaf1d4c1cb81a6bd7d178fefe35
parent03c7016ece72d842dd77cf2c52237acce2656105
Make use of native notification replacement using tag, on Android.

This patch changes Web Notifications on Android to use native replacements
rather than the faked mechanism we used before (hide & show). The
result gives a much nicer user experience.

Patch by Michael van Ouwerkerk <mvanouwerkerk@chromium.org>

BUG=442127

Review URL: https://codereview.chromium.org/1051923002

Cr-Commit-Position: refs/heads/master@{#323308}
chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUIManager.java
chrome/android/javatests/src/org/chromium/chrome/browser/notifications/NotificationUIManagerTest.java
chrome/browser/notifications/notification_ui_manager_android.cc
chrome/browser/notifications/notification_ui_manager_android.h
chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/notifications/MockNotificationManagerProxy.java