Chromium Code Reviews| 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_PASSWORDS_BUBBLE_COCOA_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_PASSWORDS_PASSWORDS_BUBBLE_COCOA_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_PASSWORDS_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" |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 65 | 65 |
| 66 // Listens for NSNotificationCenter notifications. | 66 // Listens for NSNotificationCenter notifications. |
| 67 base::scoped_nsobject<ManagePasswordsBubbleCocoaNotificationBridge> bridge_; | 67 base::scoped_nsobject<ManagePasswordsBubbleCocoaNotificationBridge> bridge_; |
| 68 | 68 |
| 69 // The global bubble instance. Deleted by Close(). | 69 // The global bubble instance. Deleted by Close(). |
| 70 static ManagePasswordsBubbleCocoa* bubble_; | 70 static ManagePasswordsBubbleCocoa* bubble_; |
| 71 | 71 |
| 72 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsBubbleCocoa); | 72 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsBubbleCocoa); |
| 73 }; | 73 }; |
| 74 | 74 |
| 75 // Helper to show a toolkit-views manage passwords bubble. Implemented in a | |
| 76 // views-specific file. | |
| 77 void ShowManagePasswordsBubbleOnCocoaBrowser(NSPoint anchor, | |
|
tapted
2017/04/11 07:48:58
It's a mouthful, but perhaps ShowViewsManage...
varkha
2017/04/12 01:57:28
Done.
| |
| 78 content::WebContents* web_contents, | |
| 79 bool user_action); | |
| 80 | |
| 75 #endif // CHROME_BROWSER_UI_COCOA_PASSWORDS_PASSWORDS_BUBBLE_COCOA_H_ | 81 #endif // CHROME_BROWSER_UI_COCOA_PASSWORDS_PASSWORDS_BUBBLE_COCOA_H_ |
| OLD | NEW |