Index: content/browser/renderer_host/render_process_host_impl.cc |
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc |
index e29800cbcee6305ae7f4893414e2345ef73722f1..e5aff3bda8399339c655109848ccb590d8805b23 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -95,6 +95,7 @@ |
#include "content/browser/renderer_host/render_widget_helper.h" |
#include "content/browser/renderer_host/render_widget_host_impl.h" |
#include "content/browser/renderer_host/text_input_client_message_filter.h" |
+#include "content/browser/renderer_host/vr_message_filter.h" |
#include "content/browser/renderer_host/websocket_dispatcher_host.h" |
#include "content/browser/resolve_proxy_msg_helper.h" |
#include "content/browser/service_worker/cache_storage_context_impl.h" |
@@ -914,6 +915,7 @@ void RenderProcessHostImpl::CreateMessageFilters() { |
AddFilter(new GamepadBrowserMessageFilter()); |
AddFilter(new DeviceLightMessageFilter()); |
+ AddFilter(new VRMessageFilter()); |
AddFilter(new DeviceMotionMessageFilter()); |
AddFilter(new DeviceOrientationMessageFilter()); |
AddFilter(new ProfilerMessageFilter(PROCESS_TYPE_RENDERER)); |
@@ -1305,6 +1307,7 @@ void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer( |
switches::kEnableVtune, |
switches::kEnableWebGLDraftExtensions, |
switches::kEnableWebGLImageChromium, |
+ switches::kEnableWebVR, |
switches::kForceDeviceScaleFactor, |
switches::kForceDisplayList2dCanvas, |
switches::kFullMemoryCrashReport, |