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

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

Issue 2588263003: Reland: Remove Finch support for PasswordBranding (Closed)
Patch Set: Rebased only Created 4 years 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_UI_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_UI_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_UI_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_UI_CONTROLLER_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 void OnBubbleShown() override; 95 void OnBubbleShown() override;
96 void OnBubbleHidden() override; 96 void OnBubbleHidden() override;
97 void OnNoInteraction() override; 97 void OnNoInteraction() override;
98 void OnNopeUpdateClicked() override; 98 void OnNopeUpdateClicked() override;
99 void NeverSavePassword() override; 99 void NeverSavePassword() override;
100 void SavePassword() override; 100 void SavePassword() override;
101 void UpdatePassword(const autofill::PasswordForm& password_form) override; 101 void UpdatePassword(const autofill::PasswordForm& password_form) override;
102 void ChooseCredential( 102 void ChooseCredential(
103 const autofill::PasswordForm& form, 103 const autofill::PasswordForm& form,
104 password_manager::CredentialType credential_type) override; 104 password_manager::CredentialType credential_type) override;
105 void NavigateToExternalPasswordManager() override;
106 void NavigateToSmartLockHelpPage() override; 105 void NavigateToSmartLockHelpPage() override;
107 void NavigateToPasswordManagerSettingsPage() override; 106 void NavigateToPasswordManagerSettingsPage() override;
108 void NavigateToChromeSignIn() override; 107 void NavigateToChromeSignIn() override;
109 void OnDialogHidden() override; 108 void OnDialogHidden() override;
110 109
111 protected: 110 protected:
112 explicit ManagePasswordsUIController( 111 explicit ManagePasswordsUIController(
113 content::WebContents* web_contents); 112 content::WebContents* web_contents);
114 113
115 // The pieces of saving and blacklisting passwords that interact with 114 // The pieces of saving and blacklisting passwords that interact with
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 // Thus, OnBubbleHidden() can be called after the new one is shown. By that 184 // Thus, OnBubbleHidden() can be called after the new one is shown. By that
186 // time the internal state of ManagePasswordsUIController has nothing to do 185 // time the internal state of ManagePasswordsUIController has nothing to do
187 // with the old bubble. 186 // with the old bubble.
188 // Invalidating all the weak pointers will detach the current bubble. 187 // Invalidating all the weak pointers will detach the current bubble.
189 base::WeakPtrFactory<ManagePasswordsUIController> weak_ptr_factory_; 188 base::WeakPtrFactory<ManagePasswordsUIController> weak_ptr_factory_;
190 189
191 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsUIController); 190 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsUIController);
192 }; 191 };
193 192
194 #endif // CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_UI_CONTROLLER_H_ 193 #endif // CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_UI_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698