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

Issue 1644573002: Notification actions may have an icon url. (Closed)

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

Description

Notification actions may have an icon url. This is behind a runtime flag for two reasons: * The implementation is incomplete. * We're still evaluating the API design. Intent to Implement and Ship: Notification Action Icons https://groups.google.com/a/chromium.org/d/msg/blink-dev/IM0HxOP7HOA/y8tu6iq1CgAJ BUG=581336 Committed: https://crrev.com/4a3e17c874bc4c4c90e5b0f8ec568520964695d4 Cr-Commit-Position: refs/heads/master@{#374649}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address peter's comments. #

Total comments: 8

Patch Set 3 : Address peter's and jochen's feedback. #

Patch Set 4 : Enable and test in layout tests after all. #

Patch Set 5 : cleanup #

Patch Set 6 : Rebase. #

Patch Set 7 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -24 lines) Patch
M content/browser/notifications/notification_database_data.proto View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/notifications/notification_database_data_conversions.cc View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M content/browser/notifications/notification_database_data_unittest.cc View 1 2 3 4 5 3 chunks +4 lines, -0 lines 0 comments Download
M content/child/notifications/notification_data_conversions.cc View 1 2 3 4 5 2 chunks +3 lines, -0 lines 0 comments Download
M content/child/notifications/notification_data_conversions_unittest.cc View 1 2 3 4 5 5 chunks +10 lines, -0 lines 0 comments Download
M content/common/platform_notification_messages.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M content/public/common/platform_notification_data.h View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/notifications/serviceworker-notification-properties.html View 1 2 3 4 5 3 chunks +13 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/modules/notifications/Notification.cpp View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/notifications/NotificationAction.idl View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/notifications/NotificationData.cpp View 1 2 3 4 5 3 chunks +8 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/notifications/NotificationDataTest.cpp View 1 2 3 4 5 6 chunks +22 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/public/platform/modules/notifications/WebNotificationAction.h View 1 chunk +2 lines, -10 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 25 (9 generated)
Michael van Ouwerkerk
Peter, could you take a look please?
4 years, 11 months ago (2016-01-27 11:45:28 UTC) #2
Peter Beverloo
https://codereview.chromium.org/1644573002/diff/1/content/public/common/platform_notification_data.h File content/public/common/platform_notification_data.h (right): https://codereview.chromium.org/1644573002/diff/1/content/public/common/platform_notification_data.h#newcode31 content/public/common/platform_notification_data.h:31: GURL icon; Please make sure that this struct and ...
4 years, 11 months ago (2016-01-27 13:24:45 UTC) #3
Michael van Ouwerkerk
Thanks Peter. https://codereview.chromium.org/1644573002/diff/1/content/public/common/platform_notification_data.h File content/public/common/platform_notification_data.h (right): https://codereview.chromium.org/1644573002/diff/1/content/public/common/platform_notification_data.h#newcode31 content/public/common/platform_notification_data.h:31: GURL icon; On 2016/01/27 13:24:45, Peter Beverloo ...
4 years, 11 months ago (2016-01-27 14:24:32 UTC) #4
Michael van Ouwerkerk
Mike, could you please take a look for platform_notification_messages.h and RuntimeEnabledFeatures.in? Avi, could you please ...
4 years, 11 months ago (2016-01-27 14:27:05 UTC) #6
Michael van Ouwerkerk
Avi, could you please take a look for content/public/common/platform_notification_data.h?
4 years, 11 months ago (2016-01-27 14:27:32 UTC) #8
Michael van Ouwerkerk
Jochen, since Avi is OOO, could you take a look please for content/public/common/platform_notification_data.h?
4 years, 11 months ago (2016-01-27 14:30:06 UTC) #10
Peter Beverloo
lgtm Would you please send the Intent to Implement before landing this CL, and refer ...
4 years, 11 months ago (2016-01-27 17:14:23 UTC) #11
jochen (gone - plz use gerrit)
https://codereview.chromium.org/1644573002/diff/20001/content/child/notifications/notification_data_conversions.cc File content/child/notifications/notification_data_conversions.cc (right): https://codereview.chromium.org/1644573002/diff/20001/content/child/notifications/notification_data_conversions.cc#newcode54 content/child/notifications/notification_data_conversions.cc:54: blink::WebStringToGURL(web_data.actions[i].icon.string()); should there be a max length of the ...
4 years, 10 months ago (2016-01-28 12:12:24 UTC) #12
Michael van Ouwerkerk
Thanks guys. Jochen: please take another look. https://codereview.chromium.org/1644573002/diff/20001/content/child/notifications/notification_data_conversions.cc File content/child/notifications/notification_data_conversions.cc (right): https://codereview.chromium.org/1644573002/diff/20001/content/child/notifications/notification_data_conversions.cc#newcode54 content/child/notifications/notification_data_conversions.cc:54: blink::WebStringToGURL(web_data.actions[i].icon.string()); On ...
4 years, 10 months ago (2016-02-01 14:39:23 UTC) #13
jochen (gone - plz use gerrit)
lgtm
4 years, 10 months ago (2016-02-01 14:40:23 UTC) #14
Michael van Ouwerkerk
Mike, could you take a look please for platform_notification_messages.h?
4 years, 10 months ago (2016-02-04 11:30:00 UTC) #15
Mike West
Adding the icon data to the IPC LGTM.
4 years, 10 months ago (2016-02-04 18:03:11 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1644573002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1644573002/120001
4 years, 10 months ago (2016-02-10 11:34:15 UTC) #20
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 10 months ago (2016-02-10 13:03:49 UTC) #22
commit-bot: I haz the power
Failed to apply the patch.
4 years, 10 months ago (2016-02-10 13:04:18 UTC) #23
commit-bot: I haz the power
4 years, 10 months ago (2016-02-10 13:05:11 UTC) #25
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/4a3e17c874bc4c4c90e5b0f8ec568520964695d4
Cr-Commit-Position: refs/heads/master@{#374649}

Powered by Google App Engine
This is Rietveld 408576698