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

Side by Side Diff: remoting/host/disconnect_window_mac.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 | « remoting/host/disconnect_window.xib ('k') | remoting/host/disconnect_window_mac.mm » ('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 #import <Cocoa/Cocoa.h> 5 #import <Cocoa/Cocoa.h>
6 6
7 namespace remoting { 7 namespace remoting {
8 class ChromotingHost; 8 class ChromotingHost;
9 class DisconnectWindowMac; 9 class DisconnectWindowMac;
10 } 10 }
11 11
12 // Controller for the disconnect window which allows the host user to 12 // Controller for the disconnect window which allows the host user to
13 // quickly disconnect a session. 13 // quickly disconnect a session.
14 @interface DisconnectWindowController : NSWindowController { 14 @interface DisconnectWindowController : NSWindowController {
15 @private 15 @private
16 remoting::ChromotingHost* host_; 16 remoting::ChromotingHost* host_;
17 remoting::DisconnectWindowMac* disconnectWindow_;
18 NSString* username_; 17 NSString* username_;
19 IBOutlet NSTextField* connectedToField_; 18 IBOutlet NSTextField* connectedToField_;
20 IBOutlet NSButton* disconnectButton_; 19 IBOutlet NSButton* disconnectButton_;
21 } 20 }
22 21
22 - (id)initWithHost:(remoting::ChromotingHost*)host
23 username:(NSString*)username;
23 - (IBAction)stopSharing:(id)sender; 24 - (IBAction)stopSharing:(id)sender;
24 - (id)initWithHost:(remoting::ChromotingHost*)host
25 window:(remoting::DisconnectWindowMac*)window
26 username:(NSString*)username;
27 @end 25 @end
28 26
29 // A floating window with a custom border. The custom border and background 27 // A floating window with a custom border. The custom border and background
30 // content is defined by DisconnectView. Declared here so that it can be 28 // content is defined by DisconnectView. Declared here so that it can be
31 // instantiated via a xib. 29 // instantiated via a xib.
32 @interface DisconnectWindow : NSWindow 30 @interface DisconnectWindow : NSWindow
33 @end 31 @end
34 32
35 // The custom background/border for the DisconnectWindow. Declared here so that 33 // The custom background/border for the DisconnectWindow. Declared here so that
36 // it can be instantiated via a xib. 34 // it can be instantiated via a xib.
37 @interface DisconnectView : NSView 35 @interface DisconnectView : NSView
38 @end 36 @end
OLDNEW
« no previous file with comments | « remoting/host/disconnect_window.xib ('k') | remoting/host/disconnect_window_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698