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

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

Issue 8536002: Cleanup: Remove unneeded forward declarations from remoting. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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/chromoting_host_context.h ('k') | remoting/host/host_config.h » ('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;
10 } 9 }
11 10
12 // Controller for the disconnect window which allows the host user to 11 // Controller for the disconnect window which allows the host user to
13 // quickly disconnect a session. 12 // quickly disconnect a session.
14 @interface DisconnectWindowController : NSWindowController { 13 @interface DisconnectWindowController : NSWindowController {
15 @private 14 @private
16 remoting::ChromotingHost* host_; 15 remoting::ChromotingHost* host_;
17 NSString* username_; 16 NSString* username_;
18 IBOutlet NSTextField* connectedToField_; 17 IBOutlet NSTextField* connectedToField_;
19 IBOutlet NSButton* disconnectButton_; 18 IBOutlet NSButton* disconnectButton_;
20 } 19 }
21 20
22 - (id)initWithHost:(remoting::ChromotingHost*)host 21 - (id)initWithHost:(remoting::ChromotingHost*)host
23 username:(NSString*)username; 22 username:(NSString*)username;
24 - (IBAction)stopSharing:(id)sender; 23 - (IBAction)stopSharing:(id)sender;
25 @end 24 @end
26 25
27 // A floating window with a custom border. The custom border and background 26 // A floating window with a custom border. The custom border and background
28 // content is defined by DisconnectView. Declared here so that it can be 27 // content is defined by DisconnectView. Declared here so that it can be
29 // instantiated via a xib. 28 // instantiated via a xib.
30 @interface DisconnectWindow : NSWindow 29 @interface DisconnectWindow : NSWindow
31 @end 30 @end
32 31
33 // The custom background/border for the DisconnectWindow. Declared here so that 32 // The custom background/border for the DisconnectWindow. Declared here so that
34 // it can be instantiated via a xib. 33 // it can be instantiated via a xib.
35 @interface DisconnectView : NSView 34 @interface DisconnectView : NSView
36 @end 35 @end
OLDNEW
« no previous file with comments | « remoting/host/chromoting_host_context.h ('k') | remoting/host/host_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698