Issue metadata
Sign in to add a comment
|
KeyboardLock is not implemented for Mash |
||||||||||||||||||||||||
Issue descriptionThe test failures of KeyboardLockInteractiveBrowserTest are due to the lack of implementation of locking keyboard. In ChromeOS (Aura), RenderWidgetHostView's LockKeyboard / UnlockKeyboard https://cs.chromium.org/chromium/src/content/public/browser/render_widget_host_view.h?q=renderwidgethostview&sq=package:chromium&g=0&l=178 invokes aura::WindowTreeHost::CaptureSystemKeyEvents https://cs.chromium.org/chromium/src/ui/aura/window_tree_host.h?q=windowtreehost&sq=package:chromium&g=0&l=220. For Mash / SingleProcessMash, this happens only within the browser but this needs to be handled in Ash to take the effect. Maybe we want to add a mojo method for this feature?
,
Oct 3
My bad, my comment was wrong actually. Sorry. KeyboardLock behavior seems staying within browser and so it does not have to be propagated to Ash. However WindowServiceDelegateImpl::OnUnhandledEvent invokes some acccelerators which break the test expectations. This means KeyboardLockInteractibeBrowserTest failures are essentially same as issue 891489 . Deduping. |
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by sky@chromium.org
, Oct 3