Index: content/browser/frame_host/render_frame_host_impl.cc |
diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc |
index 22394e1ef9373d74449df9b49dbffeff27813b77..538e3f5f37d0721746a4f2949c53eae7e61d17c8 100644 |
--- a/content/browser/frame_host/render_frame_host_impl.cc |
+++ b/content/browser/frame_host/render_frame_host_impl.cc |
@@ -37,6 +37,7 @@ |
#include "content/browser/frame_host/render_frame_proxy_host.h" |
#include "content/browser/frame_host/render_widget_host_view_child_frame.h" |
#include "content/browser/installedapp/installed_app_provider_impl_default.h" |
+#include "content/browser/keyboard_lock/keyboard_lock_service_impl.h" |
#include "content/browser/loader/resource_dispatcher_host_impl.h" |
#include "content/browser/media/media_interface_proxy.h" |
#include "content/browser/media/session/media_session_service_impl.h" |
@@ -2538,6 +2539,9 @@ void RenderFrameHostImpl::RegisterMojoInterfaces() { |
&RemoterFactoryImpl::Bind, GetProcess()->GetID(), GetRoutingID())); |
#endif // BUILDFLAG(ENABLE_MEDIA_REMOTING) |
+ GetInterfaceRegistry()->AddInterface(base::Bind( |
+ &KeyboardLockServiceImpl::CreateMojoService, base::Unretained(this))); |
+ |
GetContentClient()->browser()->RegisterRenderFrameMojoInterfaces( |
GetInterfaceRegistry(), this); |
} |