forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Route accelerator keys to Lacros if desktop has focus.
If Chrome OS Desktop has focus, following accelerator keys are forwarded to Lacros, if Lacors is the primary browser. - CTRL+N: Open a new window. - CTRL+SHIFT+N: Open a new incognito window. - CTRL+T: Open a new tab. - CTRL+SHIFT+T: Restore the tab recently closed. To support them, BrowserService (a.k.a. Lacros) starts to support new IPC methods, NewTab and RestoreTab. Also its NewWindow starts taking a bool "incognito". BrowserManager in ash also starts to support those methods. If Lacros is running, they are forwarded to Lacros via Crosapi Mojo IPC above. If not, they launches lacros with BrowserInitParam setting. BUG=1188020 TEST=Ran those accelerator keys on DUT. Change-Id: Ic5c9d824f5db8c04b336e749f3a4fc74fd0d00c5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2781664 Reviewed-by: Erik Chen <erikchen@chromium.org> Reviewed-by: Dominick Ng <dominickn@chromium.org> Reviewed-by: Mitsuru Oshima <oshima@chromium.org> Commit-Queue: Hidehiko Abe <hidehiko@chromium.org> Cr-Commit-Position: refs/heads/master@{#866471}
- Loading branch information
Hidehiko Abe
authored and
Chromium LUCI CQ
committed
Mar 25, 2021
1 parent
65942a0
commit ee57c77
Showing
19 changed files
with
242 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.