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

Unified Diff: chrome/browser/ui/views/passwords/manage_passwords_bubble_view.h

Issue 259153004: Password bubble: Give users the option of unblacklisting a site. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 7 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/views/passwords/manage_passwords_bubble_view.h
diff --git a/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.h b/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.h
index 589d7109f579a79e345b1560e022d91a9ca70195..77f7451dda2b368507b23da3a06939002106caab 100644
--- a/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.h
+++ b/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.h
@@ -93,6 +93,24 @@ class ManagePasswordsBubbleView : public ManagePasswordsBubble,
views::LabelButton* done_button_;
};
+ // A view offering the user the ability to re-enable the password manager for
+ // a specific site after she's decided to "never save passwords".
+ class BlacklistedView : public views::View, public views::ButtonListener {
+ public:
+ explicit BlacklistedView(ManagePasswordsBubbleView* parent);
+ virtual ~BlacklistedView();
+
+ private:
+ // views::ButtonListener:
+ virtual void ButtonPressed(views::Button* sender,
+ const ui::Event& event) OVERRIDE;
+
+ ManagePasswordsBubbleView* parent_;
+
+ views::BlueButton* unblacklist_button_;
+ views::LabelButton* done_button_;
+ };
+
// Shows the bubble.
static void ShowBubble(content::WebContents* web_contents,
DisplayReason reason);

Powered by Google App Engine
This is Rietveld 408576698