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

Issue 1864053002: Implement Android UI of web notification inline replies

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

Description

Implement Android UI of web notification inline replies This patch takes the web notification options that specify an action should display a text input and use them to show an inline reply button on Android. The response is ignored for now, and will be routed back to JavaScript in a follow-up patch. TEST=PlatformNotificationServiceTest.DisplayPersistentNotificationMatches, StandardNotificationBuilderTest.* BUG=599859

Patch Set 1 #

Total comments: 22

Patch Set 2 : Fix compile errors, add test, comments #

Patch Set 3 : Hopefully fix the compilation on gyp targets & not break something else #

Patch Set 4 : Fix filename? #

Total comments: 8
Unified diffs Side-by-side diffs Delta from patch set Stats (+208 lines, -40 lines) Patch
M chrome/android/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/notifications/CustomNotificationBuilder.java View 1 chunk +2 lines, -2 lines 1 comment Download
M chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationBuilderBase.java View 1 9 chunks +43 lines, -9 lines 1 comment Download
M chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUIManager.java View 1 2 chunks +16 lines, -5 lines 2 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/notifications/StandardNotificationBuilder.java View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/android/java/strings/android_chrome_strings.grd View 1 2 3 1 chunk +3 lines, -0 lines 1 comment Download
M chrome/android/javatests/src/org/chromium/chrome/browser/notifications/CustomNotificationBuilderTest.java View 1 4 chunks +16 lines, -11 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/notifications/StandardNotificationBuilderTest.java View 1 2 chunks +36 lines, -5 lines 1 comment Download
M chrome/browser/notifications/notification_ui_manager_android.cc View 1 4 chunks +34 lines, -2 lines 0 comments Download
M chrome/browser/notifications/platform_notification_service_impl.cc View 1 2 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/notifications/platform_notification_service_unittest.cc View 3 chunks +17 lines, -2 lines 0 comments Download
M chrome/chrome.gyp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 1 chunk +9 lines, -0 lines 1 comment Download
A chromium.gyp_env View 1 2 3 1 chunk +1 line, -0 lines 1 comment Download
M ui/message_center/notification.h View 3 chunks +15 lines, -0 lines 0 comments Download
M ui/message_center/notification.cc View 1 chunk +1 line, -2 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 19 (9 generated)
Nina
Michael, please take a look. Thanks!
4 years, 8 months ago (2016-04-06 11:55:03 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1864053002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1864053002/1
4 years, 8 months ago (2016-04-06 12:32:20 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/49257)
4 years, 8 months ago (2016-04-06 12:58:39 UTC) #6
Michael van Ouwerkerk
Thanks Nicolas! In addition to my comments, the bots are a bit red. https://codereview.chromium.org/1864053002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/notifications/CustomNotificationBuilder.java File ...
4 years, 8 months ago (2016-04-06 13:27:35 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1864053002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1864053002/20001
4 years, 8 months ago (2016-04-06 16:05:36 UTC) #9
Nina
I think I fixed all the bot failures but one. Will re-run them again to ...
4 years, 8 months ago (2016-04-06 16:05:49 UTC) #10
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/46198) android_compile_dbg on ...
4 years, 8 months ago (2016-04-06 16:29:44 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1864053002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1864053002/60001
4 years, 8 months ago (2016-04-07 13:40:32 UTC) #15
Michael van Ouwerkerk
https://codereview.chromium.org/1864053002/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/notifications/CustomNotificationBuilder.java File chrome/android/java/src/org/chromium/chrome/browser/notifications/CustomNotificationBuilder.java (right): https://codereview.chromium.org/1864053002/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/notifications/CustomNotificationBuilder.java#newcode145 chrome/android/java/src/org/chromium/chrome/browser/notifications/CustomNotificationBuilder.java:145: addActionToBuilder(builder, mSettingsAction, null /* defaultPlaceholder */); My point is ...
4 years, 8 months ago (2016-04-07 14:19:20 UTC) #16
commit-bot: I haz the power
4 years, 8 months ago (2016-04-07 15:15:17 UTC) #18
Dry run: Try jobs failed on following builders:
  linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED,
https://build.chromium.org/p/tryserver.chromium.android/builders/linux_androi...)

Powered by Google App Engine
This is Rietveld 408576698