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

Side by Side Diff: chrome/browser/ui/passwords/manage_passwords_bubble_model.h

Issue 924733003: Credential Manager API pops up an auto-signin toast. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_MODEL_H_ 5 #ifndef CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_MODEL_H_
6 #define CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_MODEL_H_ 6 #define CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_MODEL_H_
7 7
8 #include "base/memory/scoped_vector.h" 8 #include "base/memory/scoped_vector.h"
9 #include "chrome/browser/ui/passwords/manage_passwords_bubble.h" 9 #include "chrome/browser/ui/passwords/manage_passwords_bubble.h"
10 #include "components/autofill/core/common/password_form.h" 10 #include "components/autofill/core/common/password_form.h"
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 73
74 // Called by the view code when the "Done" button is clicked by the user. 74 // Called by the view code when the "Done" button is clicked by the user.
75 void OnDoneClicked(); 75 void OnDoneClicked();
76 76
77 // Called by the view code when the "OK" button is clicked by the user. 77 // Called by the view code when the "OK" button is clicked by the user.
78 void OnOKClicked(); 78 void OnOKClicked();
79 79
80 // Called by the view code when the manage link is clicked by the user. 80 // Called by the view code when the manage link is clicked by the user.
81 void OnManageLinkClicked(); 81 void OnManageLinkClicked();
82 82
83 // Called by the view code when the auto-signin toast is about to close.
84 void OnAutoSignInToastTimeout();
85
83 // Called by the view code to delete or add a password form to the 86 // Called by the view code to delete or add a password form to the
84 // PasswordStore. 87 // PasswordStore.
85 void OnPasswordAction(const autofill::PasswordForm& password_form, 88 void OnPasswordAction(const autofill::PasswordForm& password_form,
86 PasswordAction action); 89 PasswordAction action);
87 90
88 // Called by the view code to notify about chosen credential. 91 // Called by the view code to notify about chosen credential.
89 void OnChooseCredentials(const autofill::PasswordForm& password_form, 92 void OnChooseCredentials(const autofill::PasswordForm& password_form,
90 password_manager::CredentialType credential_type_); 93 password_manager::CredentialType credential_type_);
91 94
92 GURL origin() const { return origin_; } 95 GURL origin() const { return origin_; }
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 // If true upon destruction, the user has confirmed that she never wants to 157 // If true upon destruction, the user has confirmed that she never wants to
155 // save passwords for a particular site. 158 // save passwords for a particular site.
156 bool never_save_passwords_; 159 bool never_save_passwords_;
157 password_manager::metrics_util::UIDisplayDisposition display_disposition_; 160 password_manager::metrics_util::UIDisplayDisposition display_disposition_;
158 password_manager::metrics_util::UIDismissalReason dismissal_reason_; 161 password_manager::metrics_util::UIDismissalReason dismissal_reason_;
159 162
160 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsBubbleModel); 163 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsBubbleModel);
161 }; 164 };
162 165
163 #endif // CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_MODEL_H_ 166 #endif // CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_MODEL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698