Comment 2 for bug 1544754

Revision history for this message
Olivier Tilloy (osomon) wrote : Re: HTML5 DosBox emulator can't grab mouse pointer

content::WebContentsDelegate::RequestToLockMouse(…) and content::WebContentsDelegate::LostMouseLock() need to be overridden in oxide::WebView (and ask the user to allow pointer lock), and oxide::RenderWidgetHostView::LockMouse() and oxide::RenderWidgetHostView::UnlockMouse() need to be implemented to do the work to actually hide/show the mouse cursor (we might want to have a look at how it’s implemented in RenderWidgetHostViewAura in chromium).