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

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

Issue 13212009: Made DesktopEnvironment responsible for creation of the disconnect window. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More Mac fixes. Created 7 years, 8 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
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698