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

Side by Side Diff: chrome/browser/ui/views/passwords/manage_password_items_view.h

Issue 1151373006: Update Confirmation UI for saved password change (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed reviewer comments Created 5 years, 6 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_VIEWS_PASSWORDS_MANAGE_PASSWORD_ITEMS_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_PASSWORDS_MANAGE_PASSWORD_ITEMS_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_PASSWORDS_MANAGE_PASSWORD_ITEMS_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_PASSWORDS_MANAGE_PASSWORD_ITEMS_VIEW_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 16 matching lines...) Expand all
27 27
28 private: 28 private:
29 class PasswordFormRow; 29 class PasswordFormRow;
30 30
31 ~ManagePasswordItemsView() override; 31 ~ManagePasswordItemsView() override;
32 32
33 void AddRows(); 33 void AddRows();
34 void NotifyPasswordFormStatusChanged( 34 void NotifyPasswordFormStatusChanged(
35 const autofill::PasswordForm& password_form, bool deleted); 35 const autofill::PasswordForm& password_form, bool deleted);
36 36
37 void NotifyAccountForUpdateWasSelected(
38 const autofill::PasswordForm& password_form);
39
37 // Changes the views according to the state of |password_forms_rows_|. 40 // Changes the views according to the state of |password_forms_rows_|.
38 void Refresh(); 41 void Refresh();
39 42
40 ScopedVector<PasswordFormRow> password_forms_rows_; 43 ScopedVector<PasswordFormRow> password_forms_rows_;
41 ManagePasswordsBubbleModel* model_; 44 ManagePasswordsBubbleModel* model_;
42 45
43 DISALLOW_COPY_AND_ASSIGN(ManagePasswordItemsView); 46 DISALLOW_COPY_AND_ASSIGN(ManagePasswordItemsView);
44 }; 47 };
45 48
46 #endif // CHROME_BROWSER_UI_VIEWS_PASSWORDS_MANAGE_PASSWORD_ITEMS_VIEW_H_ 49 #endif // CHROME_BROWSER_UI_VIEWS_PASSWORDS_MANAGE_PASSWORD_ITEMS_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698