Index: chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_cocoa.h |
diff --git a/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_cocoa.h b/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_cocoa.h |
index 5b19193341f81f87bf26f04644abe3f85731ef81..03edd4f7794e25df5964f9a7a8789a7c45e28f71 100644 |
--- a/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_cocoa.h |
+++ b/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_cocoa.h |
@@ -14,13 +14,8 @@ |
class WebContents; |
} |
-namespace chrome { |
-void ShowManagePasswordsBubble(content::WebContents* webContents); |
-} |
- |
@class ManagePasswordsBubbleController; |
@class ManagePasswordsBubbleCocoaNotificationBridge; |
-class ManagePasswordsIcon; |
// Cocoa implementation of the platform-independent password bubble interface. |
class ManagePasswordsBubbleCocoa : public ManagePasswordsBubble { |
@@ -28,8 +23,7 @@ |
// Creates and shows the bubble, which owns itself. Does nothing if the bubble |
// is already shown. |
static void ShowBubble(content::WebContents* webContents, |
- DisplayReason displayReason, |
- ManagePasswordsIcon* icon); |
+ DisplayReason displayReason); |
// Closes and deletes the bubble. |
void Close(); |
@@ -39,22 +33,15 @@ |
private: |
friend class ManagePasswordsBubbleCocoaTest; |
- friend class ManagePasswordsBubbleTest; |
- friend void chrome::ShowManagePasswordsBubble( |
- content::WebContents* webContents); |
// Instance-specific logic. Clients should use the static interface. |
ManagePasswordsBubbleCocoa(content::WebContents* webContents, |
- DisplayReason displayReason, |
- ManagePasswordsIcon* icon); |
+ DisplayReason displayReason); |
virtual ~ManagePasswordsBubbleCocoa(); |
void Show(); |
// Cleans up state and deletes itself. Called when the bubble is closed. |
void OnClose(); |
- |
- // The location bar icon corresponding to the bubble. |
- ManagePasswordsIcon* icon_; |
// Whether there is currently a close operation taking place. Prevents |
// multiple attempts to close the window. |