Add initial support for native Linux desktop notifications

Desktop / Chromium - thomasanderson [google.com] - 5 April 2017 02:32 UTC

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}

421f86b Add initial support for native Linux desktop notifications

chrome/browser/BUILD.gn | 8 +++

chrome/browser/about_flags.cc | 6 +-

chrome/browser/browser_process_impl.cc | 4 +-

.../notification_display_service_factory.cc | 12 ++--

.../notifications/notification_platform_bridge.h | 1 +

.../notification_platform_bridge_linux.cc | 67 ++++++++++++++++++++++

.../notification_platform_bridge_linux.h | 38 ++++++++++++

chrome/common/BUILD.gn | 1 +

chrome/common/chrome_features.cc | 4 +-

chrome/common/chrome_features.h | 5 +-

chrome/common/features.gni | 4 ++

11 files changed, 137 insertions(+), 13 deletions(-)

Upstream: git.chromium.org