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

Unified Diff: chrome/browser/ui/views/passwords/credentials_item_view.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: comments 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/passwords/credentials_item_view.h
diff --git a/chrome/browser/ui/views/passwords/credentials_item_view.h b/chrome/browser/ui/views/passwords/credentials_item_view.h
index bfa3c0deed9896538e3b966ac9728dbda7a46685..b9cdfa7ac5a01c27b0d105d1ca2d50a10984ec8e 100644
--- a/chrome/browser/ui/views/passwords/credentials_item_view.h
+++ b/chrome/browser/ui/views/passwords/credentials_item_view.h
@@ -30,9 +30,15 @@ class Label;
class CredentialsItemView : public AccountAvatarFetcherDelegate,
public views::LabelButton {
public:
+ enum Style {
+ ACCOUNT_CHOOSER,
+ AUTO_SIGNIN,
+ };
+
CredentialsItemView(views::ButtonListener* button_listener,
const autofill::PasswordForm& form,
password_manager::CredentialType credential_type,
+ Style style,
net::URLRequestContextGetter* request_context);
~CredentialsItemView() override;

Powered by Google App Engine
This is Rietveld 408576698