| Index: chrome/browser/ui/cocoa/passwords/passwords_bubble_cocoa.h
|
| diff --git a/chrome/browser/ui/cocoa/passwords/passwords_bubble_cocoa.h b/chrome/browser/ui/cocoa/passwords/passwords_bubble_cocoa.h
|
| index 7b98efdaf0816b955db41b3d0632561498d4dc6e..a9e4395d427c5847033a37ac071e1588e1973fc0 100644
|
| --- a/chrome/browser/ui/cocoa/passwords/passwords_bubble_cocoa.h
|
| +++ b/chrome/browser/ui/cocoa/passwords/passwords_bubble_cocoa.h
|
| @@ -26,6 +26,9 @@ class ManagePasswordsBubbleCocoa {
|
| // is already shown.
|
| static void Show(content::WebContents* webContents, bool user_action);
|
|
|
| + // Closes the bubble. Does nothing if the bubble is not currently shown.
|
| + static void CloseCurrentBubble();
|
| +
|
| // Closes and deletes the bubble.
|
| void Close(bool no_animation);
|
| void Close();
|
| @@ -72,4 +75,15 @@ class ManagePasswordsBubbleCocoa {
|
| DISALLOW_COPY_AND_ASSIGN(ManagePasswordsBubbleCocoa);
|
| };
|
|
|
| +// Helper to hide a toolkit-views manage passwords bubble. Implemented in a
|
| +// views-specific file.
|
| +void CloseViewsManagePasswordsBubbleOnCocoaBrowser();
|
| +
|
| +// Helper to show a toolkit-views manage passwords bubble. Implemented in a
|
| +// views-specific file.
|
| +void ShowViewsManagePasswordsBubbleOnCocoaBrowser(
|
| + NSPoint anchor,
|
| + content::WebContents* web_contents,
|
| + bool user_action);
|
| +
|
| #endif // CHROME_BROWSER_UI_COCOA_PASSWORDS_PASSWORDS_BUBBLE_COCOA_H_
|
|
|