Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(253)

Unified Diff: webkit/api/src/WebSettingsImpl.cpp

Issue 255075: Implement --enable-web-sockets flag. (Closed)
Patch Set: Remove WebKIT API change Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/api/src/WebSettingsImpl.h ('k') | webkit/glue/webpreferences.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/api/src/WebSettingsImpl.cpp
diff --git a/webkit/api/src/WebSettingsImpl.cpp b/webkit/api/src/WebSettingsImpl.cpp
index c74c16ff25f09f4152bf1100a7393c297b4ddb69..e6785f7d30dbef9d4f1eed76fac46f1872fea043 100644
--- a/webkit/api/src/WebSettingsImpl.cpp
+++ b/webkit/api/src/WebSettingsImpl.cpp
@@ -254,4 +254,11 @@ void WebSettingsImpl::setExperimentalNotificationsEnabled(bool enabled)
m_settings->setExperimentalNotificationsEnabled(enabled);
}
+void WebSettingsImpl::setExperimentalWebSocketsEnabled(bool enabled)
+{
+#if ENABLE(WEB_SOCKETS)
+ m_settings->setExperimentalWebSocketsEnabled(enabled);
+#endif
+}
+
} // namespace WebKit
« no previous file with comments | « webkit/api/src/WebSettingsImpl.h ('k') | webkit/glue/webpreferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698