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

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

Issue 8364025: Make Mac Chromoting Disconnect Window look good for R2L systems. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix jamie's nits Created 9 years, 2 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.xib » ('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
17 enum {
18 kMaximumConnectedNameWidthInPixels = 400
19 };
20
16 virtual ~DisconnectWindow() {} 21 virtual ~DisconnectWindow() {}
17 22
18 // Show the disconnect window allowing the user to shut down |host|. 23 // Show the disconnect window allowing the user to shut down |host|.
19 virtual void Show(ChromotingHost* host, const std::string& username) = 0; 24 virtual void Show(ChromotingHost* host, const std::string& username) = 0;
20 25
21 // Hide the disconnect window. 26 // Hide the disconnect window.
22 virtual void Hide() = 0; 27 virtual void Hide() = 0;
23 28
24 static DisconnectWindow* Create(); 29 static DisconnectWindow* Create();
25 }; 30 };
26 31
27 } 32 }
28 33
29 #endif // REMOTING_HOST_DISCONNECT_WINDOW_H 34 #endif // REMOTING_HOST_DISCONNECT_WINDOW_H
OLDNEW
« no previous file with comments | « no previous file | remoting/host/disconnect_window.xib » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698