Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4153)

Unified Diff: chrome/browser/ui/cocoa/location_bar/manage_passwords_decoration.h

Issue 473423005: Revert of Hook up the Mac password bubble to the browser and add browser tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_;

Powered by Google App Engine
This is Rietveld 408576698