OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef CHROME_BROWSER_UI_COCOA_PROFILES_USER_MANAGER_MAC_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_PROFILES_USER_MANAGER_MAC_H_ |
6 #define CHROME_BROWSER_UI_COCOA_PROFILES_USER_MANAGER_MAC_H_ | 6 #define CHROME_BROWSER_UI_COCOA_PROFILES_USER_MANAGER_MAC_H_ |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 | 9 |
10 #include "base/mac/scoped_nsobject.h" | 10 #include "base/mac/scoped_nsobject.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "chrome/browser/profiles/profile.h" | 12 #include "chrome/browser/profiles/profile.h" |
13 #include "chrome/browser/profiles/profile_window.h" | 13 #include "chrome/browser/profiles/profile_window.h" |
14 | 14 |
15 class UserManagerMac; | |
16 @class UserManagerWindowController; | 15 @class UserManagerWindowController; |
17 | 16 |
18 namespace content { | 17 namespace content { |
19 class NavigationController; | 18 class NavigationController; |
20 class WebContents; | 19 class WebContents; |
21 } | 20 } |
22 | 21 |
23 // Dialog widget that contains the Desktop User Manager webui. | 22 // Dialog widget that contains the Desktop User Manager webui. |
24 class UserManagerMac { | 23 class UserManagerMac { |
25 public: | 24 public: |
(...skipping 27 matching lines...) Expand all Loading... |
53 // is reset to NULL when the window is closed. | 52 // is reset to NULL when the window is closed. |
54 static UserManagerMac* instance_; // Weak. | 53 static UserManagerMac* instance_; // Weak. |
55 | 54 |
56 // Controller of the window. | 55 // Controller of the window. |
57 base::scoped_nsobject<UserManagerWindowController> window_controller_; | 56 base::scoped_nsobject<UserManagerWindowController> window_controller_; |
58 | 57 |
59 DISALLOW_COPY_AND_ASSIGN(UserManagerMac); | 58 DISALLOW_COPY_AND_ASSIGN(UserManagerMac); |
60 }; | 59 }; |
61 | 60 |
62 #endif // CHROME_BROWSER_UI_COCOA_PROFILES_USER_MANAGER_MAC_H_ | 61 #endif // CHROME_BROWSER_UI_COCOA_PROFILES_USER_MANAGER_MAC_H_ |
OLD | NEW |