Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(168)

Issue 2110743002: Mac: Use "esc" rather than "Esc" in "Press Esc to exit full screen". (Closed)

Created:
4 years, 5 months ago by tapted
Modified:
4 years, 5 months ago
Reviewers:
msw
CC:
chromium-reviews, tfarina, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Mac: Use "esc" rather than "Esc" in "Press Esc to exit full screen". Mac keyboards use lowercase for everything except function keys, which are typically reserved for system use. Since |Esc| is placed in a box specifically to make it look like a keyboard key it looks weird to not follow suit. Use base::i18n::ToLower(..) rather than changing IDS_APP_ESC_KEY, since the latter is used by ui::Accelerator::GetShortcutText() for other things. This still isn't perfect. Some macbooks use the ISO symbol for escape, "⎋" (e.g. French Canadian). But we can't assume a user's locale setting always determines how the keyboard looks. Using lowercase gets us pretty close. BUG=623636 Committed: https://crrev.com/8d54ff1f2aa0ac5bf75f5489b3bbb3d9689c014d Cr-Commit-Position: refs/heads/master@{#403035}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -0 lines) Patch
M chrome/browser/ui/views/exclusive_access_bubble_views.cc View 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (9 generated)
tapted
Hi Mike, please take a look
4 years, 5 months ago (2016-06-29 06:55:36 UTC) #6
msw
lgtm
4 years, 5 months ago (2016-06-29 16:40:45 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2110743002/1
4 years, 5 months ago (2016-06-29 23:49:59 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 5 months ago (2016-06-30 00:36:27 UTC) #12
commit-bot: I haz the power
4 years, 5 months ago (2016-06-30 00:38:02 UTC) #14
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/8d54ff1f2aa0ac5bf75f5489b3bbb3d9689c014d
Cr-Commit-Position: refs/heads/master@{#403035}

Powered by Google App Engine
This is Rietveld 408576698