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

Issue 960163003: Add the "silent" property to the NotificationOptions dictionary. (Closed)

Created:
5 years, 10 months ago by Peter Beverloo
Modified:
5 years, 9 months ago
CC:
blink-reviews, dglazkov+blink
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Add the "silent" property to the NotificationOptions dictionary. The "silent" property allows authors to indicate that they do not want the notification to make any noise, vibrations or lights when it's being displayed on the user's device. The value will be reflected as the "silent" attribute to the developer. A layout test will be added in the third patch of this series. Further testing is being added on the Chromium side. The Web Notification specification: https://notifications.spec.whatwg.org/#object-members Intent to Implement and Ship: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/TLRZrhZJJGo This is part of a three-sided patch. [1] This patch. [2] https://codereview.chromium.org/965573002/ [3] https://codereview.chromium.org/965463003/ BUG=442134 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=191286

Patch Set 1 #

Patch Set 2 : remove the runtime flag #

Patch Set 3 : restore the old constructor #

Total comments: 2

Patch Set 4 : add the attribute #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -2 lines) Patch
M Source/modules/notifications/Notification.h View 1 2 3 3 chunks +3 lines, -0 lines 0 comments Download
M Source/modules/notifications/Notification.cpp View 1 2 3 4 4 chunks +4 lines, -1 line 0 comments Download
M Source/modules/notifications/Notification.idl View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/notifications/NotificationOptions.idl View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/notifications/ServiceWorkerRegistrationNotifications.cpp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M public/platform/modules/notifications/WebNotificationData.h View 1 2 3 chunks +15 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (7 generated)
Peter Beverloo
+mvanouwerkerk for review
5 years, 10 months ago (2015-02-26 22:33:59 UTC) #2
Michael van Ouwerkerk
lgtm https://codereview.chromium.org/960163003/diff/40001/Source/modules/notifications/Notification.h File Source/modules/notifications/Notification.h (right): https://codereview.chromium.org/960163003/diff/40001/Source/modules/notifications/Notification.h#newcode122 Source/modules/notifications/Notification.h:122: void setSilent(bool silent) { m_silent = silent; } ...
5 years, 9 months ago (2015-02-27 11:31:16 UTC) #3
Peter Beverloo
(Note that I won't submit this until the Intent to Implement and Shipped passed.) https://codereview.chromium.org/960163003/diff/40001/Source/modules/notifications/Notification.h ...
5 years, 9 months ago (2015-02-27 12:32:37 UTC) #4
Peter Beverloo
Aaand LGTM3 is in. Putting this on the commit queue.
5 years, 9 months ago (2015-03-03 18:23:13 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/960163003/60001
5 years, 9 months ago (2015-03-03 18:24:21 UTC) #8
commit-bot: I haz the power
Failed to apply patch for Source/modules/notifications/Notification.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
5 years, 9 months ago (2015-03-04 04:21:53 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/960163003/80001
5 years, 9 months ago (2015-03-04 13:47:02 UTC) #14
commit-bot: I haz the power
5 years, 9 months ago (2015-03-04 14:55:37 UTC) #15
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=191286

Powered by Google App Engine
This is Rietveld 408576698