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

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

Issue 7635012: Host process i18n and Linux implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase 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 #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).
27 virtual void Show(ChromotingHost* host, const std::string& username) = 0; 30 virtual void Show(ChromotingHost* host, const std::string& username) = 0;
28 31
29 // Hide the disconnect window. 32 // Hide the disconnect window.
30 virtual void Hide() = 0; 33 virtual void Hide() = 0;
31 34
32 static DisconnectWindow* Create(); 35 static DisconnectWindow* Create();
33 }; 36 };
34 37
35 } 38 }
36 39
37 #endif // REMOTING_HOST_DISCONNECT_WINDOW_H 40 #endif // REMOTING_HOST_DISCONNECT_WINDOW_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698