OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_AUTOFILL_AUTOFILL_POPUP_CONTROLLER_IMPL_H_ | 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_CONTROLLER_IMPL_H_ |
6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_CONTROLLER_IMPL_H_ | 6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_CONTROLLER_IMPL_H_ |
7 | 7 |
8 #include "base/gtest_prod_util.h" | 8 #include "base/gtest_prod_util.h" |
9 #include "base/i18n/rtl.h" | 9 #include "base/i18n/rtl.h" |
10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
(...skipping 174 matching lines...) Loading... |
185 | 185 |
186 // Since names_ can be elided to ensure that it fits on the screen, we need to | 186 // Since names_ can be elided to ensure that it fits on the screen, we need to |
187 // keep an unelided copy of the names to be able to pass to the delegate. | 187 // keep an unelided copy of the names to be able to pass to the delegate. |
188 std::vector<base::string16> full_names_; | 188 std::vector<base::string16> full_names_; |
189 | 189 |
190 #if !defined(OS_ANDROID) | 190 #if !defined(OS_ANDROID) |
191 // The fonts for the popup text. | 191 // The fonts for the popup text. |
192 gfx::FontList name_font_list_; | 192 gfx::FontList name_font_list_; |
193 gfx::FontList subtext_font_list_; | 193 gfx::FontList subtext_font_list_; |
194 gfx::FontList warning_font_list_; | 194 gfx::FontList warning_font_list_; |
| 195 gfx::FontList title_font_list_; |
195 #endif | 196 #endif |
196 | 197 |
197 // The line that is currently selected by the user. | 198 // The line that is currently selected by the user. |
198 // |kNoSelection| indicates that no line is currently selected. | 199 // |kNoSelection| indicates that no line is currently selected. |
199 int selected_line_; | 200 int selected_line_; |
200 | 201 |
201 base::WeakPtrFactory<AutofillPopupControllerImpl> weak_ptr_factory_; | 202 base::WeakPtrFactory<AutofillPopupControllerImpl> weak_ptr_factory_; |
202 }; | 203 }; |
203 | 204 |
204 } // namespace autofill | 205 } // namespace autofill |
205 | 206 |
206 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_CONTROLLER_IMPL_H_ | 207 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_CONTROLLER_IMPL_H_ |
OLD | NEW |