Index: chrome/browser/ui/cocoa/location_bar/manage_passwords_decoration.h |
diff --git a/chrome/browser/ui/cocoa/location_bar/manage_passwords_decoration.h b/chrome/browser/ui/cocoa/location_bar/manage_passwords_decoration.h |
index 3534816a1678ffba112d65577801327f5ccccefa..b63a822adb99b7c0200eb7bacc24c9cf6c6a755b 100644 |
--- a/chrome/browser/ui/cocoa/location_bar/manage_passwords_decoration.h |
+++ b/chrome/browser/ui/cocoa/location_bar/manage_passwords_decoration.h |
@@ -13,7 +13,6 @@ |
#include "chrome/browser/ui/passwords/manage_passwords_icon.h" |
class CommandUpdater; |
-class LocationBarViewMac; |
class ManagePasswordsDecoration; |
// Cocoa implementation of ManagePasswordsIcon that delegates to |
@@ -35,8 +34,7 @@ |
// password management is available on the current page. |
class ManagePasswordsDecoration : public ImageDecoration { |
public: |
- explicit ManagePasswordsDecoration(CommandUpdater* command_updater, |
- LocationBarViewMac* location_bar); |
+ explicit ManagePasswordsDecoration(CommandUpdater* command_updater); |
virtual ~ManagePasswordsDecoration(); |
// Implement |LocationBarDecoration| |
@@ -52,17 +50,8 @@ |
ManagePasswordsIconCocoa* icon() { return icon_.get(); } |
private: |
- // Triggers a redraw after a state change. |
- void OnChange(); |
- |
- // Updates child view states. |
- void UpdateUIState(); |
- |
// Shows the manage passwords bubble. |
CommandUpdater* command_updater_; // Weak, owned by Browser. |
- |
- // Displays all the decorations. |
- LocationBarViewMac* location_bar_; // Weak, owns us. |
// The platform-independent interface. |
scoped_ptr<ManagePasswordsIconCocoa> icon_; |