0

shortcuts: Update description for cycle forward MRU window

Bug: b:216049298
Change-Id: If545d826f11f89488107dcaed8e515f25ae9eeb3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4571157
Commit-Queue: Jimmy Gong <jimmyxgong@chromium.org>
Reviewed-by: Michael Checo <michaelcheco@google.com>
Cr-Commit-Position: refs/heads/main@{#1150791}
This commit is contained in:
Jimmy
2023-05-30 20:00:04 +00:00
committed by Chromium LUCI CQ
parent 0616fdbdfa
commit 3c5ccf720a
4 changed files with 12 additions and 3 deletions

@ -4193,6 +4193,9 @@ Connect your device to power.
<message name="IDS_AMBIENT_ACCELERATOR_OPEN_PAGE_IN_NEW_TAB" translateable="false" desc="Action for accelerator action - Open the webpage in a new tab.">
Type a web address in the address bar, then press <ph name="MODIFIER">$1<ex>alt</ex></ph><ph name="KEY">$2<ex>enter</ex></ph>
</message>
<message name="IDS_AMBIENT_ACCELERATOR_CYCLE_FORWARD_MRU" desc="Action for accelerator action - Open the window that has been unused for the longest time.">
Press and hold <ph name="MODIFIER_1">$1<ex>alt</ex></ph>, tap <ph name="KEY">$2<ex>tab</ex></ph> until you get to the window you want to open, then release
</message>
<message name="IDS_AMBIENT_ACCELERATOR_CYCLE_BACKWARD_MRU" translateable="false" desc="Action for accelerator action - Open the window that has been unused for the longest time.">
Press and hold <ph name="MODIFIER_1">$1<ex>alt</ex></ph><ph name="MODIFIER_2">$2<ex>shift</ex></ph>, tap <ph name="KEY">$3<ex>tab</ex></ph> until you get to the window you want to open, then release
</message>

@ -0,0 +1 @@
92e8bc235285075d2151066e0c67783b13dfa3be

@ -165,6 +165,11 @@ const NonConfigurableActionsMap& GetNonConfigurableActionsMap() {
IDS_AMBIENT_ACCELERATOR_OPEN_PAGE_IN_NEW_TAB,
{TextAcceleratorPart(ui::EF_ALT_DOWN),
TextAcceleratorPart(ui::KeyboardCode::VKEY_RETURN)})},
{NonConfigurableActions::kAmbientCycleForwardMRU,
NonConfigurableAcceleratorDetails(
IDS_AMBIENT_ACCELERATOR_CYCLE_FORWARD_MRU,
{TextAcceleratorPart(ui::EF_ALT_DOWN),
TextAcceleratorPart(ui::KeyboardCode::VKEY_TAB)})},
{NonConfigurableActions::kAmbientCycleBackwardMRU,
NonConfigurableAcceleratorDetails(
IDS_AMBIENT_ACCELERATOR_CYCLE_BACKWARD_MRU,

@ -1000,12 +1000,12 @@ constexpr AcceleratorLayoutDetails kAcceleratorLayouts[] = {
mojom::AcceleratorSource::kAmbient},
// Windows and Desks
{AcceleratorAction::kCycleForwardMru,
{NonConfigurableActions::kAmbientCycleForwardMRU,
IDS_ASH_ACCELERATOR_DESCRIPTION_CYCLE_FORWARD_MRU,
mojom::AcceleratorCategory::kWindowsAndDesks,
mojom::AcceleratorSubcategory::kWindows,
/*locked=*/false, mojom::AcceleratorLayoutStyle::kDefault,
mojom::AcceleratorSource::kAsh},
/*locked=*/true, mojom::AcceleratorLayoutStyle::kText,
mojom::AcceleratorSource::kAmbient},
{NonConfigurableActions::kAmbientCycleBackwardMRU,
IDS_AMBIENT_ACCELERATOR_DESCRIPTION_CYCLE_BACKWARD_MRU,
mojom::AcceleratorCategory::kWindowsAndDesks,