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

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

Issue 2711563006: Links in generation prompts should go to passwords.google.com. (Closed)
Patch Set: histograms.xml fix Created 3 years, 9 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 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 NavigateToSmartLockHelpPage() override; 105 void NavigateToSmartLockHelpPage() override;
106 void NavigateToPasswordManagerAccountDashboard() override;
106 void NavigateToPasswordManagerSettingsPage() override; 107 void NavigateToPasswordManagerSettingsPage() override;
107 void NavigateToChromeSignIn() override; 108 void NavigateToChromeSignIn() override;
108 void OnDialogHidden() override; 109 void OnDialogHidden() override;
109 110
110 protected: 111 protected:
111 explicit ManagePasswordsUIController( 112 explicit ManagePasswordsUIController(
112 content::WebContents* web_contents); 113 content::WebContents* web_contents);
113 114
114 // The pieces of saving and blacklisting passwords that interact with 115 // The pieces of saving and blacklisting passwords that interact with
115 // FormManager, split off into internal functions for testing/mocking. 116 // FormManager, split off into internal functions for testing/mocking.
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 // 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
184 // time the internal state of ManagePasswordsUIController has nothing to do 185 // time the internal state of ManagePasswordsUIController has nothing to do
185 // with the old bubble. 186 // with the old bubble.
186 // Invalidating all the weak pointers will detach the current bubble. 187 // Invalidating all the weak pointers will detach the current bubble.
187 base::WeakPtrFactory<ManagePasswordsUIController> weak_ptr_factory_; 188 base::WeakPtrFactory<ManagePasswordsUIController> weak_ptr_factory_;
188 189
189 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsUIController); 190 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsUIController);
190 }; 191 };
191 192
192 #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