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

Side by Side Diff: remoting/host/disconnect_window.h

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
« no previous file with comments | « remoting/host/continue_window_linux.cc ('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 #ifndef REMOTING_HOST_DISCONNECT_WINDOW_H 5 #ifndef REMOTING_HOST_DISCONNECT_WINDOW_H
6 #define REMOTING_HOST_DISCONNECT_WINDOW_H 6 #define REMOTING_HOST_DISCONNECT_WINDOW_H
7 7
8 #include <string> 8 #include <string>
9 9
10 namespace remoting { 10 namespace remoting {
11 11
12 class ChromotingHost; 12 class ChromotingHost;
13 13
14 class DisconnectWindow { 14 class DisconnectWindow {
15 public: 15 public:
16 virtual ~DisconnectWindow() {} 16 virtual ~DisconnectWindow() {}
17 17
18 static const char kTitle[]; 18 static const char kTitle[];
19 static const char kSharingWith[]; 19 static const char kSharingWith[];
20 static const char kDisconnectButton[]; 20 static const char kDisconnectButton[];
21 21
22 static const char kDisconnectKeysLinux[]; 22 static const char kDisconnectKeysLinux[];
23 static const char kDisconnectKeysMac[]; 23 static const char kDisconnectKeysMac[];
24 static const char kDisconnectKeysWin[]; 24 static const char kDisconnectKeysWin[];
25 25
26 // Show the disconnect window allowing the user to shut down |host|. 26 // Show the disconnect window allowing the user to shut down |host|.
27 // TODO(jamiewalch): Once all platforms are using localized strings,
28 // remove |username| from this signature (it will be substituted as
29 // appropriate at the localization stage).
30 virtual void Show(ChromotingHost* host, const std::string& username) = 0; 27 virtual void Show(ChromotingHost* host, const std::string& username) = 0;
31 28
32 // Hide the disconnect window. 29 // Hide the disconnect window.
33 virtual void Hide() = 0; 30 virtual void Hide() = 0;
34 31
35 static DisconnectWindow* Create(); 32 static DisconnectWindow* Create();
36 }; 33 };
37 34
38 } 35 }
39 36
40 #endif // REMOTING_HOST_DISCONNECT_WINDOW_H 37 #endif // REMOTING_HOST_DISCONNECT_WINDOW_H
OLDNEW
« no previous file with comments | « remoting/host/continue_window_linux.cc ('k') | remoting/host/disconnect_window_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698