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

Side by Side Diff: chrome/browser/ui/cocoa/profiles/user_manager_mac.h

Issue 378693003: [Mac] Cmd+W should close the User Manager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rachel comments Created 6 years, 5 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
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/profiles/user_manager_mac.mm » ('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 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
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_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/profiles/user_manager_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698