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

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

Issue 2033713002: Implement the Chrome Sign-in promo bubble for password manager on Views. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments Created 4 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 91c3c3caa2a2606f0479af6331845429a010451b..78f98360f5cd582c033d0da6bfbceb9a002bced9 100644
--- a/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.h
+++ b/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.h
@@ -56,10 +56,10 @@ class ManagePasswordsBubbleView : public LocationBarBubbleDelegateView {
private:
class AutoSigninView;
- class BlacklistedView;
class ManageView;
class PendingView;
class SaveConfirmationView;
+ class SignInPromoView;
class UpdatePendingView;
class WebContentMouseHandler;
@@ -78,10 +78,12 @@ class ManagePasswordsBubbleView : public LocationBarBubbleDelegateView {
bool ShouldShowWindowTitle() const override;
bool ShouldShowCloseButton() const override;
- // Refreshes the bubble's state: called to display a confirmation screen after
- // a user selects "Never for this site", for instance.
+ // Refreshes the bubble's state.
void Refresh();
+ // Sets up a child view according to the model state.
+ void CreateChild();
+
void set_initially_focused_view(views::View* view) {
DCHECK(!initially_focused_view_);
initially_focused_view_ = view;

Powered by Google App Engine
This is Rietveld 408576698