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

Issue 2261283002: Add Notification images (Blink + desktop implementation) (Closed)

Created:
4 years, 4 months ago by johnme
Modified:
4 years, 4 months ago
CC:
chromium-reviews, darin (slow to review), qsr+mojo_chromium.org, Aaron Boodman, Peter Beverloo, mlamouri+watch-notifications_chromium.org, viettrungluu+watch_chromium.org, jam, yzshen+watch_chromium.org, abarth-chromium, haraken, dglazkov+blink, darin-cc_chromium.org, blink-reviews, kinuko+watch, ben+mojo_chromium.org, 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

Add Notification images (Blink + desktop implementation) Behind --enable-experimental-web-platform-features flag. Not yet hooked up on Android. Intent to implement: https://groups.google.com/a/chromium.org/d/topic/blink-dev/FQxPB5GEQjo/discussion Screenshot: https://imgur.com/a/mUdgu BUG=614456 Committed: https://crrev.com/578c5cc816365993c926a93514c9ae4ff6baa1af Cr-Commit-Position: refs/heads/master@{#414177}

Patch Set 1 #

Total comments: 17

Patch Set 2 : Address review comments #

Patch Set 3 : Fix webexposed layout tests #

Patch Set 4 : Add to PlatformNotificationServiceBrowserTest #

Total comments: 1

Patch Set 5 : Check IPC drawsNothing rather than isNull #

Unified diffs Side-by-side diffs Delta from patch set Stats (+166 lines, -26 lines) Patch
M chrome/browser/notifications/platform_notification_service_impl.cc View 1 1 chunk +6 lines, -1 line 0 comments Download
M chrome/browser/notifications/platform_notification_service_interactive_uitest.cc View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/test/data/notifications/platform_notification_service.html View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/notifications/notification_database_data.proto View 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/notifications/notification_database_data_conversions.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M content/browser/notifications/notification_database_data_unittest.cc View 3 chunks +3 lines, -0 lines 0 comments Download
M content/browser/notifications/notification_message_filter.cc View 1 2 3 4 3 chunks +12 lines, -0 lines 0 comments Download
M content/child/notifications/notification_data_conversions.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M content/child/notifications/notification_data_conversions_unittest.cc View 5 chunks +5 lines, -0 lines 0 comments Download
M content/child/notifications/notification_manager.cc View 1 chunk +1 line, -0 lines 0 comments Download
M content/common/platform_notification_messages.h View 2 chunks +2 lines, -0 lines 0 comments Download
M content/public/common/notification_resources.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M content/public/common/platform_notification_data.h View 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/notifications/notification-properties.html View 4 chunks +5 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/notifications/serviceworker-notification-properties.html View 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 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 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt View 1 2 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 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/notifications/Notification.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/notifications/Notification.cpp View 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/notifications/Notification.idl View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/notifications/NotificationData.cpp View 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/notifications/NotificationDataTest.cpp View 4 chunks +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/notifications/NotificationOptions.idl View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/notifications/NotificationResourcesLoader.h View 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/notifications/NotificationResourcesLoader.cpp View 1 5 chunks +24 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/modules/notifications/NotificationResourcesLoaderTest.cpp View 10 chunks +52 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in View 1 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/Source/web/tests/data/notifications/3000x1000.png View Binary file 0 comments Download
A third_party/WebKit/Source/web/tests/data/notifications/3000x2000.png View Binary file 0 comments Download
M third_party/WebKit/Source/web/tests/data/notifications/48x48.png View Binary file 0 comments Download
M third_party/WebKit/Source/web/tests/data/notifications/500x500.png View Binary file 0 comments Download
M third_party/WebKit/public/platform/modules/notifications/WebNotificationConstants.h View 1 1 chunk +9 lines, -4 lines 0 comments Download
M third_party/WebKit/public/platform/modules/notifications/WebNotificationData.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/public/platform/modules/notifications/WebNotificationResources.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 45 (27 generated)
johnme
4 years, 4 months ago (2016-08-22 18:32:35 UTC) #2
Peter Beverloo
Thanks!! Please add a test to platform_notification_service_interactive_uitest.cc and include a screenshot in the CLs description ...
4 years, 4 months ago (2016-08-22 20:11:07 UTC) #3
johnme
Addressed review comments - thanks :) > Please add a test to platform_notification_service_interactive_uitest.cc and > ...
4 years, 4 months ago (2016-08-23 14:59:50 UTC) #8
johnme
mkwst@chromium.org: Please review changes in content/common/platform_notification_messages.h and third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in - thanks!
4 years, 4 months ago (2016-08-23 15:00:14 UTC) #10
johnme
-mkwst since he's OOO.
4 years, 4 months ago (2016-08-23 15:19:35 UTC) #12
johnme
kbr@chromium.org: Please review changes in third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in nasko@chromium.org: Please review changes in content/common/ and content/public/ Thanks!
4 years, 4 months ago (2016-08-23 17:08:26 UTC) #14
Ken Russell (switch to Gerrit)
RuntimeEnabledFeatures.in lgtm
4 years, 4 months ago (2016-08-23 20:35:39 UTC) #15
Peter Beverloo
lgtm https://codereview.chromium.org/2261283002/diff/1/third_party/WebKit/public/platform/modules/notifications/WebNotificationConstants.h File third_party/WebKit/public/platform/modules/notifications/WebNotificationConstants.h (right): https://codereview.chromium.org/2261283002/diff/1/third_party/WebKit/public/platform/modules/notifications/WebNotificationConstants.h#newcode20 third_party/WebKit/public/platform/modules/notifications/WebNotificationConstants.h:20: // largest supported scaling factor. TODO(johnme): Check sizes ...
4 years, 4 months ago (2016-08-24 15:21:11 UTC) #18
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/2261283002/80001
4 years, 4 months ago (2016-08-24 17:02:09 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/245031)
4 years, 4 months ago (2016-08-24 17:11:17 UTC) #25
johnme
-nasko, who's OOO
4 years, 4 months ago (2016-08-24 18:07:10 UTC) #27
johnme
tsepez: Please review changes in content/common/platform_notification_messages.h avi: Please stamp changes in content/public/common/ Thanks!
4 years, 4 months ago (2016-08-24 18:08:34 UTC) #29
Tom Sepez
Messages LGTM.
4 years, 4 months ago (2016-08-24 18:10:55 UTC) #30
johnme
-avi (seems to be out) +piman
4 years, 4 months ago (2016-08-24 22:09:07 UTC) #38
piman
content/ LGTM
4 years, 4 months ago (2016-08-24 22:12:20 UTC) #39
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/2261283002/80001
4 years, 4 months ago (2016-08-24 22:15:19 UTC) #41
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 4 months ago (2016-08-24 22:39:10 UTC) #43
commit-bot: I haz the power
4 years, 4 months ago (2016-08-24 22:42:11 UTC) #45
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/578c5cc816365993c926a93514c9ae4ff6baa1af
Cr-Commit-Position: refs/heads/master@{#414177}

Powered by Google App Engine
This is Rietveld 408576698