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

Issue 2418153002: Hooking up Android N inline notification replies end-to-end (Closed)

Created:
4 years, 2 months ago by awdf
Modified:
4 years, 2 months ago
Reviewers:
Peter Beverloo
CC:
chromium-reviews, michaeln, mlamouri+watch-content_chromium.org, awdf+watch_chromium.org, jsbell+serviceworker_chromium.org, Peter Beverloo, mlamouri+watch-notifications_chromium.org, serviceworker-reviews, jam, kinuko+serviceworker, nhiroki, tzik, darin-cc_chromium.org, agrieve+watch_chromium.org, horo+watch_chromium.org, kinuko+watch, shimazu+serviceworker_chromium.org, blink-worker-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Hooking up Android inline notification replies end-to-end - This part captures the remote input and sends it from java to native code, where it is already hooked up from PlatformNotificationServiceImpl onwards. - Also added an end-to-end test to check reply is sent all the way through to the javascript notificationclick event. - Feature is only supported by Android N+ and Android Wear K+, and currently is still hidden behind experimental_web_platform_features flag. Committed: https://crrev.com/d469d710efef5c56381c67cef9c23db402290b8c Cr-Commit-Position: refs/heads/master@{#425722}

Patch Set 1 : Hooking up Android N inline notification replies end-to-end #

Total comments: 11

Patch Set 2 : Oops - add parameter to mac invocation of ProcessNotificationOperation #

Patch Set 3 : Responding to review of patch 1 #

Total comments: 2

Patch Set 4 : Update java_reply type in .h file; retrieve reply as CharSeq not String #

Total comments: 3

Patch Set 5 : Reformat getNotificationReply #

Messages

Total messages: 27 (16 generated)
awdf
4 years, 2 months ago (2016-10-14 14:19:33 UTC) #2
awdf
On 2016/10/14 14:19:33, awdf wrote: Should be good for review now - I've deleted the ...
4 years, 2 months ago (2016-10-17 13:45:13 UTC) #9
Peter Beverloo
Please update notification_platform_bridge_mac.mm with the new |reply| parameter to avoid breaking the Mac build. https://codereview.chromium.org/2418153002/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java ...
4 years, 2 months ago (2016-10-17 14:11:40 UTC) #12
awdf
https://codereview.chromium.org/2418153002/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java File chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java (right): https://codereview.chromium.org/2418153002/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java#newcode204 chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java:204: webApkPackage, actionIndex, getNotificationReply(intent)); I will work on doing the ...
4 years, 2 months ago (2016-10-17 14:51:24 UTC) #16
Peter Beverloo
lgtm % comment Thanks! :) https://codereview.chromium.org/2418153002/diff/100001/chrome/browser/notifications/notification_platform_bridge_android.h File chrome/browser/notifications/notification_platform_bridge_android.h (right): https://codereview.chromium.org/2418153002/diff/100001/chrome/browser/notifications/notification_platform_bridge_android.h#newcode51 chrome/browser/notifications/notification_platform_bridge_android.h:51: const base::android::JavaParamRef<_jstring*>& java_reply); update
4 years, 2 months ago (2016-10-17 14:54:09 UTC) #17
awdf
Changed the way it gets the result from the bundle in chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java , see my ...
4 years, 2 months ago (2016-10-17 15:40:16 UTC) #18
Peter Beverloo
Yeah, still lgtm, with one optional suggestion. https://codereview.chromium.org/2418153002/diff/120001/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java File chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java (right): https://codereview.chromium.org/2418153002/diff/120001/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java#newcode229 chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java:229: return reply ...
4 years, 2 months ago (2016-10-17 15:48:10 UTC) #19
awdf
https://codereview.chromium.org/2418153002/diff/120001/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java File chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java (right): https://codereview.chromium.org/2418153002/diff/120001/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java#newcode229 chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java:229: return reply != null ? reply.toString() : null; On ...
4 years, 2 months ago (2016-10-17 15:59:12 UTC) #20
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/2418153002/140001
4 years, 2 months ago (2016-10-17 16:00:50 UTC) #23
commit-bot: I haz the power
Committed patchset #5 (id:140001)
4 years, 2 months ago (2016-10-17 17:58:51 UTC) #25
commit-bot: I haz the power
4 years, 2 months ago (2016-10-17 18:00:53 UTC) #27
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/d469d710efef5c56381c67cef9c23db402290b8c
Cr-Commit-Position: refs/heads/master@{#425722}

Powered by Google App Engine
This is Rietveld 408576698