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

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

Issue 1297963002: Implemented showing update bubble pop-up on password overriding (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments were addressed Created 5 years, 4 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_BUBBLE_MODEL_H_ 5 #ifndef CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_MODEL_H_
6 #define CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_MODEL_H_ 6 #define CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_MODEL_H_
7 7
8 #include "base/memory/scoped_vector.h" 8 #include "base/memory/scoped_vector.h"
9 #include "chrome/browser/ui/passwords/manage_passwords_bubble.h" 9 #include "chrome/browser/ui/passwords/manage_passwords_bubble.h"
10 #include "components/autofill/core/common/password_form.h" 10 #include "components/autofill/core/common/password_form.h"
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 // PENDING_PASSWORD_STATE. 164 // PENDING_PASSWORD_STATE.
165 void UpdatePendingStateTitle(); 165 void UpdatePendingStateTitle();
166 // URL of the page from where this bubble was triggered. 166 // URL of the page from where this bubble was triggered.
167 GURL origin_; 167 GURL origin_;
168 password_manager::ui::State state_; 168 password_manager::ui::State state_;
169 base::string16 title_; 169 base::string16 title_;
170 // Range of characters in the title that contains the Smart Lock Brand and 170 // Range of characters in the title that contains the Smart Lock Brand and
171 // should point to an article. For the default title the range is empty. 171 // should point to an article. For the default title the range is empty.
172 gfx::Range title_brand_link_range_; 172 gfx::Range title_brand_link_range_;
173 autofill::PasswordForm pending_password_; 173 autofill::PasswordForm pending_password_;
174 bool password_overridden_;
174 ScopedVector<const autofill::PasswordForm> local_credentials_; 175 ScopedVector<const autofill::PasswordForm> local_credentials_;
175 ScopedVector<const autofill::PasswordForm> federated_credentials_; 176 ScopedVector<const autofill::PasswordForm> federated_credentials_;
176 base::string16 manage_link_; 177 base::string16 manage_link_;
177 base::string16 save_confirmation_text_; 178 base::string16 save_confirmation_text_;
178 gfx::Range save_confirmation_link_range_; 179 gfx::Range save_confirmation_link_range_;
179 // If true upon destruction, the user has confirmed that she never wants to 180 // If true upon destruction, the user has confirmed that she never wants to
180 // save passwords for a particular site. 181 // save passwords for a particular site.
181 bool never_save_passwords_; 182 bool never_save_passwords_;
182 password_manager::metrics_util::UIDisplayDisposition display_disposition_; 183 password_manager::metrics_util::UIDisplayDisposition display_disposition_;
183 password_manager::metrics_util::UIDismissalReason dismissal_reason_; 184 password_manager::metrics_util::UIDismissalReason dismissal_reason_;
184 185
185 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsBubbleModel); 186 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsBubbleModel);
186 }; 187 };
187 188
188 #endif // CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_MODEL_H_ 189 #endif // CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_MODEL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698