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_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_COCOA_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_PASSWORDS_PASSWORDS_BUBBLE_COCOA_H_ |
6 #define CHROME_BROWSER_UI_COCOA_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_COCOA_H_ | 6 #define CHROME_BROWSER_UI_COCOA_PASSWORDS_PASSWORDS_BUBBLE_COCOA_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/macros.h" |
11 #import "chrome/browser/ui/passwords/manage_passwords_bubble_model.h" | 12 #import "chrome/browser/ui/passwords/manage_passwords_bubble_model.h" |
12 | 13 |
13 namespace content { | 14 namespace content { |
14 class WebContents; | 15 class WebContents; |
15 } | 16 } |
16 | 17 |
17 @class ManagePasswordsBubbleController; | 18 @class ManagePasswordsBubbleController; |
18 @class ManagePasswordsBubbleCocoaNotificationBridge; | 19 @class ManagePasswordsBubbleCocoaNotificationBridge; |
19 class ManagePasswordsIcon; | 20 class ManagePasswordsIcon; |
20 | 21 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 | 68 |
68 // Listens for NSNotificationCenter notifications. | 69 // Listens for NSNotificationCenter notifications. |
69 base::scoped_nsobject<ManagePasswordsBubbleCocoaNotificationBridge> bridge_; | 70 base::scoped_nsobject<ManagePasswordsBubbleCocoaNotificationBridge> bridge_; |
70 | 71 |
71 // The global bubble instance. Deleted by Close(). | 72 // The global bubble instance. Deleted by Close(). |
72 static ManagePasswordsBubbleCocoa* bubble_; | 73 static ManagePasswordsBubbleCocoa* bubble_; |
73 | 74 |
74 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsBubbleCocoa); | 75 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsBubbleCocoa); |
75 }; | 76 }; |
76 | 77 |
77 #endif // CHROME_BROWSER_UI_COCOA_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_COCOA_H_ | 78 #endif // CHROME_BROWSER_UI_COCOA_PASSWORDS_PASSWORDS_BUBBLE_COCOA_H_ |
OLD | NEW |