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

Issue 1656243002: Implementation of renotify flag for Notifications. (Closed)

Created:
4 years, 10 months ago by harkness
Modified:
4 years, 10 months ago
CC:
chromium-reviews, Peter Beverloo, mlamouri+watch-notifications_chromium.org, jam, dglazkov+blink, darin-cc_chromium.org, blink-reviews, blink-reviews-api_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implementation of renotify flag for Notifications. Implement and plumb the renotify flag. This flag controls whether alert sound, lights, and vibration are played again when a notification replaces a previous notification. Changes for this issue are covered by Intent to Implement and Ship: Notification Renotify. https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/k5n129-lM1A BUG=442133 Committed: https://crrev.com/39c49fe6e8dfe2f2ae3c7db261cb8e845692dfd2 Cr-Commit-Position: refs/heads/master@{#374709}

Patch Set 1 #

Patch Set 2 : Post-rebase cleanup #

Patch Set 3 : Added TypeError for incorrect options and unit test #

Total comments: 4

Patch Set 4 : Code review comments and added LayoutTests interface listing files #

Total comments: 2

Patch Set 5 : Change test setting #

Patch Set 6 : Fix LayoutTests interface tests #

Total comments: 2

Patch Set 7 : Added unit tests #

Patch Set 8 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+108 lines, -5 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/notifications/CustomNotificationBuilder.java View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationBuilderBase.java View 1 2 3 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUIManager.java View 1 2 3 3 chunks +5 lines, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/notifications/StandardNotificationBuilder.java View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/notifications/NotificationUIManagerTest.java View 1 2 3 4 5 6 1 chunk +17 lines, -0 lines 0 comments Download
M chrome/browser/notifications/notification_ui_manager_android.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/notifications/platform_notification_service_browsertest.cc View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/notifications/platform_notification_service_impl.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/data/notifications/platform_notification_service.html View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/notifications/notification_database_data.proto View 1 2 3 4 5 6 7 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/notifications/notification_database_data_conversions.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -0 lines 0 comments Download
M content/browser/notifications/notification_database_data_unittest.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -0 lines 0 comments Download
M content/child/notifications/notification_data_conversions.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -0 lines 0 comments Download
M content/child/notifications/notification_data_conversions_unittest.cc View 1 2 3 4 5 6 7 4 chunks +4 lines, -0 lines 0 comments Download
M content/common/platform_notification_messages.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M content/public/common/platform_notification_data.h View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/notifications/serviceworker-notification-properties.html View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/serviceworker/webexposed/global-interface-listing-service-worker-expected.txt View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/stable/http/tests/serviceworker/webexposed/global-interface-listing-service-worker-expected.txt View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/stable/webexposed/global-interface-listing-dedicated-worker-expected.txt View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/stable/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/stable/webexposed/global-interface-listing-shared-worker-expected.txt View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-dedicated-worker-expected.txt View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-shared-worker-expected.txt View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/notifications/Notification.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/notifications/Notification.cpp View 1 2 3 4 5 6 7 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/notifications/Notification.idl View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/notifications/NotificationData.cpp View 1 2 3 4 5 6 7 2 chunks +7 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/notifications/NotificationDataTest.cpp View 1 2 3 4 5 6 7 4 chunks +17 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/notifications/NotificationOptions.idl View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/public/platform/modules/notifications/WebNotificationData.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M ui/message_center/notification.h View 1 2 3 2 chunks +7 lines, -0 lines 0 comments Download
M ui/message_center/notification.cc View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 47 (20 generated)
harkness
Please take a look for functionality when you have a chance.
4 years, 10 months ago (2016-02-02 10:08:21 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/1656243002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1656243002/20001
4 years, 10 months ago (2016-02-02 10:46:09 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/167772)
4 years, 10 months ago (2016-02-02 11:56:19 UTC) #6
Peter Beverloo
Amazing. This seems really good to me, thank you! :-) There are a few things ...
4 years, 10 months ago (2016-02-02 23:43:10 UTC) #7
harkness
https://codereview.chromium.org/1656243002/diff/40001/content/browser/notifications/notification_database_data.proto File content/browser/notifications/notification_database_data.proto (right): https://codereview.chromium.org/1656243002/diff/40001/content/browser/notifications/notification_database_data.proto#newcode49 content/browser/notifications/notification_database_data.proto:49: optional bool renotify = 13; On 2016/02/02 23:43:10, Peter ...
4 years, 10 months ago (2016-02-03 11:24:28 UTC) #8
Peter Beverloo
lgtm % passing the Intent to Implement and Ship, and mentioning it in the CL ...
4 years, 10 months ago (2016-02-03 11:34:38 UTC) #9
harkness
Just waiting on the Implement and Ship now, then I'll send it out to other ...
4 years, 10 months ago (2016-02-03 13:45:44 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1656243002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1656243002/80001
4 years, 10 months ago (2016-02-03 13:50:34 UTC) #12
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/174424)
4 years, 10 months ago (2016-02-03 15:42:40 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1656243002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1656243002/100001
4 years, 10 months ago (2016-02-04 10:19:58 UTC) #16
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-04 11:46:37 UTC) #18
harkness
This code is waiting for LGTM3 on Intent to Implement and Ship, but I wanted ...
4 years, 10 months ago (2016-02-08 10:06:35 UTC) #21
philipj_slow
third_party/WebKit/LayoutTests/virtual/stable LGTM
4 years, 10 months ago (2016-02-08 11:09:17 UTC) #22
Michael van Ouwerkerk
lgtm with nit https://codereview.chromium.org/1656243002/diff/100001/content/child/notifications/notification_data_conversions_unittest.cc File content/child/notifications/notification_data_conversions_unittest.cc (right): https://codereview.chromium.org/1656243002/diff/100001/content/child/notifications/notification_data_conversions_unittest.cc#newcode84 content/child/notifications/notification_data_conversions_unittest.cc:84: TEST(NotificationDataConversionsTest, ToWebNotificationData) { Please also add ...
4 years, 10 months ago (2016-02-08 17:18:22 UTC) #23
Avi (use Gerrit)
content/public lgtm
4 years, 10 months ago (2016-02-08 17:23:54 UTC) #24
dewittj
ui/message_center lgtm
4 years, 10 months ago (2016-02-08 17:42:11 UTC) #25
harkness
https://codereview.chromium.org/1656243002/diff/100001/content/child/notifications/notification_data_conversions_unittest.cc File content/child/notifications/notification_data_conversions_unittest.cc (right): https://codereview.chromium.org/1656243002/diff/100001/content/child/notifications/notification_data_conversions_unittest.cc#newcode84 content/child/notifications/notification_data_conversions_unittest.cc:84: TEST(NotificationDataConversionsTest, ToWebNotificationData) { On 2016/02/08 17:18:22, Michael van Ouwerkerk ...
4 years, 10 months ago (2016-02-09 11:06:30 UTC) #26
Michael van Ouwerkerk
still lgtm
4 years, 10 months ago (2016-02-09 17:36:42 UTC) #27
Michael van Ouwerkerk
Ken, could you take a look please at content/common/platform_notification_messages.h as Mike West is traveling?
4 years, 10 months ago (2016-02-10 10:14:16 UTC) #30
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1656243002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1656243002/120001
4 years, 10 months ago (2016-02-10 10:17:18 UTC) #32
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-10 11:56:08 UTC) #34
kenrb
ipc lgtm
4 years, 10 months ago (2016-02-10 15:19:53 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1656243002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1656243002/120001
4 years, 10 months ago (2016-02-10 16:56:08 UTC) #38
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/144750)
4 years, 10 months ago (2016-02-10 17:12:11 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1656243002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1656243002/140001
4 years, 10 months ago (2016-02-10 17:34:26 UTC) #43
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 10 months ago (2016-02-10 20:15:35 UTC) #45
commit-bot: I haz the power
4 years, 10 months ago (2016-02-16 22:30:42 UTC) #47
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/39c49fe6e8dfe2f2ae3c7db261cb8e845692dfd2
Cr-Commit-Position: refs/heads/master@{#374709}

Powered by Google App Engine
This is Rietveld 408576698