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

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

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 | « no previous file | remoting/host/disconnect_window.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[];
23 static const char kDisconnectKeysMac[];
24 static const char kDisconnectKeysWin[];
25
22 // Show the disconnect window allowing the user to shut down |host|. 26 // Show the disconnect window allowing the user to shut down |host|.
23 virtual void Show(ChromotingHost* host, const std::string& username) = 0; 27 virtual void Show(ChromotingHost* host, const std::string& username) = 0;
24 28
25 // Hide the disconnect window. 29 // Hide the disconnect window.
26 virtual void Hide() = 0; 30 virtual void Hide() = 0;
27 31
28 static DisconnectWindow* Create(); 32 static DisconnectWindow* Create();
29 }; 33 };
30 34
31 } 35 }
32 36
33 #endif // REMOTING_HOST_DISCONNECT_WINDOW_H 37 #endif // REMOTING_HOST_DISCONNECT_WINDOW_H
OLDNEW
« no previous file with comments | « no previous file | remoting/host/disconnect_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698