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

Issue 2928303002: Deprecate native and extension notification delegates. (Closed)

Created:
3 years, 6 months ago by Miguel Garcia
Modified:
3 years, 6 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, awdf+watch_chromium.org, mlamouri+watch-notifications_chromium.org, jam, darin-cc_chromium.org, chromium-apps-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Deprecate native and extension notification delegates. WebNotificationDelegate can now handle extensions and all web notifications as a result. TBR=avi@chromium.org BUG=720345 Review-Url: https://codereview.chromium.org/2928303002 Cr-Commit-Position: refs/heads/master@{#479347} Committed: https://chromium.googlesource.com/chromium/src/+/d95830c60e22fa695f0521004149caf03bcc2f77

Patch Set 1 #

Total comments: 26

Patch Set 2 : review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+197 lines, -298 lines) Patch
M chrome/browser/BUILD.gn View 1 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/notifications/extension_notification_handler.h View 1 3 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/notifications/extension_notification_handler.cc View 1 2 chunks +43 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/notifications/notifications_api.h View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/notifications/notifications_api.cc View 5 chunks +4 lines, -175 lines 0 comments Download
M chrome/browser/extensions/api/notifications/notifications_apitest.cc View 1 chunk +1 line, -0 lines 0 comments Download
D chrome/browser/notifications/native_notification_delegate.h View 1 chunk +0 lines, -30 lines 0 comments Download
D chrome/browser/notifications/native_notification_delegate.cc View 1 chunk +0 lines, -9 lines 0 comments Download
M chrome/browser/notifications/non_persistent_notification_handler.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/notifications/non_persistent_notification_handler.cc View 1 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/notifications/notification_common.h View 1 2 chunks +16 lines, -0 lines 0 comments Download
M chrome/browser/notifications/notification_common.cc View 1 2 chunks +60 lines, -0 lines 0 comments Download
M chrome/browser/notifications/notification_delegate.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/notifications/notification_display_service.h View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/notifications/notification_display_service.cc View 1 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/notifications/notification_handler.h View 1 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/notifications/persistent_notification_handler.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/notifications/persistent_notification_handler.cc View 1 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/notifications/platform_notification_service_impl.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/notifications/platform_notification_service_interactive_uitest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/notifications/platform_notification_service_unittest.cc View 3 chunks +8 lines, -5 lines 0 comments Download
M chrome/browser/notifications/stub_notification_display_service.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/notifications/stub_notification_display_service.cc View 3 chunks +10 lines, -7 lines 0 comments Download
M chrome/browser/notifications/web_notification_delegate.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/notifications/web_notification_delegate.cc View 2 chunks +6 lines, -58 lines 0 comments Download
M content/test/mock_platform_notification_service.cc View 1 1 chunk +3 lines, -7 lines 0 comments Download

Messages

Total messages: 19 (11 generated)
Miguel Garcia
3 years, 6 months ago (2017-06-11 13:17:29 UTC) #4
Peter Beverloo
Largely nits, thanks :) lgtm https://codereview.chromium.org/2928303002/diff/1/chrome/browser/extensions/api/notifications/extension_notification_handler.cc File chrome/browser/extensions/api/notifications/extension_notification_handler.cc (right): https://codereview.chromium.org/2928303002/diff/1/chrome/browser/extensions/api/notifications/extension_notification_handler.cc#newcode136 chrome/browser/extensions/api/notifications/extension_notification_handler.cc:136: bool ExtensionNotificationHandler::ShouldDisplayOnFullScreen( nit: put ...
3 years, 6 months ago (2017-06-13 22:56:42 UTC) #7
Miguel Garcia
+avi for content
3 years, 6 months ago (2017-06-14 09:05:39 UTC) #9
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/2928303002/20001
3 years, 6 months ago (2017-06-14 09:39:30 UTC) #13
Miguel Garcia
TBR avi for content/test/mock_platform_notification_service.cc https://codereview.chromium.org/2928303002/diff/1/chrome/browser/extensions/api/notifications/extension_notification_handler.cc File chrome/browser/extensions/api/notifications/extension_notification_handler.cc (right): https://codereview.chromium.org/2928303002/diff/1/chrome/browser/extensions/api/notifications/extension_notification_handler.cc#newcode136 chrome/browser/extensions/api/notifications/extension_notification_handler.cc:136: bool ExtensionNotificationHandler::ShouldDisplayOnFullScreen( On 2017/06/13 22:56:40, ...
3 years, 6 months ago (2017-06-14 09:39:39 UTC) #14
Peter Beverloo
On 2017/06/14 09:39:39, Miguel Garcia wrote: > TBR avi for content/test/mock_platform_notification_service.cc fwiw we own that ...
3 years, 6 months ago (2017-06-14 10:06:08 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/d95830c60e22fa695f0521004149caf03bcc2f77
3 years, 6 months ago (2017-06-14 11:01:36 UTC) #18
Henrik Grunell
3 years, 6 months ago (2017-06-14 12:32:00 UTC) #19
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/2941743002/ by grunell@chromium.org.

The reason for reverting is: Breaks
https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Linux%20Trusty....

Powered by Google App Engine
This is Rietveld 408576698