| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_OPTIONS_PASSWORDS_PAGE_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_OPTIONS_PASSWORDS_PAGE_VIEW_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_OPTIONS_PASSWORDS_PAGE_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_OPTIONS_PASSWORDS_PAGE_VIEW_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "app/text_elider.h" | |
| 12 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 13 #include "base/scoped_ptr.h" | 12 #include "base/scoped_ptr.h" |
| 14 #include "base/stl_util-inl.h" | 13 #include "base/stl_util-inl.h" |
| 15 #include "chrome/browser/password_manager/password_store.h" | 14 #include "chrome/browser/password_manager/password_store.h" |
| 16 #include "chrome/browser/profiles/profile.h" | 15 #include "chrome/browser/profiles/profile.h" |
| 17 #include "chrome/browser/prefs/pref_member.h" | 16 #include "chrome/browser/prefs/pref_member.h" |
| 18 #include "chrome/browser/ui/views/confirm_message_box_dialog.h" | 17 #include "chrome/browser/ui/views/confirm_message_box_dialog.h" |
| 19 #include "chrome/browser/ui/views/options/options_page_view.h" | 18 #include "chrome/browser/ui/views/options/options_page_view.h" |
| 20 #include "ui/base/models/table_model.h" | 19 #include "ui/base/models/table_model.h" |
| 21 #include "views/controls/button/native_button.h" | 20 #include "views/controls/button/native_button.h" |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 views::Label password_label_; | 191 views::Label password_label_; |
| 193 webkit_glue::PasswordForm* current_selected_password_; | 192 webkit_glue::PasswordForm* current_selected_password_; |
| 194 | 193 |
| 195 // Tracks the preference that controls whether showing passwords is allowed. | 194 // Tracks the preference that controls whether showing passwords is allowed. |
| 196 BooleanPrefMember allow_show_passwords_; | 195 BooleanPrefMember allow_show_passwords_; |
| 197 | 196 |
| 198 DISALLOW_COPY_AND_ASSIGN(PasswordsPageView); | 197 DISALLOW_COPY_AND_ASSIGN(PasswordsPageView); |
| 199 }; | 198 }; |
| 200 | 199 |
| 201 #endif // CHROME_BROWSER_UI_VIEWS_OPTIONS_PASSWORDS_PAGE_VIEW_H_ | 200 #endif // CHROME_BROWSER_UI_VIEWS_OPTIONS_PASSWORDS_PAGE_VIEW_H_ |
| OLD | NEW |