summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/render_thread.cc
diff options
context:
space:
mode:
authorjohnnyg@chromium.org <johnnyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-15 23:58:34 +0000
committerjohnnyg@chromium.org <johnnyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-15 23:58:34 +0000
commitbfc815fb1b153c83822a60cce82792caaea80231 (patch)
tree7c47150d804d718753349ea0c21a02e8a300c685 /chrome/renderer/render_thread.cc
parent3f21aecc705b7cd278794d86d338b9c5086be619 (diff)
downloadchromium_src-bfc815fb1b153c83822a60cce82792caaea80231.zip
chromium_src-bfc815fb1b153c83822a60cce82792caaea80231.tar.gz
chromium_src-bfc815fb1b153c83822a60cce82792caaea80231.tar.bz2
Port notifications to linux. BalloonView and BalloonViewHost should be equivalent to their counterparts under browser/views/notifications; CL also enables the exposure of notifications in WebKit on linux platform.
BUG=23954 TEST=none Review URL: http://codereview.chromium.org/525050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36434 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/render_thread.cc')
-rw-r--r--chrome/renderer/render_thread.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/renderer/render_thread.cc b/chrome/renderer/render_thread.cc
index 657e440..9df544a 100644
--- a/chrome/renderer/render_thread.cc
+++ b/chrome/renderer/render_thread.cc
@@ -617,8 +617,8 @@ void RenderThread::EnsureWebKitInitialized() {
WebRuntimeFeatures::enableApplicationCache(
command_line.HasSwitch(switches::kEnableApplicationCache));
-#if defined(OS_WIN)
- // We don't yet support notifications on non-Windows.
+#if defined(OS_WIN) || defined(OS_LINUX)
+ // Notifications are supported on Windows and Linux only.
WebRuntimeFeatures::enableNotifications(
!command_line.HasSwitch(switches::kDisableDesktopNotifications));
#endif