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

Unified Diff: remoting/host/disconnect_window.cc

Issue 7613004: Split Chromoting's Disconnect button text into 2 parts: name + hotkeys. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/disconnect_window.h ('k') | remoting/host/disconnect_window_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/disconnect_window.cc
diff --git a/remoting/host/disconnect_window.cc b/remoting/host/disconnect_window.cc
index 8036856604816e08ee9731f59f0ff89d912cf551..f225dc41109bbdea44d769a86358339524042251 100644
--- a/remoting/host/disconnect_window.cc
+++ b/remoting/host/disconnect_window.cc
@@ -8,5 +8,16 @@ namespace remoting {
// TODO(garykac): These strings should be localized.
const char DisconnectWindow::kTitle[] = "Remoting";
const char DisconnectWindow::kSharingWith[] = "Sharing with: ";
-const char DisconnectWindow::kDisconnectButton[] = "Disconnect (Ctrl+Alt+Esc)";
+const char DisconnectWindow::kDisconnectButton[] = "Disconnect";
+
+const char DisconnectWindow::kDisconnectKeysLinux[] = " (Ctrl+Alt+Esc)";
+// For Mac: Ctrl+Option+Esc
+// Ctrl: U+2303 = 0xE2 0x8C 0x83 (utf8)
+// Option: U+2325 = 0xE2 0x8C 0xA5 (utf8)
+// Escape: According to http://en.wikipedia.org/wiki/Esc_key, the ISO 9995
+// standard specifies the U+238B glyph for Escape. Although this
+// doesn't appear to be in common use.
+const char DisconnectWindow::kDisconnectKeysMac[] =
+ " (\xE2\x8C\x83+\xE2\x8C\xA5+Esc)";
+const char DisconnectWindow::kDisconnectKeysWin[] = " (Ctrl+Alt+Esc)";
}
« no previous file with comments | « remoting/host/disconnect_window.h ('k') | remoting/host/disconnect_window_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698