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

Unified Diff: chrome/browser/ui/passwords/manage_passwords_bubble_model.h

Issue 266973002: Password bubble: Create subviews for ManagePasswordsBubbleView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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/passwords/manage_passwords_bubble_model.h
diff --git a/chrome/browser/ui/passwords/manage_passwords_bubble_model.h b/chrome/browser/ui/passwords/manage_passwords_bubble_model.h
index d2c371887abc732cc50624970a8742c82bb7fae0..f16a07ba1b8e8542c35aea31b300750f51e91134 100644
--- a/chrome/browser/ui/passwords/manage_passwords_bubble_model.h
+++ b/chrome/browser/ui/passwords/manage_passwords_bubble_model.h
@@ -67,20 +67,22 @@ class ManagePasswordsBubbleModel : public content::WebContentsObserver {
// content to the user. We shouldn't log to UMA in this case.
void OnCloseWithoutLogging();
- ManagePasswordsBubbleState manage_passwords_bubble_state() {
+ ManagePasswordsBubbleState manage_passwords_bubble_state() const {
return manage_passwords_bubble_state_;
}
- bool WaitingToSavePassword() {
+ bool WaitingToSavePassword() const {
return manage_passwords_bubble_state() == PASSWORD_TO_BE_SAVED;
}
- const base::string16& title() { return title_; }
- const autofill::PasswordForm& pending_credentials() {
+ const base::string16& title() const { return title_; }
+ const autofill::PasswordForm& pending_credentials() const {
return pending_credentials_;
}
- const autofill::PasswordFormMap& best_matches() { return best_matches_; }
- const base::string16& manage_link() { return manage_link_; }
+ const autofill::PasswordFormMap& best_matches() const {
+ return best_matches_;
+ }
+ const base::string16& manage_link() const { return manage_link_; }
// Gets and sets the reason the bubble was displayed; exposed for testing.
password_manager::metrics_util::UIDisplayDisposition display_disposition()
« no previous file with comments | « chrome/browser/ui/passwords/manage_passwords_bubble.h ('k') | chrome/browser/ui/passwords/manage_passwords_bubble_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698