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

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

Issue 583883003: [Password Generation] Change links in the bubble to point to the local manager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mac tests Created 6 years, 3 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 "base/gtest_prod_util.h" 8 #include "base/gtest_prod_util.h"
9 #include "base/memory/scoped_vector.h" 9 #include "base/memory/scoped_vector.h"
10 #include "base/timer/elapsed_timer.h" 10 #include "base/timer/elapsed_timer.h"
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 virtual void NeverSavePassword(); 70 virtual void NeverSavePassword();
71 71
72 // Called from the model when the user chooses to unblacklist the site. The 72 // Called from the model when the user chooses to unblacklist the site. The
73 // controller MUST be in BLACKLIST_STATE, and WILL be in MANAGE_STATE after 73 // controller MUST be in BLACKLIST_STATE, and WILL be in MANAGE_STATE after
74 // this method executes. 74 // this method executes.
75 virtual void UnblacklistSite(); 75 virtual void UnblacklistSite();
76 76
77 // Open a new tab, pointing to the password manager settings page. 77 // Open a new tab, pointing to the password manager settings page.
78 virtual void NavigateToPasswordManagerSettingsPage(); 78 virtual void NavigateToPasswordManagerSettingsPage();
79 79
80 // Open a new tab, pointing to the Google manage passwords website.
81 // TODO(gcasto): Change this to navigate to account central once passwords
82 // are visible there. Currently goes to the Chrome support page.
83 virtual void NavigateToAccountCentralManagementPage();
84
85 virtual const autofill::PasswordForm& PendingCredentials() const; 80 virtual const autofill::PasswordForm& PendingCredentials() const;
86 81
87 // Set the state of the Omnibox icon, and possibly show the associated bubble 82 // Set the state of the Omnibox icon, and possibly show the associated bubble
88 // without user interaction. 83 // without user interaction.
89 virtual void UpdateIconAndBubbleState(ManagePasswordsIcon* icon); 84 virtual void UpdateIconAndBubbleState(ManagePasswordsIcon* icon);
90 85
91 password_manager::ui::State state() const { return state_; } 86 password_manager::ui::State state() const { return state_; }
92 87
93 // True if a password is sitting around, waiting for a user to decide whether 88 // True if a password is sitting around, waiting for a user to decide whether
94 // or not to save it. 89 // or not to save it.
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 157
163 // The origin of the form we're currently dealing with; we'll use this to 158 // The origin of the form we're currently dealing with; we'll use this to
164 // determine which PasswordStore changes we should care about when updating 159 // determine which PasswordStore changes we should care about when updating
165 // |password_form_map_|. 160 // |password_form_map_|.
166 GURL origin_; 161 GURL origin_;
167 162
168 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsUIController); 163 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsUIController);
169 }; 164 };
170 165
171 #endif // CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_UI_CONTROLLER_H_ 166 #endif // CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_UI_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698