diff options
author | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-27 22:32:38 +0000 |
---|---|---|
committer | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-27 22:32:38 +0000 |
commit | 1a20707f019b5c7e4f42b6b0a4310be2f1691395 (patch) | |
tree | 43620ff5f56bd843865df9182e4c3daed0c36000 /chrome/renderer | |
parent | 52e2670aa8c78c05665779852597a96d80bfbf9e (diff) | |
download | chromium_src-1a20707f019b5c7e4f42b6b0a4310be2f1691395.zip chromium_src-1a20707f019b5c7e4f42b6b0a4310be2f1691395.tar.gz chromium_src-1a20707f019b5c7e4f42b6b0a4310be2f1691395.tar.bz2 |
Enable notification for Chromeos/Linux view build.
The notification behavir is same as one in windows/linux_gtk and no integration with panels yet.
BUG=33306
TEST=enabled two tests in desktop_notification_unittests for linux view config.
manual test: goto http://www.corp.google.com/~johnnyg/notify_demo.html and
confirm text/html notification works.
Review URL: http://codereview.chromium.org/552196
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37332 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer')
-rw-r--r-- | chrome/renderer/render_thread.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/renderer/render_thread.cc b/chrome/renderer/render_thread.cc index a19cbdd..1b4cd96 100644 --- a/chrome/renderer/render_thread.cc +++ b/chrome/renderer/render_thread.cc @@ -617,7 +617,7 @@ void RenderThread::EnsureWebKitInitialized() { WebRuntimeFeatures::enableApplicationCache( !command_line.HasSwitch(switches::kDisableApplicationCache)); -#if defined(OS_WIN) || (defined(OS_LINUX) && defined(TOOLKIT_GTK)) +#if defined(OS_WIN) || defined(OS_LINUX) // Notifications are supported on Windows and Linux only. WebRuntimeFeatures::enableNotifications( !command_line.HasSwitch(switches::kDisableDesktopNotifications)); |