| Index: chrome/browser/chrome_content_browser_client.cc
|
| diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
|
| index f0deebc1fa6c2bb07bcd255d448bc74a923b21ef..3d884c26f9c25bece15ea6e5b6cc432a8523d8ff 100644
|
| --- a/chrome/browser/chrome_content_browser_client.cc
|
| +++ b/chrome/browser/chrome_content_browser_client.cc
|
| @@ -153,6 +153,10 @@
|
| #include "chrome/browser/captive_portal/captive_portal_tab_helper.h"
|
| #endif
|
|
|
| +#if defined(ENABLE_MESSAGE_CENTER)
|
| +#include "ui/message_center/message_center_util.h"
|
| +#endif
|
| +
|
| #if defined(OS_ANDROID)
|
| #include "ui/base/ui_base_paths.h"
|
| #endif
|
| @@ -1159,6 +1163,11 @@ void ChromeContentBrowserClient::AppendExtraCommandLineSwitches(
|
| if (content::IsThreadedCompositingEnabled())
|
| command_line->AppendSwitch(switches::kEnableThreadedCompositing);
|
|
|
| +#if defined(ENABLE_MESSAGE_CENTER)
|
| + if (message_center::IsRichNotificationEnabled())
|
| + command_line->AppendSwitch(switches::kDisableHTMLNotifications);
|
| +#endif
|
| +
|
| // Please keep this in alphabetical order.
|
| static const char* const kSwitchNames[] = {
|
| switches::kAllowRequestOSFileHandleAPI,
|
|
|