OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/callback.h" | 9 #include "base/callback.h" |
10 #include "base/string16.h" | 10 #include "base/string16.h" |
11 #include "base/utf_string_conversions.h" | 11 #include "base/utf_string_conversions.h" |
12 #include "remoting/host/disconnect_window.h" | |
13 | 12 |
14 namespace remoting { | 13 namespace remoting { |
15 struct UiStrings; | 14 struct UiStrings; |
16 } | 15 } |
17 | 16 |
18 // Controller for the disconnect window which allows the host user to | 17 // Controller for the disconnect window which allows the host user to |
19 // quickly disconnect a session. | 18 // quickly disconnect a session. |
20 @interface DisconnectWindowController : NSWindowController { | 19 @interface DisconnectWindowController : NSWindowController { |
21 @private | 20 @private |
22 const remoting::UiStrings* ui_strings_; | 21 const remoting::UiStrings* ui_strings_; |
(...skipping 12 matching lines...) Expand all Loading... |
35 // A floating window with a custom border. The custom border and background | 34 // A floating window with a custom border. The custom border and background |
36 // content is defined by DisconnectView. Declared here so that it can be | 35 // content is defined by DisconnectView. Declared here so that it can be |
37 // instantiated via a xib. | 36 // instantiated via a xib. |
38 @interface DisconnectWindow : NSWindow | 37 @interface DisconnectWindow : NSWindow |
39 @end | 38 @end |
40 | 39 |
41 // The custom background/border for the DisconnectWindow. Declared here so that | 40 // The custom background/border for the DisconnectWindow. Declared here so that |
42 // it can be instantiated via a xib. | 41 // it can be instantiated via a xib. |
43 @interface DisconnectView : NSView | 42 @interface DisconnectView : NSView |
44 @end | 43 @end |
OLD | NEW |