OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "remoting/host/disconnect_window.h" | 5 #include "remoting/host/disconnect_window.h" |
6 | 6 |
7 namespace remoting { | 7 namespace remoting { |
8 // TODO(garykac): These strings should be localized. | 8 // TODO(garykac): These strings should be localized. |
9 const char DisconnectWindow::kTitle[] = "Remoting"; | 9 const char DisconnectWindow::kTitle[] = "Remoting"; |
10 const char DisconnectWindow::kSharingWith[] = "Sharing with: "; | 10 const char DisconnectWindow::kSharingWith[] = "Sharing with: "; |
11 const char DisconnectWindow::kDisconnectButton[] = "Disconnect (Ctrl+Alt+Esc)"; | 11 const char DisconnectWindow::kDisconnectButton[] = "Disconnect"; |
| 12 |
| 13 const char DisconnectWindow::kDisconnectKeysLinux[] = " (Ctrl+Alt+Esc)"; |
| 14 // For Mac: Ctrl+Option+Esc |
| 15 // Ctrl: U+2303 = 0xE2 0x8C 0x83 (utf8) |
| 16 // Option: U+2325 = 0xE2 0x8C 0xA5 (utf8) |
| 17 // Escape: According to http://en.wikipedia.org/wiki/Esc_key, the ISO 9995 |
| 18 // standard specifies the U+238B glyph for Escape. Although this |
| 19 // doesn't appear to be in common use. |
| 20 const char DisconnectWindow::kDisconnectKeysMac[] = |
| 21 " (\xE2\x8C\x83+\xE2\x8C\xA5+Esc)"; |
| 22 const char DisconnectWindow::kDisconnectKeysWin[] = " (Ctrl+Alt+Esc)"; |
12 } | 23 } |
OLD | NEW |