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

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

Issue 1467993002: Remove ManagePasswordsUIController::NavigateToSmartLockPage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Switching infobars to non-localised link, moving kPasswordManagerAccountDashboardURL to components Created 5 years, 1 month 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 <vector> 8 #include <vector>
9 9
10 #include "base/memory/scoped_vector.h" 10 #include "base/memory/scoped_vector.h"
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 void OnBubbleShown() override; 103 void OnBubbleShown() override;
104 void OnBubbleHidden() override; 104 void OnBubbleHidden() override;
105 void OnNoInteractionOnUpdate() override; 105 void OnNoInteractionOnUpdate() override;
106 void OnNopeUpdateClicked() override; 106 void OnNopeUpdateClicked() override;
107 void NeverSavePassword() override; 107 void NeverSavePassword() override;
108 void SavePassword() override; 108 void SavePassword() override;
109 void UpdatePassword(const autofill::PasswordForm& password_form) override; 109 void UpdatePassword(const autofill::PasswordForm& password_form) override;
110 void ChooseCredential( 110 void ChooseCredential(
111 const autofill::PasswordForm& form, 111 const autofill::PasswordForm& form,
112 password_manager::CredentialType credential_type) override; 112 password_manager::CredentialType credential_type) override;
113 // Two different ways to open a new tab pointing to passwords.google.com.
114 // TODO(crbug.com/548259) eliminate one of them.
115 void NavigateToExternalPasswordManager() override; 113 void NavigateToExternalPasswordManager() override;
116 void NavigateToSmartLockPage() override;
117 void NavigateToSmartLockHelpPage() override; 114 void NavigateToSmartLockHelpPage() override;
118 void NavigateToPasswordManagerSettingsPage() override; 115 void NavigateToPasswordManagerSettingsPage() override;
119 116
120 protected: 117 protected:
121 explicit ManagePasswordsUIController( 118 explicit ManagePasswordsUIController(
122 content::WebContents* web_contents); 119 content::WebContents* web_contents);
123 120
124 // The pieces of saving and blacklisting passwords that interact with 121 // The pieces of saving and blacklisting passwords that interact with
125 // FormManager, split off into internal functions for testing/mocking. 122 // FormManager, split off into internal functions for testing/mocking.
126 virtual void SavePasswordInternal(); 123 virtual void SavePasswordInternal();
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 scoped_ptr<base::ElapsedTimer> timer_; 167 scoped_ptr<base::ElapsedTimer> timer_;
171 168
172 // Contains true if the bubble is to be popped up in the next call to 169 // Contains true if the bubble is to be popped up in the next call to
173 // UpdateBubbleAndIconVisibility(). 170 // UpdateBubbleAndIconVisibility().
174 bool should_pop_up_bubble_; 171 bool should_pop_up_bubble_;
175 172
176 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsUIController); 173 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsUIController);
177 }; 174 };
178 175
179 #endif // CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_UI_CONTROLLER_H_ 176 #endif // CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_UI_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698