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

Issue 2682353002: Mojoify the notificationclick and notificationclose events (Closed)

Created:
3 years, 10 months ago by Peter Beverloo
Modified:
3 years, 10 months ago
Reviewers:
Tom Sepez, awdf, shimazu
CC:
Aaron Boodman, abarth-chromium, awdf+watch_chromium.org, blink-worker-reviews_chromium.org, chromium-reviews, darin (slow to review), darin-cc_chromium.org, horo+watch_chromium.org, jam, jsbell+serviceworker_chromium.org, kinuko+serviceworker, kinuko+watch, michaeln, mlamouri+watch-notifications_chromium.org, mlamouri+watch-content_chromium.org, nhiroki, Peter Beverloo, qsr+mojo_chromium.org, serviceworker-reviews, shimazu+serviceworker_chromium.org, tzik, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Mojoify the notificationclick and notificationclose events BUG=595685 Review-Url: https://codereview.chromium.org/2682353002 Cr-Commit-Position: refs/heads/master@{#450007} Committed: https://chromium.googlesource.com/chromium/src/+/f8ea4c45d43e8e4871f9a51f74fa8d74618c0886

Patch Set 1 #

Total comments: 11

Patch Set 2 : Mojoify the notificationclick and notificationclose events #

Unified diffs Side-by-side diffs Delta from patch set Stats (+186 lines, -53 lines) Patch
M content/browser/notifications/notification_event_dispatcher_impl.cc View 1 3 chunks +15 lines, -12 lines 0 comments Download
M content/browser/service_worker/embedded_worker_test_helper.h View 3 chunks +25 lines, -0 lines 0 comments Download
M content/browser/service_worker/embedded_worker_test_helper.cc View 3 chunks +64 lines, -0 lines 0 comments Download
M content/common/service_worker/OWNERS View 1 1 chunk +6 lines, -0 lines 0 comments Download
M content/common/service_worker/service_worker_event_dispatcher.mojom View 2 chunks +13 lines, -0 lines 0 comments Download
M content/common/service_worker/service_worker_event_dispatcher.typemap View 1 chunk +3 lines, -0 lines 0 comments Download
M content/common/service_worker/service_worker_messages.h View 2 chunks +0 lines, -18 lines 0 comments Download
M content/renderer/service_worker/service_worker_context_client.h View 1 chunk +10 lines, -0 lines 0 comments Download
M content/renderer/service_worker/service_worker_context_client.cc View 1 7 chunks +50 lines, -23 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 26 (14 generated)
Peter Beverloo
+awdf for notifications +shimazu for service workers - thank you for the help during BlinkOn!
3 years, 10 months ago (2017-02-09 17:32:44 UTC) #4
Peter Beverloo
https://codereview.chromium.org/2682353002/diff/1/content/browser/notifications/notification_event_dispatcher_impl.cc File content/browser/notifications/notification_event_dispatcher_impl.cc (right): https://codereview.chromium.org/2682353002/diff/1/content/browser/notifications/notification_event_dispatcher_impl.cc#newcode220 content/browser/notifications/notification_event_dispatcher_impl.cc:220: service_worker, request_id)); Err, this and line 288 need to ...
3 years, 10 months ago (2017-02-10 03:21:28 UTC) #7
shimazu
https://codereview.chromium.org/2682353002/diff/1/content/renderer/service_worker/service_worker_context_client.cc File content/renderer/service_worker/service_worker_context_client.cc (right): https://codereview.chromium.org/2682353002/diff/1/content/renderer/service_worker/service_worker_context_client.cc#newcode739 content/renderer/service_worker/service_worker_context_client.cc:739: : SERVICE_WORKER_ERROR_EVENT_WAITUNTIL_REJECTED, You can use "EventResultToStatus(result)" here. https://codereview.chromium.org/2682353002/diff/1/content/renderer/service_worker/service_worker_context_client.cc#newcode755 content/renderer/service_worker/service_worker_context_client.cc:755: ...
3 years, 10 months ago (2017-02-10 08:09:30 UTC) #8
Peter Beverloo
Thanks! https://codereview.chromium.org/2682353002/diff/1/content/browser/notifications/notification_event_dispatcher_impl.cc File content/browser/notifications/notification_event_dispatcher_impl.cc (right): https://codereview.chromium.org/2682353002/diff/1/content/browser/notifications/notification_event_dispatcher_impl.cc#newcode220 content/browser/notifications/notification_event_dispatcher_impl.cc:220: service_worker, request_id)); On 2017/02/10 03:21:28, Peter Beverloo wrote: ...
3 years, 10 months ago (2017-02-10 16:41:06 UTC) #9
shimazu
Probably you failed to upload the second patch. Could you notice me again when you ...
3 years, 10 months ago (2017-02-13 00:38:56 UTC) #10
awdf
lgtm https://codereview.chromium.org/2682353002/diff/1/content/browser/notifications/notification_event_dispatcher_impl.cc File content/browser/notifications/notification_event_dispatcher_impl.cc (right): https://codereview.chromium.org/2682353002/diff/1/content/browser/notifications/notification_event_dispatcher_impl.cc#newcode212 content/browser/notifications/notification_event_dispatcher_impl.cc:212: base::Optional<base::string16> optional_reply; Is Optional<string> preferable to NullableString in ...
3 years, 10 months ago (2017-02-13 07:04:42 UTC) #11
Peter Beverloo
shimazu@ - sorry!! done now, PTAL awdf@ - thanks! https://codereview.chromium.org/2682353002/diff/1/content/browser/notifications/notification_event_dispatcher_impl.cc File content/browser/notifications/notification_event_dispatcher_impl.cc (right): https://codereview.chromium.org/2682353002/diff/1/content/browser/notifications/notification_event_dispatcher_impl.cc#newcode212 content/browser/notifications/notification_event_dispatcher_impl.cc:212: ...
3 years, 10 months ago (2017-02-13 14:14:33 UTC) #12
Peter Beverloo
Also +tsepez for IPC->Mojo conversion
3 years, 10 months ago (2017-02-13 14:15:41 UTC) #16
shimazu
lgtm
3 years, 10 months ago (2017-02-13 14:24:49 UTC) #17
Tom Sepez
lgtm
3 years, 10 months ago (2017-02-13 17:59:34 UTC) #20
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/2682353002/20001
3 years, 10 months ago (2017-02-13 18:02:41 UTC) #23
commit-bot: I haz the power
3 years, 10 months ago (2017-02-13 18:09:17 UTC) #26
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/f8ea4c45d43e8e4871f9a51f74fa...

Powered by Google App Engine
This is Rietveld 408576698