diff options
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/chrome_switches.cc | 4 | ||||
-rw-r--r-- | chrome/common/chrome_switches.h | 2 | ||||
-rw-r--r-- | chrome/common/render_messages.h | 4 |
3 files changed, 9 insertions, 1 deletions
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc index 1bbbf81..913d895 100644 --- a/chrome/common/chrome_switches.cc +++ b/chrome/common/chrome_switches.cc @@ -620,4 +620,8 @@ const wchar_t kActivateOnLaunch[] = L"activate-on-launch"; // Enable experimental WebGL support. const wchar_t kEnableExperimentalWebGL[] = L"enable-webgl"; +// Enabled desktop notifications. +const wchar_t kEnableDesktopNotifications[] = + L"enable-desktop-notifications"; + } // namespace switches diff --git a/chrome/common/chrome_switches.h b/chrome/common/chrome_switches.h index 19b9b06..802532f 100644 --- a/chrome/common/chrome_switches.h +++ b/chrome/common/chrome_switches.h @@ -250,6 +250,8 @@ extern const wchar_t kActivateOnLaunch[]; extern const wchar_t kEnableExperimentalWebGL[]; +extern const wchar_t kEnableDesktopNotifications[]; + } // namespace switches #endif // CHROME_COMMON_CHROME_SWITCHES_H_ diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h index 1dfc4b9..bd1b676 100644 --- a/chrome/common/render_messages.h +++ b/chrome/common/render_messages.h @@ -1651,6 +1651,7 @@ struct ParamTraits<WebPreferences> { WriteParam(m, p.session_storage_enabled); WriteParam(m, p.application_cache_enabled); WriteParam(m, p.experimental_webgl_enabled); + WriteParam(m, p.experimental_notifications_enabled); } static bool Read(const Message* m, void** iter, param_type* p) { return @@ -1686,7 +1687,8 @@ struct ParamTraits<WebPreferences> { ReadParam(m, iter, &p->databases_enabled) && ReadParam(m, iter, &p->session_storage_enabled) && ReadParam(m, iter, &p->application_cache_enabled) && - ReadParam(m, iter, &p->experimental_webgl_enabled); + ReadParam(m, iter, &p->experimental_webgl_enabled) && + ReadParam(m, iter, &p->experimental_notifications_enabled); } static void Log(const param_type& p, std::wstring* l) { l->append(L"<WebPreferences>"); |