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_ITEM_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_PASSWORDS_MANAGE_PASSWORD_ITEM_VIEW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_PASSWORDS_MANAGE_PASSWORD_ITEM_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_PASSWORDS_MANAGE_PASSWORD_ITEM_VIEW_H_ |
7 | 7 |
8 #include "chrome/browser/ui/views/passwords/manage_passwords_bubble_view.h" | 8 #include "chrome/browser/ui/views/passwords/manage_passwords_bubble_view.h" |
9 #include "components/autofill/core/common/password_form.h" | 9 #include "components/autofill/core/common/password_form.h" |
10 | 10 |
| 11 class ManagePasswordsBubbleModel; |
| 12 |
11 namespace views { | 13 namespace views { |
12 class GridLayout; | 14 class GridLayout; |
13 class ImageButton; | 15 class ImageButton; |
14 } | 16 } |
15 | 17 |
16 // A custom view for credentials which allows the management of the specific | 18 // A custom view for credentials which allows the management of the specific |
17 // credentials. The view has three distinct states: | 19 // credentials. The view has three distinct states: |
18 // | 20 // |
19 // * Present credentials to the user which she may choose to save. | 21 // * Present credentials to the user which she may choose to save. |
20 // * Present already-saved credentials to the user for management. | 22 // * Present already-saved credentials to the user for management. |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 ManagePasswordsBubbleModel* manage_passwords_bubble_model_; | 99 ManagePasswordsBubbleModel* manage_passwords_bubble_model_; |
98 autofill::PasswordForm password_form_; | 100 autofill::PasswordForm password_form_; |
99 bool delete_password_; | 101 bool delete_password_; |
100 int field_1_width_; | 102 int field_1_width_; |
101 int field_2_width_; | 103 int field_2_width_; |
102 | 104 |
103 DISALLOW_COPY_AND_ASSIGN(ManagePasswordItemView); | 105 DISALLOW_COPY_AND_ASSIGN(ManagePasswordItemView); |
104 }; | 106 }; |
105 | 107 |
106 #endif // CHROME_BROWSER_UI_VIEWS_PASSWORDS_MANAGE_PASSWORD_ITEM_VIEW_H_ | 108 #endif // CHROME_BROWSER_UI_VIEWS_PASSWORDS_MANAGE_PASSWORD_ITEM_VIEW_H_ |
OLD | NEW |