exo: Prompt to use Overview to exit pointer lock/fullscreen in Borealis
Instead of prompting to hold Esc to exit fullscreen, prompt to press
the Overview button. Remove the hold-Esc check for Borealis, but keep
it for Parallels.
Also display a similar prompt for pointer lock, in windowed mode,
again for Borealis only (at least for now).
Bug: b/203622329
Change-Id: I291623490695432376a05584c2638ced98ace494
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3436727
Reviewed-by: Mitsuru Oshima <[email protected]>
Reviewed-by: Yuwei Huang <[email protected]>
Reviewed-by: Nic Hollingum <[email protected]>
Commit-Queue: Chloe Pelling <[email protected]>
Cr-Commit-Position: refs/heads/main@{#968773}
diff --git a/components/fullscreen_control_strings.grdp b/components/fullscreen_control_strings.grdp
index 269e155..ddc0cb14 100644
--- a/components/fullscreen_control_strings.grdp
+++ b/components/fullscreen_control_strings.grdp
@@ -9,4 +9,7 @@
<message name="IDS_FULLSCREEN_PRESS_ESC_TO_EXIT_FULLSCREEN" desc="Text displayed in the bubble to tell users how to return from fullscreen mode (where the web page occupies the entire screen) to normal mode. Please surround the name of the key (e.g. 'Esc') in pipe characters so it can be rendered as a key.">
Press |<ph name="ACCELERATOR">$1<ex>Esc</ex></ph>| to exit full screen
</message>
+ <message name="IDS_PRESS_TO_EXIT_MOUSELOCK" desc="Text displayed in the bubble to tell users how to escape from mouselock mode (where the mouse cursor is hidden) by activating Chrome OS's Overview mode. Please surround the name of the key (e.g. 'Overview') in pipe characters so it can be rendered as a key.">
+ Press |<ph name="ACCELERATOR">$1<ex>Overview</ex></ph>| to show your cursor
+ </message>
</grit-part>