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/macros.h" |
10 #include "base/memory/scoped_vector.h" | 11 #include "base/memory/scoped_vector.h" |
11 #include "components/autofill/core/common/password_form.h" | 12 #include "components/autofill/core/common/password_form.h" |
12 #include "ui/views/view.h" | 13 #include "ui/views/view.h" |
13 | 14 |
14 class ManagePasswordsBubbleModel; | 15 class ManagePasswordsBubbleModel; |
15 | 16 |
16 // A custom view of individual credentials. The view is represented as a table | 17 // A custom view of individual credentials. The view is represented as a table |
17 // where each row can be in three distinct states: | 18 // where each row can be in three distinct states: |
18 // | 19 // |
19 // * Present credentials to the user which she may choose to save. | 20 // * Present credentials to the user which she may choose to save. |
(...skipping 17 matching lines...) Expand all Loading... |
37 // Changes the views according to the state of |password_forms_rows_|. | 38 // Changes the views according to the state of |password_forms_rows_|. |
38 void Refresh(); | 39 void Refresh(); |
39 | 40 |
40 ScopedVector<PasswordFormRow> password_forms_rows_; | 41 ScopedVector<PasswordFormRow> password_forms_rows_; |
41 ManagePasswordsBubbleModel* model_; | 42 ManagePasswordsBubbleModel* model_; |
42 | 43 |
43 DISALLOW_COPY_AND_ASSIGN(ManagePasswordItemsView); | 44 DISALLOW_COPY_AND_ASSIGN(ManagePasswordItemsView); |
44 }; | 45 }; |
45 | 46 |
46 #endif // CHROME_BROWSER_UI_VIEWS_PASSWORDS_MANAGE_PASSWORD_ITEMS_VIEW_H_ | 47 #endif // CHROME_BROWSER_UI_VIEWS_PASSWORDS_MANAGE_PASSWORD_ITEMS_VIEW_H_ |
OLD | NEW |