summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents
diff options
context:
space:
mode:
authorjohnnyg@chromium.org <johnnyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-05 20:39:17 +0000
committerjohnnyg@chromium.org <johnnyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-05 20:39:17 +0000
commite3c01687c706dd742f75c3404605124b0f2fbd89 (patch)
tree817e75dd3cd9c8cb9170507464e5f390fec8b33e /chrome/browser/tab_contents
parentc99613d0bc1dd6d06839ac72e08a8f2dc6e7fa6b (diff)
downloadchromium_src-e3c01687c706dd742f75c3404605124b0f2fbd89.zip
chromium_src-e3c01687c706dd742f75c3404605124b0f2fbd89.tar.gz
chromium_src-e3c01687c706dd742f75c3404605124b0f2fbd89.tar.bz2
Adds command line flag to enable desktop notifications.
BUG=none TEST=none Review URL: http://codereview.chromium.org/249057/show git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28031 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents')
-rw-r--r--chrome/browser/tab_contents/render_view_host_delegate_helper.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/tab_contents/render_view_host_delegate_helper.cc b/chrome/browser/tab_contents/render_view_host_delegate_helper.cc
index bf5386e..a26a8d9 100644
--- a/chrome/browser/tab_contents/render_view_host_delegate_helper.cc
+++ b/chrome/browser/tab_contents/render_view_host_delegate_helper.cc
@@ -186,6 +186,8 @@ WebPreferences RenderViewHostDelegateHelper::GetWebkitPrefs(
command_line.HasSwitch(switches::kEnableSessionStorage);
web_prefs.experimental_webgl_enabled =
command_line.HasSwitch(switches::kEnableExperimentalWebGL);
+ web_prefs.experimental_notifications_enabled =
+ command_line.HasSwitch(switches::kEnableDesktopNotifications);
}
web_prefs.uses_universal_detector =