| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |