| OLD | NEW |
| 1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2016 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_LAYOUT_MODEL_H_ | 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_LAYOUT_MODEL_H_ |
| 6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_LAYOUT_MODEL_H_ | 6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_LAYOUT_MODEL_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 const gfx::Rect RoundedElementBounds() const; | 97 const gfx::Rect RoundedElementBounds() const; |
| 98 | 98 |
| 99 #if !defined(OS_ANDROID) | 99 #if !defined(OS_ANDROID) |
| 100 // The fonts for the popup text. | 100 // The fonts for the popup text. |
| 101 // Normal font (readable size, non bold). | 101 // Normal font (readable size, non bold). |
| 102 gfx::FontList normal_font_list_; | 102 gfx::FontList normal_font_list_; |
| 103 // Slightly smaller than the normal font. | 103 // Slightly smaller than the normal font. |
| 104 gfx::FontList smaller_font_list_; | 104 gfx::FontList smaller_font_list_; |
| 105 // Bold version of the normal font. | 105 // Bold version of the normal font. |
| 106 gfx::FontList bold_font_list_; | 106 gfx::FontList bold_font_list_; |
| 107 // Font used for the warning dialog, which may be italic or not depending on | |
| 108 // the platform. | |
| 109 gfx::FontList warning_font_list_; | |
| 110 #endif | 107 #endif |
| 111 | 108 |
| 112 // The bounds of the Autofill popup. | 109 // The bounds of the Autofill popup. |
| 113 gfx::Rect popup_bounds_; | 110 gfx::Rect popup_bounds_; |
| 114 | 111 |
| 115 PopupViewCommon view_common_; | 112 PopupViewCommon view_common_; |
| 116 | 113 |
| 117 AutofillPopupViewDelegate* delegate_; // Weak reference. | 114 AutofillPopupViewDelegate* delegate_; // Weak reference. |
| 118 | 115 |
| 119 DISALLOW_COPY_AND_ASSIGN(AutofillPopupLayoutModel); | 116 DISALLOW_COPY_AND_ASSIGN(AutofillPopupLayoutModel); |
| 120 }; | 117 }; |
| 121 | 118 |
| 122 } // namespace autofill | 119 } // namespace autofill |
| 123 | 120 |
| 124 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_LAYOUT_MODEL_H_ | 121 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_LAYOUT_MODEL_H_ |
| OLD | NEW |