| 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 24f0286b8648cb418ad44a2ba1be8f9ef1d0ad08..ed4e397c305157288c4a790e7f5e9d3b39a317c9 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"
|
| @@ -938,6 +939,9 @@ void RenderProcessHostImpl::CreateMessageFilters() {
|
| BluetoothDispatcherHost::Create());
|
| AddFilter(bluetooth_dispatcher_host.get());
|
| }
|
| + if (browser_command_line.HasSwitch(switches::kEnableWebVR)) {
|
| + AddFilter(new VRMessageFilter());
|
| + }
|
| }
|
|
|
| void RenderProcessHostImpl::RegisterMojoServices() {
|
| @@ -1305,6 +1309,7 @@ void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer(
|
| switches::kEnableVtune,
|
| switches::kEnableWebGLDraftExtensions,
|
| switches::kEnableWebGLImageChromium,
|
| + switches::kEnableWebVR,
|
| switches::kForceDeviceScaleFactor,
|
| switches::kForceDisplayList2dCanvas,
|
| switches::kFullMemoryCrashReport,
|
|
|