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

Unified Diff: chrome/common/chrome_switches.cc

Issue 2794103002: Add initial support for native Linux desktop notifications (Closed)
Patch Set: Refactor, move impl to chrome/browser/notifications Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/chrome_switches.cc
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 664dbb8c8b7b9781dadb8e473229ed5426955423..959b6897076bd57392536011f54011f23c85953e 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -1181,6 +1181,12 @@ bool PowerOverlayEnabled() {
}
#endif
+#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
+// Send notifications to the notification center supplied by the Linux
+// desktop environment instead of using Chrome-rendered notifications.
+const char kUseSystemNotifications[] = "use-system-notifications";
+#endif
+
// -----------------------------------------------------------------------------
// DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE.
//

Powered by Google App Engine
This is Rietveld 408576698