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

Side by Side Diff: remoting/host/ui_strings.cc

Issue 7669045: Make ChromotingHost::ui_strings() immutable. (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
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/ui_strings.h" 5 #include "remoting/host/ui_strings.h"
6 6
7 namespace remoting { 7 namespace remoting {
8 8
9 UiStrings::UiStrings() : 9 UiStrings::UiStrings() :
10 direction(LTR), 10 direction(LTR),
11 product_name("Chromoting"), 11 product_name("Chromoting"),
12 // The default string doesn't include the user name, so this will be 12 // The default string doesn't include the user name, so this will be
13 // missing for remoting_simple_host 13 // missing for remoting_simple_host
14 disconnect_message("Your desktop is currently being shared."), 14 disconnect_message("Your desktop is currently being shared."),
15 disconnect_button_text("Disconnect"), 15 disconnect_button_text("Disconnect"),
16 disconnect_button_text_plus_shortcut("Disconnect (Ctrl+Alt+Esc)"),
16 // This is the wrong shortcut on Mac OS X, but remoting_simple_host 17 // This is the wrong shortcut on Mac OS X, but remoting_simple_host
17 // doesn't have a bundle (and hence no dialog) on that platform and 18 // doesn't have a bundle (and hence no dialog) on that platform and
18 // the web-app will provide the correct localization for this string. 19 // the web-app will provide the correct localization for this string.
19 disconnect_button_shortcut("Ctrl+Alt+Esc"), 20 disconnect_button_shortcut("Ctrl+Alt+Esc"),
Jamie 2011/08/18 16:28:41 If this CL goes through, can you remove this strin
Sergey Ulanov 2011/08/18 18:04:32 Done.
20 continue_prompt( 21 continue_prompt(
21 "You are currently sharing this machine with another user. " 22 "You are currently sharing this machine with another user. "
22 "Please confirm that you want to continue sharing."), 23 "Please confirm that you want to continue sharing."),
23 continue_button_text("Continue"), 24 continue_button_text("Continue"),
24 stop_sharing_button_text("Stop Sharing") { 25 stop_sharing_button_text("Stop Sharing") {
25 } 26 }
26 27
27 UiStrings::~UiStrings() { } 28 UiStrings::~UiStrings() { }
28 29
29 } 30 }
OLDNEW
« remoting/host/plugin/host_script_object.cc ('K') | « remoting/host/plugin/host_script_object.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698