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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « remoting/host/disconnect_window.h ('k') | remoting/host/disconnect_window_linux.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 }
OLDNEW
« 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