commit | d8cd79b95de322c7174868f46a937b12f284207c | [log] [tgz] |
---|---|---|
author | Christopher Cameron <ccameron@chromium.org> | Mon Dec 03 21:31:22 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Dec 03 21:31:22 2018 |
tree | 30fc4f385e8554083f719b4b3566f7b2a80a849a | |
parent | 36458f22f27668a8f2181b2eb811645b3815ee5e [diff] |
RemoteMacViews: Break validateUserInterfaceItem across mojo This is a step toward supporting shortcut keys and menu interface items in PWAs. This breaks the function -[BrowserWindowCommandHandler validateUserInterfaceItem] into two parts - The part to look up the browser command and to update the interface item still remains in BrowserWindowCommandHandler (which will be in the in the PWA process). - The part to access the Browser*, which will be in the browser process, which is - routed through mojo to the BridgedNativeWidgetHostImpl - to the NativeWidgetMac - which is subclassed as BrowserFrameMac - which calls BrowserWindowCommandHandlerValidateUserInterfaceItem to implemented the parts that used to be in BrowserWindowCommandHandler Also add required interface to look up a BridgedNativeWidgetImpl from an NSWindow. Bug: 895169 Change-Id: Ie81a1e5a44537b07183d4c29b89d2da1951137c0 Reviewed-on: https://chromium-review.googlesource.com/c/1357829 Commit-Queue: ccameron <ccameron@chromium.org> Reviewed-by: Robert Sesek <rsesek@chromium.org> Reviewed-by: Elly Fong-Jones <ellyjones@chromium.org> Cr-Commit-Position: refs/heads/master@{#613255}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .