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

Unified Diff: chrome/renderer/render_thread.cc

Issue 391064: Remove (actually, reverse meaning of) command line flag for desktop notificat... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/render_thread.cc
===================================================================
--- chrome/renderer/render_thread.cc (revision 31988)
+++ chrome/renderer/render_thread.cc (working copy)
@@ -568,9 +568,9 @@
command_line.HasSwitch(switches::kEnableApplicationCache));
#if defined(OS_WIN)
- // We don't yet support notifications on non-Windows, so hide it from pages.
+ // We don't yet support notifications on non-Windows.
WebRuntimeFeatures::enableNotifications(
- command_line.HasSwitch(switches::kEnableDesktopNotifications));
+ !command_line.HasSwitch(switches::kDisableDesktopNotifications));
#endif
WebRuntimeFeatures::enableLocalStorage(
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698