diff options
author | jamiewalch@google.com <jamiewalch@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-07 16:57:44 +0000 |
---|---|---|
committer | jamiewalch@google.com <jamiewalch@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-07 16:57:44 +0000 |
commit | f41095f88ee69a82e4931b88a73dbe8e54cc34f9 (patch) | |
tree | 38a683154c5978fd669570b235c44708d57604c1 /remoting/host/disconnect_window_mac.h | |
parent | 996ae9b36dde904605c55bbb0cad8360f7a59ac6 (diff) | |
download | chromium_src-f41095f88ee69a82e4931b88a73dbe8e54cc34f9.zip chromium_src-f41095f88ee69a82e4931b88a73dbe8e54cc34f9.tar.gz chromium_src-f41095f88ee69a82e4931b88a73dbe8e54cc34f9.tar.bz2 |
Initial disconnect window framework and mac implementation.
BUG=None
TEST=Manual
Review URL: http://codereview.chromium.org/7077038
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88138 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/disconnect_window_mac.h')
-rw-r--r-- | remoting/host/disconnect_window_mac.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/remoting/host/disconnect_window_mac.h b/remoting/host/disconnect_window_mac.h new file mode 100644 index 0000000..fc6f9cb --- /dev/null +++ b/remoting/host/disconnect_window_mac.h @@ -0,0 +1,24 @@ +// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#import <Cocoa/Cocoa.h> + +namespace remoting { +class ChromotingHost; +class DisconnectWindowMac; +} + +@interface DisconnectWindowController : NSWindowController { + @private + remoting::ChromotingHost* host_; + remoting::DisconnectWindowMac* disconnectWindow_; + NSString* username_; + IBOutlet NSTextField* usernameField_; +} + +- (IBAction)stopSharing:(id)sender; +- (id)initWithHost:(remoting::ChromotingHost*)host + window:(remoting::DisconnectWindowMac*)window + username:(NSString*)username; +@end |