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

Issue 2390153005: Implement support for closing mac native notifications (Closed)

Created:
4 years, 2 months ago by Miguel Garcia
Modified:
4 years, 2 months ago
CC:
chromium-reviews, Peter Beverloo, mlamouri+watch-notifications_chromium.org, awdf+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement support for closing mac native notifications BUG=571056 Committed: https://crrev.com/fcfa6816d06cc9e4f1a187ab261f45395a81bffa Cr-Commit-Position: refs/heads/master@{#425336}

Patch Set 1 #

Patch Set 2 : set upstream to the right diff #

Total comments: 4

Patch Set 3 : review #

Total comments: 12

Patch Set 4 : review #

Total comments: 4

Patch Set 5 : review+small refactor of the builder #

Total comments: 4

Patch Set 6 : review #

Total comments: 7

Patch Set 7 : review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -103 lines) Patch
M chrome/browser/notifications/notification_platform_bridge_mac.mm View 1 2 3 3 chunks +15 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/notifications/notification_response_builder_mac.mm View 1 1 chunk +5 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/notifications/notification_response_builder_mac_unittest.mm View 1 2 3 4 5 6 6 chunks +62 lines, -99 lines 0 comments Download
M chrome/browser/ui/cocoa/notifications/notification_service_delegate.mm View 1 2 1 chunk +8 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 32 (12 generated)
Miguel Garcia
Caveats: Uses a private API Depends on https://chromiumcodereview.appspot.com/2070903002/ The first patch is the full thing ...
4 years, 2 months ago (2016-10-05 17:49:04 UTC) #6
Robert Sesek
Btw, these CLs seem to get mailed from chromiumcodereview.appspot.com rather than the more canonical codereview.chromium.org. ...
4 years, 2 months ago (2016-10-05 20:33:33 UTC) #7
Miguel Garcia
https://codereview.chromium.org/2390153005/diff/60001/chrome/browser/ui/cocoa/notifications/notification_private_mac.h File chrome/browser/ui/cocoa/notifications/notification_private_mac.h (right): https://codereview.chromium.org/2390153005/diff/60001/chrome/browser/ui/cocoa/notifications/notification_private_mac.h#newcode13 chrome/browser/ui/cocoa/notifications/notification_private_mac.h:13: @protocol On 2016/10/05 20:33:32, Robert Sesek wrote: > I ...
4 years, 2 months ago (2016-10-05 21:58:37 UTC) #8
Miguel Garcia
>Btw, these CLs seem to get mailed from chromiumcodereview.appspot.com rather >than the more canonical codereview.chromium.org. ...
4 years, 2 months ago (2016-10-05 21:59:31 UTC) #9
Peter Beverloo
rs lgtm Is there any way to test a show -> get -> close -> ...
4 years, 2 months ago (2016-10-06 14:35:19 UTC) #10
Miguel Garcia
thanks for the review! PTAL https://codereview.chromium.org/2390153005/diff/80001/chrome/browser/notifications/notification_platform_bridge_mac.mm File chrome/browser/notifications/notification_platform_bridge_mac.mm (right): https://codereview.chromium.org/2390153005/diff/80001/chrome/browser/notifications/notification_platform_bridge_mac.mm#newcode382 chrome/browser/notifications/notification_platform_bridge_mac.mm:382: // Emmitted when a ...
4 years, 2 months ago (2016-10-07 13:42:24 UTC) #11
Miguel Garcia
Friendly ping on this one Robert. On 2016/10/07 13:42:24, Miguel Garcia wrote: > thanks for ...
4 years, 2 months ago (2016-10-11 08:20:46 UTC) #12
Robert Sesek
Sorry, missed this one yesterday. https://codereview.chromium.org/2390153005/diff/100001/chrome/browser/ui/cocoa/notifications/notification_response_builder_mac_unittest.mm File chrome/browser/ui/cocoa/notifications/notification_response_builder_mac_unittest.mm (right): https://codereview.chromium.org/2390153005/diff/100001/chrome/browser/ui/cocoa/notifications/notification_response_builder_mac_unittest.mm#newcode208 chrome/browser/ui/cocoa/notifications/notification_response_builder_mac_unittest.mm:208: [builder setIcon:[NSImage imageNamed:@"NSApplicationIcon"]]; Is ...
4 years, 2 months ago (2016-10-11 14:19:32 UTC) #13
Miguel Garcia
PTAL I crossed my personal boundary on the number of times I am willing to ...
4 years, 2 months ago (2016-10-12 13:14:31 UTC) #14
Robert Sesek
https://codereview.chromium.org/2390153005/diff/120001/chrome/browser/ui/cocoa/notifications/notification_response_builder_mac_unittest.mm File chrome/browser/ui/cocoa/notifications/notification_response_builder_mac_unittest.mm (right): https://codereview.chromium.org/2390153005/diff/120001/chrome/browser/ui/cocoa/notifications/notification_response_builder_mac_unittest.mm#newcode19 chrome/browser/ui/cocoa/notifications/notification_response_builder_mac_unittest.mm:19: + (NotificationBuilder*)newTestBuilder { Splitting this out makes sense, but ...
4 years, 2 months ago (2016-10-12 15:34:30 UTC) #15
Miguel Garcia
https://codereview.chromium.org/2390153005/diff/120001/chrome/browser/ui/cocoa/notifications/notification_response_builder_mac_unittest.mm File chrome/browser/ui/cocoa/notifications/notification_response_builder_mac_unittest.mm (right): https://codereview.chromium.org/2390153005/diff/120001/chrome/browser/ui/cocoa/notifications/notification_response_builder_mac_unittest.mm#newcode19 chrome/browser/ui/cocoa/notifications/notification_response_builder_mac_unittest.mm:19: + (NotificationBuilder*)newTestBuilder { On 2016/10/12 15:34:30, Robert Sesek wrote: ...
4 years, 2 months ago (2016-10-13 15:17:35 UTC) #18
Robert Sesek
https://codereview.chromium.org/2390153005/diff/140001/chrome/browser/ui/cocoa/notifications/notification_response_builder_mac_unittest.mm File chrome/browser/ui/cocoa/notifications/notification_response_builder_mac_unittest.mm (right): https://codereview.chromium.org/2390153005/diff/140001/chrome/browser/ui/cocoa/notifications/notification_response_builder_mac_unittest.mm#newcode14 chrome/browser/ui/cocoa/notifications/notification_response_builder_mac_unittest.mm:14: @interface TestBuilder : NSObject Remove this? https://codereview.chromium.org/2390153005/diff/140001/chrome/browser/ui/cocoa/notifications/notification_response_builder_mac_unittest.mm#newcode39 chrome/browser/ui/cocoa/notifications/notification_response_builder_mac_unittest.mm:39: base::scoped_nsobject<NotificationBuilder> ...
4 years, 2 months ago (2016-10-13 16:50:37 UTC) #21
Miguel Garcia
https://codereview.chromium.org/2390153005/diff/140001/chrome/browser/ui/cocoa/notifications/notification_response_builder_mac_unittest.mm File chrome/browser/ui/cocoa/notifications/notification_response_builder_mac_unittest.mm (right): https://codereview.chromium.org/2390153005/diff/140001/chrome/browser/ui/cocoa/notifications/notification_response_builder_mac_unittest.mm#newcode39 chrome/browser/ui/cocoa/notifications/notification_response_builder_mac_unittest.mm:39: base::scoped_nsobject<NotificationBuilder> testBuilder(); On 2016/10/13 16:50:36, Robert Sesek wrote: > ...
4 years, 2 months ago (2016-10-14 10:59:06 UTC) #22
Miguel Garcia
4 years, 2 months ago (2016-10-14 10:59:08 UTC) #23
Miguel Garcia
4 years, 2 months ago (2016-10-14 10:59:08 UTC) #24
Robert Sesek
LGTM
4 years, 2 months ago (2016-10-14 14:37:08 UTC) #25
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/2390153005/160001
4 years, 2 months ago (2016-10-14 15:28:39 UTC) #28
commit-bot: I haz the power
Committed patchset #7 (id:160001)
4 years, 2 months ago (2016-10-14 15:51:18 UTC) #29
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/fcfa6816d06cc9e4f1a187ab261f45395a81bffa Cr-Commit-Position: refs/heads/master@{#425336}
4 years, 2 months ago (2016-10-14 15:55:21 UTC) #31
Miguel Garcia
4 years, 2 months ago (2016-10-14 17:41:41 UTC) #32
Message was sent while issue was closed.
A revert of this CL (patchset #7 id:160001) has been created in
https://codereview.chromium.org/2418183002/ by miguelg@chromium.org.

The reason for reverting is: Broke one of the waterfall builders.

http://build.chromium.org/p/chromium/builders/Mac/builds/20166/steps/compile/....

Powered by Google App Engine
This is Rietveld 408576698