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

Issue 2794103002: Add initial support for native Linux desktop notifications (Closed)

Created:
3 years, 8 months ago by Tom (Use chromium acct)
Modified:
3 years, 8 months ago
CC:
chromium-reviews, Peter Beverloo, mlamouri+watch-notifications_chromium.org, awdf+watch_chromium.org, yoshiki
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add initial support for native Linux desktop notifications This CL adds a stub implementation of NotificationPlatformBridgeLinux, which is responsible for communicating notification changes to the desktop environment via D-Bus. Once this class is fully implemented, it is intended to be used by default when the host supports notifications. BUG=676220 R=thestig@chromium.org,yoshiki@chromium.org Review-Url: https://codereview.chromium.org/2794103002 Cr-Commit-Position: refs/heads/master@{#461990} Committed: https://chromium.googlesource.com/chromium/src/+/421f86bb22686a086062ffde46fb746039dd2490

Patch Set 1 #

Patch Set 2 : Refactor, move impl to chrome/browser/notifications #

Total comments: 6

Patch Set 3 : Rebase, address peter@'s comments #

Total comments: 23

Patch Set 4 : Address peter and thestig's comments #

Patch Set 5 : Remove #endif comment #

Total comments: 2

Patch Set 6 : Move enable_native_notifications to chrome/common/features.gni #

Total comments: 2

Patch Set 7 : Remove unused import #

Unified diffs Side-by-side diffs Delta from patch set Stats (+137 lines, -13 lines) Patch
M chrome/browser/BUILD.gn View 1 2 3 4 5 6 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/browser_process_impl.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/notifications/notification_display_service_factory.cc View 1 2 3 4 5 2 chunks +8 lines, -4 lines 0 comments Download
M chrome/browser/notifications/notification_platform_bridge.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A chrome/browser/notifications/notification_platform_bridge_linux.h View 1 2 3 1 chunk +38 lines, -0 lines 0 comments Download
A chrome/browser/notifications/notification_platform_bridge_linux.cc View 1 2 3 1 chunk +67 lines, -0 lines 0 comments Download
M chrome/common/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_features.h View 1 2 3 4 5 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/common/chrome_features.cc View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/common/features.gni View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 50 (35 generated)
Tom (Use chromium acct)
yoshiki@ ptal thestig@ fyi: Are you OK with reviewing the subsequent changes to make this ...
3 years, 8 months ago (2017-04-03 23:30:30 UTC) #10
Peter Beverloo
Cool - this is super exciting to see! Please use me as the notifications reviewer ...
3 years, 8 months ago (2017-04-03 23:39:29 UTC) #14
Tom (Use chromium acct)
On 2017/04/03 23:39:29, Peter Beverloo wrote: > Cool - this is super exciting to see! ...
3 years, 8 months ago (2017-04-04 02:43:17 UTC) #18
Lei Zhang
Tom: happy to review until it goes completely over my head and I start referring ...
3 years, 8 months ago (2017-04-04 07:47:22 UTC) #22
Peter Beverloo
This is really cool! lgtm http://imgur.com/a/ykhAk I'm also OK with per-file OWNERS. I'll read all ...
3 years, 8 months ago (2017-04-04 13:34:46 UTC) #23
Tom (Use chromium acct)
https://codereview.chromium.org/2794103002/diff/140001/chrome/browser/notifications/notification_display_service_factory.cc File chrome/browser/notifications/notification_display_service_factory.cc (right): https://codereview.chromium.org/2794103002/diff/140001/chrome/browser/notifications/notification_display_service_factory.cc#newcode18 chrome/browser/notifications/notification_display_service_factory.cc:18: (defined(OS_LINUX) && !defined(OS_CHROMEOS)) On 2017/04/04 13:34:46, Peter Beverloo wrote: ...
3 years, 8 months ago (2017-04-04 21:47:11 UTC) #26
Peter Beverloo
https://codereview.chromium.org/2794103002/diff/140001/chrome/browser/notifications/notification_platform_bridge_linux.cc File chrome/browser/notifications/notification_platform_bridge_linux.cc (right): https://codereview.chromium.org/2794103002/diff/140001/chrome/browser/notifications/notification_platform_bridge_linux.cc#newcode29 chrome/browser/notifications/notification_platform_bridge_linux.cc:29: return nullptr; On 2017/04/04 21:47:10, Tom Anderson wrote: > ...
3 years, 8 months ago (2017-04-04 21:55:09 UTC) #27
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/2794103002/180001
3 years, 8 months ago (2017-04-05 01:11:17 UTC) #36
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/402636)
3 years, 8 months ago (2017-04-05 01:29:05 UTC) #38
Lei Zhang
https://codereview.chromium.org/2794103002/diff/180001/chrome/browser/BUILD.gn File chrome/browser/BUILD.gn (right): https://codereview.chromium.org/2794103002/diff/180001/chrome/browser/BUILD.gn#newcode5 chrome/browser/BUILD.gn:5: import("//build/buildflag_header.gni") Maybe use chrome/common/features.gni instead, then you can use ...
3 years, 8 months ago (2017-04-05 03:55:39 UTC) #39
Tom (Use chromium acct)
https://codereview.chromium.org/2794103002/diff/180001/chrome/browser/BUILD.gn File chrome/browser/BUILD.gn (right): https://codereview.chromium.org/2794103002/diff/180001/chrome/browser/BUILD.gn#newcode5 chrome/browser/BUILD.gn:5: import("//build/buildflag_header.gni") On 2017/04/05 03:55:39, Lei Zhang wrote: > Maybe ...
3 years, 8 months ago (2017-04-05 04:54:00 UTC) #40
Lei Zhang
lgtm https://codereview.chromium.org/2794103002/diff/190001/chrome/browser/BUILD.gn File chrome/browser/BUILD.gn (right): https://codereview.chromium.org/2794103002/diff/190001/chrome/browser/BUILD.gn#newcode5 chrome/browser/BUILD.gn:5: import("//build/buildflag_header.gni") No longer needed.
3 years, 8 months ago (2017-04-05 04:57:21 UTC) #43
Tom (Use chromium acct)
https://codereview.chromium.org/2794103002/diff/190001/chrome/browser/BUILD.gn File chrome/browser/BUILD.gn (right): https://codereview.chromium.org/2794103002/diff/190001/chrome/browser/BUILD.gn#newcode5 chrome/browser/BUILD.gn:5: import("//build/buildflag_header.gni") On 2017/04/05 04:57:21, Lei Zhang wrote: > No ...
3 years, 8 months ago (2017-04-05 05:00:54 UTC) #44
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/2794103002/210001
3 years, 8 months ago (2017-04-05 05:01:15 UTC) #47
commit-bot: I haz the power
3 years, 8 months ago (2017-04-05 06:34:07 UTC) #50
Message was sent while issue was closed.
Committed patchset #7 (id:210001) as
https://chromium.googlesource.com/chromium/src/+/421f86bb22686a086062ffde46fb...

Powered by Google App Engine
This is Rietveld 408576698